Data Format
<spob>: Category which encapsulates all tag data relating to the spob.<lua>: Runs a Lua script in relation to this spob.<pos>: Position of the spob within its parent system, defined byxandycoordinates relative to the system center.<GFX>: Category relating to graphics.<space>: Defines the image, in .WEBP format, which represents the spob when travelling through the parent system. The dimensions of the graphic can also influence the area at which a ship can begin its landing sequence.<exterior>: Defines the image, in .WEBP format, displayed on the spob’s “Landing Main” tab.<presence>: Category relating to faction presence, used to generate patrol lanes within the parent system.<faction>: Defines the spob’s owning or dominant faction.<base>: Defines the base presence of the spob. The maximum base presence of all spobs of the same faction is used as the base presence of the faction in the system. For example, if there are two spobs with base 50 and 100 for a faction in a system, the system’s base presence for the faction is 100 and the 50 value is ignored.<bonus>: Defines the bonus presence of the spob. The bonus presence of all the spobs of the same faction in a system are added together and added to the presence of the system. For example, for a system with a base presence of 100, if there are two spobs with a bonus of 50 each, the total presence becomes $100+50+50=200$.<range>: The range at which the presence of the spob extends. A value of 0 indicates that the presence range only extends to the current system, while a presence of 2 would indicate that it extends to up to 2 systems away. The presence falloff is defined as $1-\frac{dist}{range+1}$, and is multiplied to both base presence and bonus presence. For example, a spob with 100 presence and a range of 3 would give 75 presesnce to 1 system away, 50 presence to 2 systems away, and 25 presence to 3 systems away.<general>: Category relating to many functions of the spob including world statistics, available services, etc.<class>: Defines the spob’s planetary or station class as listed above in the Station Classes and Planetary Classes categories above. This may be referenced by missions or scripts.<population>: Defines the spob’s habitating population.<hide>: Modifies the range at which your ship’s sensors can first discover the spob. A value of1is default range; values greater than 1 make it easier while values between 1 and 0 make it more difficult. A spob with ahidevalue of0will automatically reveal themselves to the player upon entering the system.<services>: Defines which services are available to the player while landed at the spob.<land>: Includes the Landing Main tab and allows the player to land on the spob. A spob without thelandtag cannot be landed on.<refuel>: Refuels the player’s ship on landing. A landable spob without this tag will not generate an Autosave (and will warn the player of this) to mitigate the chances of a “soft lock” where the player becomes trapped in a region of systems with no fuel sources and no autosaves prior to entering said region.<bar>: Includes the Bar tab, allowing the player to converse with generic or mission-relevant NPCs and view a news feed. Certain spob tags may alter the availability of NPCs and the news.<missions>: Includes the Mission Computer tab, where the player can accept generic missions.<commodity>: Includes the Commodities Exchange tab, where the player can buy and sell trade goods.<outfits>: Includes the Outfitter tab, allowing the player to buy and sell ship outfits. Also grants access to the Equipment tab where the player can swap outfits to and from their active ship.<shipyard>: Includes the Shipyard tab, allowing the player to purchase new ships. Grants access to the Equipment tab as above; also allows the player to swap their active and fleet ships and change the oufits on all player-owned ships.<commodities>: Declares the spob as having ready access to commodities, independent of the Commodities Exchange service.<description>: Text string presented to the player on the Landing Main tab. This text body is perhaps the primary method of presenting the spob’s lore to the player.<bar>: Text string presented to the player on the Bar tab. Compared to thedescriptiontag’s lore regarding the spob as a whole, this text describes only the Spaceport Bar and its surroundings.<tech>: Category which includes Tech Lists, used to define the items in stock at the Outfitter and Shipyard.<item>: Includes one Tech List.<tags>: Category which includes tags that describe the spob. These tags can be referenced in missions and scripts; see the Spob Tags section below for more information.
Spob Tags $\naev$
Tags are a versatile way to define the main facets of interest about a spob with respect to its faction, i.e. what differentiates it from the other spobs the player will (try and) visit.
Tags consist of binary labels which are accessible through the Lua API with spob.tags(). They are meant to give indication of the type of spob, and are meant to be used by missions and scripts to, for example, get specific spobs such as Dvaered mining worlds to send the player to get mining equipment or the likes.
Tags can be defined by the following part of XML code:
<tags>
<tag>research</tag>
</tags>
where the above example would signify the spob is focused on research.