So at first I tried to add modification materials to the stores with a stock.xml and it works, however they all have a price of 1 Cr so I created a wares.xml in libraries, and add following:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<diff>
<replace sel="/wares/ware[@id='modpart_weaponchamber_t1']/price">
<price min="100000" average="200000" max="300000" />
</replace>
<replace sel="/wares/ware[@id='modpart_weaponchamber_t2']/price">
<price min="300000" average="400000" max="500000" />
</replace>
<replace sel="/wares/ware[@id='modpart_weaponchamber_t3']/price">
<price min="2000000" average="2500000" max="3000000" />
</replace>
</diff>
Also I wanted to change the building time of ToA station modules to 1/2, so I created a wares.xml in Mymod\extensions\ego_dlc_pirate\libraries
and wrote:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<diff>
<replace sel="/wares/ware[@id='module_conn_lndm_piratestation_01_core_01']/production[@method='default']/@time">105</replace>
<replace sel="/wares/ware[@id='module_conn_lndm_piratestation_01_exit_01']/production[@method='default']/@time">105</replace>
<replace sel="/wares/ware[@id='module_def_lndm_piratestation_02_ring_01']/production[@method='default']/@time">1155</replace>
<replace sel="/wares/ware[@id='module_gen_welfare_casino_01']/production[@method='default']/@time">578</replace>
<replace sel="/wares/ware[@id='module_hab_lndm_piratestation_01_port_01']/production[@method='default']/@time">817</replace>
<replace sel="/wares/ware[@id='module_hab_lndm_piratestation_02_port_01']/production[@method='default']/@time">817</replace>
<replace sel="/wares/ware[@id='module_hab_lndm_piratestation_02_ring_02']/production[@method='default']/@time">817</replace>
<replace sel="/wares/ware[@id='module_pir_hab_l_01']/production[@method='default']/@time">578</replace>
<replace sel="/wares/ware[@id='module_pir_hab_m_01']/production[@method='default']/@time">408</replace>
<replace sel="/wares/ware[@id='module_pir_hab_s_01']/production[@method='default']/@time">283</replace>
<replace sel="/wares/ware[@id='module_pir_stor_condensate_l_01']/production[@method='default']/@time">517</replace>
<replace sel="/wares/ware[@id='module_pir_stor_condensate_s_01']/production[@method='default']/@time">164</replace>
<replace sel="/wares/ware[@id='module_stor_lndm_piratestation_01_ring_01']/production[@method='default']/@time">517</replace>
<replace sel="/wares/ware[@id='module_stor_lndm_piratestation_02_storage_01']/production[@method='default']/@time">517</replace>
<replace sel="/wares/ware[@id='module_stor_lndm_piratestation_02_storage_02']/production[@method='default']/@time">517</replace>
</diff>
I juar cannot figure out why they didn't work....