Jump to content

Modlet not behaving as in A19


beskkov

Recommended Posts

Hi,

 

I have used a modlet called JunctionBox. 

The item show up but the offset is way off and when placed it creates a glitch in the surrounding blocks render them invisible.

 

<block name="JunctionBox">
	<property name="Class" value="ElectricWire"/>
	<property name="Material" value="Mmetal"/>
	<property name="MaxDamage" value="1000"/>
	<property name="StabilitySupport" value="true"/>
	<property name="CustomIcon" value="bridgeMetalRivetBlock"/>
	<property name="ImposterDontBlock" value="true"/>
	<property name="Collide" value="movement,melee,bullet,arrow,rocket"/>
	<property name="IsTerrainDecoration" value="true"/>
	<property name="Stacknumber" value="10"/>

	<property name="Shape" value="New"/>
	<property name="Texture" value="46"/>
	<property name="Model" value="cube"/>
	<property name="ModelOffset" value="0,0.5,0"/>
	<property name="RequiredPower" value="0"/>
	<property name="Group" value="Building"/>
	<property name="DamageReceived" value="0.5"/>
	<property name="FilterTags" value="fdecor,fother,felectrical"/>
	<property name="SortOrder1" value="70e0"/>
	
	<property class="RepairItems">
	  <property name="resourceScrapIron" value="8"/>
	</property>
	
	<drop event="Harvest" name="terrStone" count="0" tool_category="Disassemble"/>
	<drop event="Harvest" name="resourceMechanicalParts" count="1,3" tag="salvageHarvest"/>
	<drop event="Harvest" name="resourceScrapIron" count="4,8" tag="salvageHarvest"/>
	<drop event="Destroy" name="resourceScrapIron" count="4,8" prob="1"/>
	<drop event="Fall" name="scrapMetalPile" count="1" prob="0.75" stick_chance="1"/>
</block>

 

 

Does anyone have any ideas on what is wrong? 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...