modding:xml:itemtype
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| modding:xml:itemtype [2015/08/19 14:24] – digdug | modding:xml:itemtype [2017/09/26 05:19] (current) – link nms | ||
|---|---|---|---|
| Line 112: | Line 112: | ||
| The < | The < | ||
| + | =====Fields===== | ||
| + | ====ItemStruct==== | ||
| + | ====ItemType==== | ||
| + | * averageCount | ||
| + | * category | ||
| + | * cost | ||
| + | * description | ||
| + | * deviceSlots | ||
| + | * frequency | ||
| + | * fuelCapacity | ||
| + | * imageDesc | ||
| + | * installCost | ||
| + | * level | ||
| + | * mass | ||
| + | * name | ||
| + | * reference | ||
| + | * shortName | ||
| + | * slotCategory | ||
| + | * treasureValue | ||
| + | * unknownType | ||
| + | * useKey | ||
| + | =====Properties===== | ||
| + | ====ItemStruct==== | ||
| + | * **category** | ||
| + | * **charges** | ||
| + | * **components** | ||
| + | * **damaged** Applies to devices and armor segments only. Reduces the functionality and value of the item. | ||
| + | * A damaged weapon has a 10% chance of firing normally, 60% chance of jamming, 20% chance of misfiring, and 10% chance of a damaging weapon chamber explosion. | ||
| + | * Damaged shields have a 10% chance of absorbing only 75% of damage, leaving the armor underneath to take the remaining 25%. They have a 15% chance of taking double the adjusted damage. Additionally, | ||
| + | * A damaged Armor segment has half as much hp when installed. | ||
| + | * A damaged SolarDevice is half as effective as normal. | ||
| + | * A damaged RepairerDevice does not work at all. | ||
| + | * A damaged DriveDevice has 75% as much **maxSpeed**, | ||
| + | * A damaged ReactorDevice has 80% as much **maxPower** and **efficiency** | ||
| + | * A damaged EnhancerDevice does not work at all. | ||
| + | * A damaged CyberDeckDevice does not work at all. | ||
| + | * **description** | ||
| + | * **disrupted** Applies to devices and armor segments only. Same effect as **damaged**, | ||
| + | * **incCharges** Can only be set; increments the item's charges by the set amount. | ||
| + | * **installed** Devices and armor segments only | ||
| + | * **level** | ||
| + | * **maxCharges** | ||
| + | * **maxLevel** The maximum level that this item can have | ||
| + | * **minLevel** The minimum level that this item can have | ||
| + | * **massBonusPerCharge** The mass increase (in kg) when the item gains one charge | ||
| + | * **valueBonusPerCharge** The value increase when the item gains one charge | ||
| + | * **weaponTypes** | ||
| + | ====ItemType==== | ||
| + | * category | ||
| + | * components | ||
| + | * currency | ||
| + | * description | ||
| + | * frequency | ||
| + | * level | ||
| + | * maxCharges | ||
| + | * maxLevel | ||
| + | * minLevel | ||
| + | * massBonusPerCharge | ||
| + | * valueBonusPerCharge | ||
| + | * weaponTypes | ||
| =====Events===== | =====Events===== | ||
| Line 120: | Line 180: | ||
| **gItem** is the item. | **gItem** is the item. | ||
| + | |||
| + | **aItemToReplace** is the item that will be removed. | ||
| The event may return True to indicate that installation should proceed. Alternatively, | The event may return True to indicate that installation should proceed. Alternatively, | ||
| Line 142: | Line 204: | ||
| ===< | ===< | ||
| - | See: [[modding: | + | See: [[modding: |
| - | See: [[modding: | + | See: [[modding: |
| ===< | ===< | ||
| Line 176: | Line 238: | ||
| ===< | ===< | ||
| - | See: [[..: | + | See: [[modding:xml:Armor]]. |
| ===< | ===< | ||
| Line 182: | Line 244: | ||
| ===< | ===< | ||
| - | See: [[..:Weapon devices]]. | + | See: [[modding:xml:Weapon devices]]. |
| ===< | ===< | ||
| - | See: [[..:Weapon devices]]. | + | See: [[modding:xml:Weapon devices]]. |
| + | |||
| + | ===< | ||
| + | The item was disabled. | ||
| + | |||
| + | **gSource** is the object on which the item is installed. | ||
| + | |||
| + | **gItem** is the item. | ||
| ===< | ===< | ||
| - | See: [[..:Weapon devices]]. | + | See: [[modding:xml:Weapon devices]]. |
| + | |||
| + | ===< | ||
| + | The item was enabled or installed on an object. | ||
| + | |||
| + | **gSource** is the object on which the item is installed. | ||
| + | |||
| + | **gItem** is the item. | ||
| ===< | ===< | ||
| Line 215: | Line 291: | ||
| * **aDestroyReason** this is the destruction cause. | * **aDestroyReason** this is the destruction cause. | ||
| + | |||
| + | ===< | ||
| + | An object' | ||
| + | |||
| + | **gItem** is the item that has the event. | ||
| + | |||
| + | **gSource** is the object on which the item is installed. | ||
| ===< | ===< | ||
modding/xml/itemtype.1439994254.txt.gz · Last modified: by digdug
