• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

Wooden bars for A16.4

Szynsz

Refugee
Hello,

Can anyone make for me code for wooden bars for A16.4? I don't know that code from A17 will be compatible, i think not. I will be grateful :)

 
Last edited by a moderator:
Code:
<block id="[color="#FFD700"]xxx[/color]" name="woodenBarsCentered">
<property name="CustomIcon" value="ironBars"/>
<property name="Material" value="wood_regular"/>
       <property name="MaxDamage" value="300"/>
<property name="Shape" value="New"/>
<property name="LightOpacity" value="0"/>
<property name="Model" value="iron_bars_centered"/>
<property name="Texture" value="241"/>
<property name="ImposterExclude" value="true"/>
<property name="UseGlobalUV" value="Local"/>
<property name="Place" value="TowardsPlacer"/>
<property name="Collide" value="movement,melee,rocket"/> <!-- -rocket -->
<property class="RepairItems"> <property name="wood" value="10"/> </property>
<drop event="Harvest" name="wood" count="20"/>
<drop event="Destroy" count="0"/>
<property name="Group" value="Building"/>
<property name="EconomicValue" value="10"/>
</block>
Sorry, check the correctness yourself, as well as configure desired harvest and MaxDamage.

If you need not "centered" - then replace the model string with :

<property name="Model" value="iron_bars"/>

 
Last edited by a moderator:
Back
Top