ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/utils/cfutil.in
(Generate patch)

Comparing deliantra/server/utils/cfutil.in (file contents):
Revision 1.97 by root, Wed Oct 6 01:23:11 2010 UTC vs.
Revision 1.98 by root, Wed Oct 6 01:48:15 2010 UTC

166 166
167 if ($stem =~ /^wall\/|Nimwall/) { 167 if ($stem =~ /^wall\/|Nimwall/) {
168 return $WALL_SUFFIX[hex $1] 168 return $WALL_SUFFIX[hex $1]
169 if $stem =~ /(_[0-9A-F]).x11/; 169 if $stem =~ /(_[0-9A-F]).x11/;
170 170
171 "+" 171 ""
172 172
173 } elsif ($stem =~ /^traps\//) {
174 "☠"
175
173 } elsif ($stem =~ /^monster.*\/(.)/) { 176 } elsif ($stem =~ /^armour\//) {
174 $1 177 "☗"
178
179 } elsif ($stem =~ /^weapon\//) {
180 "†"
181
182 } elsif ($stem =~ /^readable\//) {
183 "✉"
184
185 } elsif ($stem =~ /^river\//) {
186 "⌇"
175 187
176 } elsif ($stem =~ /^floor\/|^ground\/|Nimfloor/) { 188 } elsif ($stem =~ /^floor\/|^ground\/|Nimfloor/) {
177 "." 189 "."
178 190
179 } elsif ($stem =~ /^player\//) { 191 } elsif ($stem =~ /^player\//) {
180 "\@" 192 "\@"
193
194 } elsif ($stem =~ /^(?:monster|misc|class|connect|gods|indoor|inorganic|mining|music|skills).*\/(.)/) {
195 $1
181 196
182 } else { 197 } else {
183 substr $stem, 0, 1 198 substr $stem, 0, 1
184 } 199 }
185} 200}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines