Jump to content

rWoodMaster


belfegor

Recommended Posts

the norm xml is

 

<block name="rWoodMaster">

<property name="Group" value="Building"/>

<property name="DescriptionKey" value="rWoodGroupDesc"/>

<property name="Material" value="MwoodReinforced"/>

<property name="PassThroughDamage" value="true"/>

<property name="Texture" value="379"/>

<!-- <property name="ImposterExchange" value="imposterBlock" param1="119"/> -->

<property name="CreativeMode" value="None"/>

<property name="FuelValue" value="300"/>

<property class="RepairItems"> <property name="resourceWood" value="3"/> </property>

<property class="UpgradeBlock">

<property name="ToBlock" value="rWoodMetalMaster"/>

<property name="Item" value="resourceScrapIron"/>

<property name="ItemCount" value="12"/>

<property name="UpgradeHitCount" value="4"/>

</property>

<property name="CustomUpgradeSound" value="place_block_metal"/>

<drop event="Harvest" name="resourceWood" count="2" tag="allHarvest"/>

<drop event="Destroy" count="0"/>

<drop event="Fall" name="terrDestroyedWoodDebris" count="1" prob="0.75" stick_chance="1"/>

<property name="FilterTags" value="fbuilding,fwood"/>

<property name="SortOrder1" value="4040"/>

<property name="SortOrder2" value="0002"/>

</block>

 

i want less resourceScrapIron from 12 to 6

also <property name="ItemCount" value="6"/>

 

how would the set xpath order ?

Link to comment
Share on other sites

the norm xml is

 

<block name="rWoodMaster">

<property name="Group" value="Building"/>

<property name="DescriptionKey" value="rWoodGroupDesc"/>

<property name="Material" value="MwoodReinforced"/>

<property name="PassThroughDamage" value="true"/>

<property name="Texture" value="379"/>

<!-- <property name="ImposterExchange" value="imposterBlock" param1="119"/> -->

<property name="CreativeMode" value="None"/>

<property name="FuelValue" value="300"/>

<property class="RepairItems"> <property name="resourceWood" value="3"/> </property>

<property class="UpgradeBlock">

<property name="ToBlock" value="rWoodMetalMaster"/>

<property name="Item" value="resourceScrapIron"/>

<property name="ItemCount" value="12"/>

<property name="UpgradeHitCount" value="4"/>

</property>

<property name="CustomUpgradeSound" value="place_block_metal"/>

<drop event="Harvest" name="resourceWood" count="2" tag="allHarvest"/>

<drop event="Destroy" count="0"/>

<drop event="Fall" name="terrDestroyedWoodDebris" count="1" prob="0.75" stick_chance="1"/>

<property name="FilterTags" value="fbuilding,fwood"/>

<property name="SortOrder1" value="4040"/>

<property name="SortOrder2" value="0002"/>

</block>

 

i want less resourceScrapIron from 12 to 6

also <property name="ItemCount" value="6"/>

 

how would the set xpath order ?

 

<set xpath="/blocks/block[@name=rWoodMaster]/property[@name=ItemCount]/@value=">6</set>

 

Try this

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...