… | |
… | |
158 | print "maps installed successfully.\n"; |
158 | print "maps installed successfully.\n"; |
159 | } |
159 | } |
160 | |
160 | |
161 | our @WALL_SUFFIX = qw(⬤ ╹ ╺ ┗ ╻ ┃ ┏ ┣ ╸ ┛ ━ ┻ ┓ ┫ ┳ ╋); |
161 | our @WALL_SUFFIX = qw(⬤ ╹ ╺ ┗ ╻ ┃ ┏ ┣ ╸ ┛ ━ ┻ ┓ ┫ ┳ ╋); |
162 | |
162 | |
|
|
163 | # used to create crude text glyphs for text-based clients |
163 | sub autoglyph { |
164 | sub autoglyph { |
164 | my ($stem, $face) = @_; |
165 | my ($stem, $face) = @_; |
165 | |
166 | |
166 | if ($stem =~ /^wall\/|Nimwall/) { |
167 | if ($stem =~ /^wall\/|Nimwall/) { |
167 | return $WALL_SUFFIX[hex $1] |
168 | return $WALL_SUFFIX[hex $1] |