Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
items.xml [2015/04/07 17:24]
admin [Game items]
items.xml [2015/04/07 17:32]
admin [Game items]
Line 200: Line 200:
 | |range 1 >= ID| | |range 1 >= ID|
 |attack-action|Part of attack action for weapons. \\ If //was attack-action="​bow"//,​ will be used **attack_bow** action for attack with this item| |attack-action|Part of attack action for weapons. \\ If //was attack-action="​bow"//,​ will be used **attack_bow** action for attack with this item|
 +|skyattack-action|Part of attack action for weapons in player located on sky tile.|
 +|waterattack-action|Part of attack action for weapons in player located on water tile.|
 +|rideattack-action|Part of attack action for weapons in player riding.|
 |attack-range|Set item attack range for item. By default 0| |attack-range|Set item attack range for item. By default 0|
 |drawBefore|Will draw this equipped item before parameter value sprite. (before torso in example for item 1234).| |drawBefore|Will draw this equipped item before parameter value sprite. (before torso in example for item 1234).|
Line 208: Line 211:
 |useButton|Show this text for use button or in context menu. Main action like equip, use| |useButton|Show this text for use button or in context menu. Main action like equip, use|
 |useButton2|Show this text for use button or in context menu. Second action like unequip| |useButton2|Show this text for use button or in context menu. Second action like unequip|
-|pet|add pet to item from [[pets.xml]]|+|pet|add pet to item from [[pets.xml]]. For legacy servers only.|
 |image|item icon image for inventory and fallback for floor items| |image|item icon image for inventory and fallback for floor items|
 +|colors|colors palette name for dye item. For hair default palette is "​hair"​|
 |maxFloorOffset|Set max floor item offset in pixels from default position. Default value 32| |maxFloorOffset|Set max floor item offset in pixels from default position. Default value 32|
 |missile-particle|Set particle effect for missile/​arrow| |missile-particle|Set particle effect for missile/​arrow|
Line 216: Line 220:
 |critical-hit-effect-id|Critical effect id. Default value from file [[paths.xml]] parameter criticalHitEffectId| |critical-hit-effect-id|Critical effect id. Default value from file [[paths.xml]] parameter criticalHitEffectId|
 |name|item name| |name|item name|
 +|description|item description|
 |tag, tagX|Put item in inventory group| |tag, tagX|Put item in inventory group|
 |view|use animation sprite from other item with given id| |view|use animation sprite from other item with given id|
Line 232: Line 237:
 |flee|flee text| |flee|flee text|
 |sellProtected|ask player before selling item to npc shop| |sellProtected|ask player before selling item to npc shop|
 +|pickupCursor|pickup cursor type. Default is "​pickup"​|
  
 Also in each item can be different nodes like <​sprite>​ in example above. Also in each item can be different nodes like <​sprite>​ in example above.
Navigation
Print/export
Languages