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 [2017/02/02 02:57] – Properties 0xabcdef | modding:xml:itemtype [2017/09/26 05:19] (current) – link nms | ||
---|---|---|---|
Line 113: | Line 113: | ||
=====Fields===== | =====Fields===== | ||
+ | ====ItemStruct==== | ||
+ | ====ItemType==== | ||
+ | * averageCount | ||
+ | * category | ||
+ | * cost | ||
+ | * description | ||
+ | * deviceSlots | ||
+ | * frequency | ||
+ | * fuelCapacity | ||
+ | * imageDesc | ||
+ | * installCost | ||
+ | * level | ||
+ | * mass | ||
+ | * name | ||
+ | * reference | ||
+ | * shortName | ||
+ | * slotCategory | ||
+ | * treasureValue | ||
+ | * unknownType | ||
+ | * useKey | ||
=====Properties===== | =====Properties===== | ||
+ | ====ItemStruct==== | ||
* **category** | * **category** | ||
* **charges** | * **charges** | ||
Line 139: | Line 159: | ||
* **valueBonusPerCharge** The value increase when the item gains one charge | * **valueBonusPerCharge** The value increase when the item gains one charge | ||
* **weaponTypes** | * **weaponTypes** | ||
+ | ====ItemType==== | ||
+ | * category | ||
+ | * components | ||
+ | * currency | ||
+ | * description | ||
+ | * frequency | ||
+ | * level | ||
+ | * maxCharges | ||
+ | * maxLevel | ||
+ | * minLevel | ||
+ | * massBonusPerCharge | ||
+ | * valueBonusPerCharge | ||
+ | * weaponTypes | ||
=====Events===== | =====Events===== | ||
Line 148: | 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 170: | Line 204: | ||
===< | ===< | ||
- | See: [[modding: | + | See: [[modding: |
- | See: [[modding: | + | See: [[modding: |
===< | ===< | ||
Line 204: | Line 238: | ||
===< | ===< | ||
- | See: [[..: | + | See: [[modding:xml:Armor]]. |
===< | ===< | ||
Line 210: | 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 243: | 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.1486004264.txt.gz · Last modified: 2017/02/02 02:57 by 0xabcdef