When is the inventory for a station created?
What I'm trying:
Using the tinker.xml as a guide create more 'recipes'. I would like the player to be able to influence the tinker with an 'upgrade' feature and use an alternate <CustomWork> table depending on the level of the upgraded tinker.
Another use, to create a factory using a similar principle where the player donates ore/resources and gets commodities. In this case the items would be placed in the station 'warehouse' and the player would loot/jettison inventory between their cargo hold and the factory.
Station inventory
Coming soon: The Syrtian War adventure mod!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
- digdug
- Fleet Admiral
- Posts: 2620
- Joined: Mon Oct 29, 2007 9:23 pm
- Location: Decoding hieroglyphics on Tan-Ru-Dorem
Items in a station are randomly created using the <Items> tag like this:
The items are probably placed in the station as soon as it's created into the system. Please correct me if I'm wrong.
Code: Select all
<Items>
<RandomItem count="20"
criteria= "* +Res;"
level= "7"
levelCurve= "3"
/>
<RandomItem count="10"
criteria= "f"
level= "8"
levelCurve= "3"
/>
</Items>