Jump to content


Guest Nyteshade12134

Recommended Posts

Guest Nyteshade12134

How do you make an item/block disassemble-able?



I'm trying to make mines "defusable" by disassembling with a wrench.



<block id="431" name="mineCandyTin">

<property name="Class" value="Mine"/> <!-- a mine destroyed by an *explosion* only has a 33% chance to detonate -->

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

<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="IsTerrainDecoration" value="true"/>

<property name="Stacknumber" value="40"/> <!-- STK explosives -->

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

<property name="Explosion.ParticleIndex" value="1"/>

<property name="Explosion.RadiusBlocks" value="2"/>

<property name="Explosion.RadiusEntities" value="4"/>

<property name="Explosion.BlockDamage" value="10"/>

<property name="Explosion.EntityDamage" value="45"/> <!-- damage for entities in the center of the explosion. Zombies take 2x this damage. -->

<property name="Explosion.DamageBonus.stone" value="0.1"/>

<property name="Explosion.DamageBonus.metal" value="0.1"/>

<property name="Explosion.DamageBonus.earth" value="0"/>

<property name="Explosion.DamageBonus.wood" value="0"/>

<property name="Explosion.DamageBonus.water" value="0"/>

<drop event="Harvest" name="mineCandyTin" count="1" tool_category="Disassemble"/>

<property name="CanPickup" value="false"/>

<property name="DropScale" value="3"/>

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

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

<property name="EconomicValue" value="97"/>



I added:


<drop event="Harvest" name="mineCandyTin" count="1" tool_category="Disassemble"/>


but it is not working for me. Anyone know how to make it work?


I can make it "drop" but it ALSO explodes.

Link to comment
Share on other sites


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

  • Create New...