Code: Select all
<SellShip criteria="s; L:1-13;" priceAdj="110"/>
============================
Is there a way to add <Trade> info to a station without overwriting the whole station code?
This is the Korolov Shipping <Trade> code
Code: Select all
<Trade currency="credit" max="100000" replenish="5000">
<Sell criteria="*NU -illegal; -notForSale; -notStandard;" priceAdj="110" noDescription="true"/>
<Refuel criteria="f +BasicFuel; L:1-5;" priceAdj="90"/>
<RepairArmor criteria="a L:1-8;" priceAdj="100"/>
<ReplaceArmor criteria="a L:1-8;" priceAdj="100"/>
<InstallDevice criteria="d L:1-6;" priceAdj="100"/>
<RemoveDevice criteria="d L:1-6;" priceAdj="100"/>
</Trade>
Code: Select all
<SellShip criteria="s L:1-13;" priceAdj="110"/>
I'm assuming, if its possible, that it would be by using XML functions, in particular XMLAppendSubElement.
Does anyone know the format to use for this? All my tries have come up as "Line 1: Mismatched quote" or "Invalid XML Element".