User Tools

Site Tools


modding:xml:itemtype

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
modding:xml:itemtype [2017/02/11 02:25] 0xabcdefmodding:xml:itemtype [2017/09/26 05:19] (current) – link nms
Line 180: 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, it can return a text string, to indicate that installation has failed. The string is the text to display to the player explaining the reason for the failure. The event may return True to indicate that installation should proceed. Alternatively, it can return a text string, to indicate that installation has failed. The string is the text to display to the player explaining the reason for the failure.
Line 202: Line 204:
  
 ===<GetMaxHP>=== ===<GetMaxHP>===
-See: [[modding:xml:Armor_items]]. +See: [[modding:xml:Armor]]. 
-See: [[modding:xml:Shields_devices]].+See: [[modding:xml:Shield_devices]].
  
 ===<GetName>=== ===<GetName>===
Line 236: Line 238:
  
 ===<OnArmorDamage>=== ===<OnArmorDamage>===
-See: [[..:Armor items]].+See: [[modding:xml:Armor]].
  
 ===<OnDamageArmor>=== ===<OnDamageArmor>===
Line 242: Line 244:
  
 ===<OnDamageOverlay>=== ===<OnDamageOverlay>===
-See: [[..:Weapon devices]].+See: [[modding:xml:Weapon devices]].
  
 ===<OnDamageShields>=== ===<OnDamageShields>===
-See: [[..:Weapon devices]].+See: [[modding:xml:Weapon devices]]
 + 
 +===<OnDisable>=== 
 +The item was disabled. 
 + 
 +**gSource** is the object on which the item is installed. 
 + 
 +**gItem** is the item.
  
 ===<OnFireWeapon>=== ===<OnFireWeapon>===
-See: [[..:Weapon devices]].+See: [[modding:xml:Weapon devices]]
 + 
 +===<OnEnable>=== 
 +The item was enabled or installed on an object. 
 + 
 +**gSource** is the object on which the item is installed. 
 + 
 +**gItem** is the item.
  
 ===<OnInstall>=== ===<OnInstall>===
Line 275: Line 291:
  
   * **aDestroyReason** this is the destruction cause.   * **aDestroyReason** this is the destruction cause.
 +
 +===<OnReactorOverload>===
 +An object's reactor overloaded.
 +
 +**gItem** is the item that has the event.
 +
 +**gSource** is the object on which the item is installed.
  
 ===<OnRefuel>=== ===<OnRefuel>===
modding/xml/itemtype.1486779947.txt.gz · Last modified: 2017/02/11 02:25 by 0xabcdef