Station inventory

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
Prophet
Militia Captain
Militia Captain
Posts: 826
Joined: Tue Nov 18, 2008 6:09 pm

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.
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!
User avatar
digdug
Fleet Admiral
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:

Code: Select all

<Items>
			<RandomItem count="20" 
					criteria=		"* +Res;"
					level=			"7"
					levelCurve=		"3"
					/>
			<RandomItem count="10" 
					criteria=		"f"
					level=			"8"
					levelCurve=		"3"
					/>
		</Items>
The items are probably placed in the station as soon as it's created into the system. Please correct me if I'm wrong.
Post Reply