User Tools

Site Tools


modding:xml:spaceobject

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
modding:xml:spaceobject [2017/02/20 02:54] – [Properties] 0xabcdefmodding:xml:spaceobject [2017/03/08 04:10] (current) – DockingPorts and Trade. Someone finish this please 0xabcdef
Line 1: Line 1:
 =====Summary===== =====Summary=====
   * <StationType> or <ShipClass>   * <StationType> or <ShipClass>
 +    * Zero or one <DockingPorts>. Can use either **maxDist** + **portAngle** + **portCount** + **portRadius** or **x** + **y**
 +      * **bringToFront=**
 +        * "true"
 +      * **sendToBack=**
 +        * "true"
 +      * **maxDist=**
 +      * **portAngle=**
 +      * **portCount=** Number of ports
 +      * **portRadius=** Distance (in pixels) from the center of the object's image
 +      * **rotation=**
 +      * **x=** Horizontal offset (in pixels) from the center of the object's image. Positive values move the port right.
 +      * **y=** Vertical offset (in pixels) from the center of the object's image. Positive values move the port down.
 +    * Zero or one <Trade>
 +      * currency=
 +        * "credit"
 +      * creditConversion= Percentage
 +      * max=
 +      * replenish=
 +      * <AcceptDonation>
 +        * criteria=
 +        * priceAdj= Percentage adjustment
 +        * actualPrice=
 +          * "true"
 +      * Zero or more <Buy>. Station buys items
 +        * criteria=
 +        * priceAdj=
 +          * "variable"
 +          * "constant:{price}"
 +          * "unavailable"
 +      * Zero or more <Sell>. Station sells items
 +        * criteria=
 +        * inventoryAdj=
 +        * levelFrequency=
 +        * priceAdj=
 +        * noDescription=
 +      * <Refuel>
 +        * criteria=
 +        * priceAdj=
 +      * <RepairArmor>
 +        * criteria=
 +        * priceAdj=
 +      * <ReplaceArmor>
 +        * criteria=
 +        * priceAdj=
 +        * messageID=
 +      * <InstallDevice>
 +        * upgradeInstallOnly
 +        * messageID=
 +      * <UpgradeDevice>
 +      * <RemoveDevice>
 +        * upgradeInstallOnly
 +      * <EnhanceItem>
 +      * <RepairItem>
 +      * <BuyShip>
 +      * <SellShip>
 +      * <Custom>
     * <Events>     * <Events>
       * <CanDockAsPlayer>       * <CanDockAsPlayer>
modding/xml/spaceobject.txt · Last modified: 2017/03/08 04:10 by 0xabcdef