PC Why does iron have more hp than steel?

cammel

New member
According to materials.xml iron is stronger.

Code:
<material id="Miron">
	<property name="damage_category" value="metal"/>
	<property name="surface_category" value="metal"/>
	<property name="forge_category" value="iron"/>
	<property name="Hardness" type="float" value="1"/>
	<property name="stepsound" value="metal"/>
	<property name="stability_glue" value="300"/>
	<property name="Mass" type="int" value="20"/>
	<property name="explosionresistance" value="1.5"/>
	<property name="MaxDamage" value="8000"/>
	<property name="Experience" value="2"/>
</material>

<material id="Msteel">
	<property name="damage_category" value="metal"/>
	<property name="surface_category" value="metal"/>
	<property name="forge_category" value="iron"/>
	<property name="Hardness" type="float" value="1"/>
	<property name="stepsound" value="metal"/>
	<property name="stability_glue" value="300"/>
	<property name="Mass" type="int" value="20"/>
	<property name="explosionresistance" value="1.5"/>
	<property name="MaxDamage" value="7000"/>
	<property name="Experience" value="6"/>
</material>
 
from what I understand, blocks.xml will reference materials.xml

steelShapes block for example

<block name="steelShapes" shapes="All">
<property name="DescriptionKey" value="steelBlockGroupDesc"/>
<property name="DisplayType" value="blockHardened"/>
<property name="Material" value="Msteel_shapes"/>
<property name="Shape" value="New"/>
<property name="Texture" value="356"/>
<property name="UiBackgroundTexture" value="356"/>
<property name="EconomicValue" value="160"/>
<property class="RepairItems">
<property name="resourceForgedSteel" value="8"/>
</property>
<drop event="Harvest" name="resourceScrapIron" count="15" tag="allHarvest"/>
<drop event="Destroy" count="0"/>
<drop event="Fall" name="scrapMetalPile" count="1" prob="0.75" stick_chance="1"/>
<property name="UpgradeSound" value="place_block_metal"/>
<property name="SortOrder1" value="S040"/>
<!-- SortOrder2 is assigned in code to keep all of the shapes in the same order for each material -->
<property name="Group" value="Building,advBuilding"/>
<property name="FilterTags" value="MC_Shapes"/>
</block>


which references material Msteel_shapes

so we go to materials.xml and look that up

<material id="Msteel_shapes">
<property name="damage_category" value="metal"/>
<property name="surface_category" value="metal"/>
<property name="forge_category" value="iron"/>
<property name="Hardness" type="float" value="1"/>
<property name="stepsound" value="metal"/>
<property name="stability_glue" value="300"/>
<property name="Mass" type="int" value="20"/>
<property name="explosionresistance" value="1.75"/>
<property name="MaxDamage" value="10000"/>
<property name="Experience" value="6"/>
</material>


which tells us block hp is 10000

Miron isn't actually used anywhere in blocks.xml

and looking at Msteel, that is actually used for other things like power switches, metal keyracks, pipe valve switches, etc.

It's quite possible that some data you see in the xmls are deprecated and no longer used, as the game keeps changing from alpha to alpha.

 
Last edited by a moderator:
Stainless steel is still listed in the current materials.xml


Not craftable or obtainable in any way without mods though. The behemoth zombie is also in the xml and that was never in any public release. Also normal steel blocks are 10k now.

 
Back
Top