Moving on from doing things with existing blocks and fixing other stuff, I'm no trying to create my own blocks. Everything went well, except for one little detail: I can't seem to damage them. I've checked other blocks but nothing looks immediately related. The objects do have proper collision boxes because they do prevent me from hitting the ground blocks. So either I missed something less obvious in the block definition (see below) or maybe something needs tagging in Unity.
A hint would be appreciated!
A hint would be appreciated!
<block name="casinoSlotMachine">
<property name="Group" value="Decor/Miscellaneous"/>
<property name="Material" value="Mmetal"/>
<property name="Shape" value="ModelEntity"/>
<property name="Model" value="#@modfolder:Resources/Casino.unity3d?SlotMachine.prefab" />
<property name="MultiBlockDim" value="2,2,2" />
<property name="CreativeMode" value="Player"/>
<property class="RepairItems"> <property name="resourceForgedIron" value="1"/> </property>
<property name="Collide" value="melee,bullet,arrow,rocket,movement"/>
<drop event="Destroy" name="resourceScrapIron" count="10,15"/>
<property name="OnlySimpleRotations" value="true"/>
<property name="FilterTags" value="fdecor,fother,ffurniture"/>
<property name="SortOrder1" value="70k0"/>
<property name="DescriptionKey" value="casinoBlockGroupDesc"/>
</block>
<property name="Group" value="Decor/Miscellaneous"/>
<property name="Material" value="Mmetal"/>
<property name="Shape" value="ModelEntity"/>
<property name="Model" value="#@modfolder:Resources/Casino.unity3d?SlotMachine.prefab" />
<property name="MultiBlockDim" value="2,2,2" />
<property name="CreativeMode" value="Player"/>
<property class="RepairItems"> <property name="resourceForgedIron" value="1"/> </property>
<property name="Collide" value="melee,bullet,arrow,rocket,movement"/>
<drop event="Destroy" name="resourceScrapIron" count="10,15"/>
<property name="OnlySimpleRotations" value="true"/>
<property name="FilterTags" value="fdecor,fother,ffurniture"/>
<property name="SortOrder1" value="70k0"/>
<property name="DescriptionKey" value="casinoBlockGroupDesc"/>
</block>