mirror of
https://github.com/OMGeeky/andors-trail.git
synced 2026-01-24 04:16:01 +01:00
add dual wield definition to docs
This commit is contained in:
@@ -1277,7 +1277,7 @@ Item categories, like all JSON-based content, is best created and edited using A
|
||||
|
||||
- An **item category** ***can*** have the following fields defined:
|
||||
- "**actionType**" with one of the following values: "**none**", "**use**", or "**equip**". When the value is "**none**", the player can neither use nor equip items belonging to this category. This is the default value, and this field can be omitted entirely when this is the case. When the value is "**use**", the player can *consume* items belonging to this category. When the value is "**equip**", the player can equip the items belonging to this category in the equipment slot defined using the "**inventorySlot**" field for this item category. The "**inventorySlot**" field is mandatory when the value "**equip**" is used.
|
||||
- "**size**" with one of the following values: "**none**", "**light**", "**std**", or "**large**". This indicate the size of the items belonging to this category, and is used by the skill system to provide benefits to using one size of equipment or another. "**none**" is the default value, and this field can be omitted entirely when this is the case.
|
||||
- "**size**" with one of the following values: "**none**", "**light**", "**std**", or "**large**". This indicate the size of the items belonging to this category, and is used by the skill system to provide benefits to using one size of equipment or another. It is also used to specify if a weapon is dual-wield or not. "**none**" is the default value, and this field can be omitted entirely when this is the case.
|
||||
- "**inventorySlot**" with one of the following values: "**weapon**", "**shield**", "**head**", "**body**", "**hand**", "**feet**", "**neck**", "**leftring**", or "**rightring**". This field is unused when "**actionType**" is not set to "**equip**", but is mandatory when it is. The values should be pretty self-explanatory, and define what slot of the player's equipment can be used by items belonging to this category. "**leftring**" and "**rightring**" are completely equivalent to each other in an item category definition. They are both present because the same *Enum* as the one defining equipment slots is used.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user