Jump to content

Need help with electric wire trap mod


Recommended Posts


I want make new trap like electric fence, but my posts (tin can mine model) can't be connected to each other. This is my code:


<block id="2042" name="electricTrap">
<property name="CustomIcon" value="mineCandyTin"/>
<property name="Class" value="ElectricWire"/>
<property name="Material" value="Mmetal_weak"/>
<property name="StabilitySupport" value="false"/>
<property name="Shape" value="Ext3dModel"/>	<property name="Texture" value="293"/>
<property name="Mesh" value="models"/>
<property name="Model" value="Traps/trap_mine_tin" param1="main_mesh"/>
<property name="MaxDamage" value="200"/>
<property name="DamageReceived" value="0.5"/>
<property name="ImposterDontBlock" value="true"/>
<property name="RequiredPower" value="5"/>
<property name="Buff" value="shockedBuff"/>
<property name="BuffChance" value="1"/>
<property name="Group" value="Tools/Traps,Science"/>
<property class="RepairItems">
	<property name="forgedIron" value="4"/>
	<property name="electricParts" value="1"/>
<drop event="Harvest" name="electricParts" count="0,1" tool_category="Disassemble"/>
<drop event="Harvest" name="scrapIron" count="5,40"/>
<drop event="Destroy" count="0"/>
<drop event="Fall" name="scrapMetalPile" count="1" prob="0.75" stick_chance="1"/>
<property name="EconomicValue" value="62"/>
<property name="CraftingSkillGroup" value="Traps"/>


Please help



EDIT: Ok i find solution :)

Link to comment
Share on other sites


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

  • Create New...