Found this in the blueprint :
Code: Select all
<systemBlueprint name="oxygen">
<type>oxygen</type>
<title>Oxygen</title>
<desc>Refills the oxygen in the ship. Upgrading increases the rate of refill.</desc>
<startPower>1</startPower>
<maxPower>3</maxPower>
<rarity>1</rarity>
<upgradeCost>
<level>25</level>
<!-- level 2 -->
<level>50</level>
<!-- level 3 -->
<level>75</level>
<!-- imaginary level 4 -->
</upgradeCost>
<cost>0</cost>
I suppose changing <cost>0</cost> to <cost>30</cost> will set it to be purchasable for 30 scrap.
So I'll have to make an xml.append file for that and add it to the mod.
Probably also add in the same thing for those with CE as it changes the name from oxygen to life support.
But again, not a clue on how to actually make that work.
The one for the slug gel needed multiple append files of this kind :
Code: Select all
<mod:findLike type="eventList">
<mod:findLike type="event">
<mod:findLike type="choice">
<mod:selector req="SLUG_GEL" />
<mod:removeTag />
</mod:findLike>
</mod:findLike>
</mod:findLike>
<mod:findLike type="event">
<mod:findLike type="choice">
<mod:findLike type="event">
<mod:findLike type="choice">
<mod:selector req="SLUG_GEL" />
<mod:removeTag />
</mod:findLike>
</mod:findLike>
</mod:findLike>
</mod:findLike>
<mod:findLike type="event">
<mod:findLike type="choice">
<mod:findLike type="event">
<mod:findLike type="choice">
<mod:findLike type="event">
<mod:findLike type="choice">
<mod:selector req="SLUG_GEL" />
<mod:removeTag />
</mod:findLike>
</mod:findLike>
</mod:findLike>
</mod:findLike>
</mod:findLike>
</mod:findLike>
<mod:findLike type="eventList">
<mod:findLike type="event">
<mod:findLike type="choice">
<mod:findLike type="event">
<mod:findLike type="choice">
<mod:selector req="SLUG_GEL" />
<mod:removeTag />
</mod:findLike>
</mod:findLike>
</mod:findLike>
</mod:findLike>
</mod:findLike>
We're not talking about events here though...
I'll have a look at what code I can use for that.
You don't happen to have that append file laying around somewhere do you ?
