This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
server:compiling_the_server:config_h [2018/04/19 06:55] karl add mapsize MAP_CLIENT_X MAP_CLIENT_Y |
server:compiling_the_server:config_h [2018/04/20 11:22] (current) karl [mapsize] Add NEW_MATERIAL_CODE |
||
---|---|---|---|
Line 61: | Line 61: | ||
especially for local servers just consuming loop back (inerface lo) bandwidth. | especially for local servers just consuming loop back (inerface lo) bandwidth. | ||
+ | ===== NEW_MATERIAL_CODE == | ||
+ | When this variable is enabled, the material of an item is displayed in the user's inventory and look window: | ||
+ | <code c> | ||
+ | #define NEW_MATERIAL_CODE 1 | ||
+ | </code> | ||
+ | |||
+ | Example : | ||
+ | >- 8 eight **bronze** throwing daggers (1213621) 13.2 kg | ||
+ | >- 1 **iron** long sword of Lythander (wielded) (1469332) 14.5 kg | ||
+ | >- 4 four **oak** clubs (1213628) 39.6 kg | ||
+ | >- 2 two **copper** axes (1213626) 13.2 kg | ||
+ | >- 1 **granite** stoneaxe (1213627) 8.5 kg | ||
+ | >- 1 **pine** bow * (1469324) 12.0 kg | ||
+ | >- 1 **iron** hauberk (worn) (1469337) 50.0 kg | ||
+ | >- 1 **cotton** robe * (1469308) 10.0 kg | ||
+ | >- 1 **leather** jack boots * (worn) (1469351) 6.5 kg | ||
+ | >- 1 **leather** pair of shoes * (1469367) 2.0 kg | ||
+ | >- 1 **iron** thief's gauntlets +2 (worn) (1469350) 1.8 kg | ||
+ | >- 2 two **organic** sharp bones +2 (1469296) 2.0 kg |