modding:xml:spaceobject
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
modding:xml:spaceobject [2017/02/15 00:35] – [Properties] 0xabcdef | modding:xml:spaceobject [2017/03/08 04:10] (current) – DockingPorts and Trade. Someone finish this please 0xabcdef | ||
---|---|---|---|
Line 1: | Line 1: | ||
=====Summary===== | =====Summary===== | ||
* < | * < | ||
+ | * Zero or one < | ||
+ | * **bringToFront=** | ||
+ | * " | ||
+ | * **sendToBack=** | ||
+ | * " | ||
+ | * **maxDist=** | ||
+ | * **portAngle=** | ||
+ | * **portCount=** Number of ports | ||
+ | * **portRadius=** Distance (in pixels) from the center of the object' | ||
+ | * **rotation=** | ||
+ | * **x=** Horizontal offset (in pixels) from the center of the object' | ||
+ | * **y=** Vertical offset (in pixels) from the center of the object' | ||
+ | * Zero or one < | ||
+ | * currency= | ||
+ | * " | ||
+ | * creditConversion= Percentage | ||
+ | * max= | ||
+ | * replenish= | ||
+ | * < | ||
+ | * criteria= | ||
+ | * priceAdj= Percentage adjustment | ||
+ | * actualPrice= | ||
+ | * " | ||
+ | * Zero or more < | ||
+ | * criteria= | ||
+ | * priceAdj= | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * Zero or more < | ||
+ | * criteria= | ||
+ | * inventoryAdj= | ||
+ | * levelFrequency= | ||
+ | * priceAdj= | ||
+ | * noDescription= | ||
+ | * < | ||
+ | * criteria= | ||
+ | * priceAdj= | ||
+ | * < | ||
+ | * criteria= | ||
+ | * priceAdj= | ||
+ | * < | ||
+ | * criteria= | ||
+ | * priceAdj= | ||
+ | * messageID= | ||
+ | * < | ||
+ | * upgradeInstallOnly | ||
+ | * messageID= | ||
+ | * < | ||
+ | * < | ||
+ | * upgradeInstallOnly | ||
+ | * < | ||
+ | * < | ||
+ | * < | ||
+ | * < | ||
+ | * < | ||
* < | * < | ||
* < | * < | ||
Line 269: | Line 325: | ||
//Inherits [[DesignType]] fields// | //Inherits [[DesignType]] fields// | ||
=====Properties===== | =====Properties===== | ||
- | * ascended | + | * ascended: If true, then this object is inactive and can be descended into the current system |
* category | * category | ||
* " | * " | ||
Line 277: | Line 333: | ||
* " | * " | ||
* " | * " | ||
- | * commsKey | + | * commsKey: If this object appears in the player' |
- | * currency | + | * currency: The UNID of the < |
* cyberDefenseLevel | * cyberDefenseLevel | ||
* damaged | * damaged | ||
- | * dockingPorts | + | * dockingPorts: Returns a list of structs, each with the following fields |
+ | * objID: The ID of the object currently occupying the port, if any | ||
+ | * pos: The position vector of the docking port | ||
+ | * status: Whether the port is occupied by an object or not | ||
+ | * " | ||
+ | * " | ||
* enabled | * enabled | ||
* hasDockingPorts | * hasDockingPorts | ||
* hp | * hp | ||
- | * id | + | * id: Also returned by (objGetID object) |
* installArmorMaxLevel | * installArmorMaxLevel | ||
* installDeviceMaxLevel | * installDeviceMaxLevel | ||
Line 291: | Line 352: | ||
* installDeviceStatus | * installDeviceStatus | ||
* installItemStatus | * installItemStatus | ||
- | * known | + | * known: If this attribute is true and this object has a map label, then the object shows up in the System Map |
* level | * level | ||
* mass | * mass | ||
Line 307: | Line 368: | ||
* " | * " | ||
* " | * " | ||
- | * underAttack | + | * underAttack: True if there is at least one enemy object that with this object as its target |
//Inherits [[DesignType]] properties// | //Inherits [[DesignType]] properties// | ||
=====Overview===== | =====Overview===== |
modding/xml/spaceobject.txt · Last modified: 2017/03/08 04:10 by 0xabcdef