Mark melee weapons as non-smeltable

Insert <smeltable>false</smeltable> into multiple ThingDef entries in 1.6/Defs/Melee_Weapon_Defs.xml so melee weapons cannot be smelted. The edits appear in each weapon block alongside the existing uiIconScale setting; note the uiIconScale line was duplicated at each insertion and a final trailing newline was added.
This commit is contained in:
RickGrymes
2026-05-17 12:42:39 -05:00
parent e366877b0e
commit 0efb7826a7
+19
View File
@@ -16,6 +16,7 @@
<graphicClass>Graphic_Single</graphicClass> <graphicClass>Graphic_Single</graphicClass>
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<costList> <costList>
<WoodLog>30</WoodLog> <WoodLog>30</WoodLog>
</costList> </costList>
@@ -74,6 +75,7 @@
<graphicClass>Graphic_Single</graphicClass> <graphicClass>Graphic_Single</graphicClass>
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<costList> <costList>
<Steel>25</Steel> <Steel>25</Steel>
</costList> </costList>
@@ -132,6 +134,7 @@
<graphicClass>Graphic_Single</graphicClass> <graphicClass>Graphic_Single</graphicClass>
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<costList> <costList>
<FCP_Melee_Bat>1</FCP_Melee_Bat> <FCP_Melee_Bat>1</FCP_Melee_Bat>
<Steel>5</Steel> <Steel>5</Steel>
@@ -192,6 +195,7 @@
<graphicClass>Graphic_Single</graphicClass> <graphicClass>Graphic_Single</graphicClass>
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<costList> <costList>
<FCP_Melee_Bat>1</FCP_Melee_Bat> <FCP_Melee_Bat>1</FCP_Melee_Bat>
<Steel>15</Steel> <Steel>15</Steel>
@@ -251,6 +255,7 @@
<graphicClass>Graphic_Single</graphicClass> <graphicClass>Graphic_Single</graphicClass>
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<costList> <costList>
<WoodLog>15</WoodLog> <WoodLog>15</WoodLog>
<Steel>3</Steel> <Steel>3</Steel>
@@ -310,6 +315,7 @@
<graphicClass>Graphic_Single</graphicClass> <graphicClass>Graphic_Single</graphicClass>
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<costList> <costList>
<WoodLog>20</WoodLog> <WoodLog>20</WoodLog>
</costList> </costList>
@@ -368,6 +374,7 @@
<graphicClass>Graphic_Single</graphicClass> <graphicClass>Graphic_Single</graphicClass>
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<costList> <costList>
<Steel>20</Steel> <Steel>20</Steel>
</costList> </costList>
@@ -426,6 +433,7 @@
<graphicClass>Graphic_Single</graphicClass> <graphicClass>Graphic_Single</graphicClass>
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<costList> <costList>
<WoodLog>10</WoodLog> <WoodLog>10</WoodLog>
</costList> </costList>
@@ -484,6 +492,7 @@
<graphicClass>Graphic_Single</graphicClass> <graphicClass>Graphic_Single</graphicClass>
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<costList> <costList>
<Steel>15</Steel> <Steel>15</Steel>
</costList> </costList>
@@ -542,6 +551,7 @@
<graphicClass>Graphic_Single</graphicClass> <graphicClass>Graphic_Single</graphicClass>
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<costList> <costList>
<Steel>20</Steel> <Steel>20</Steel>
</costList> </costList>
@@ -600,6 +610,7 @@
<graphicClass>Graphic_Single</graphicClass> <graphicClass>Graphic_Single</graphicClass>
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<costList> <costList>
<Steel>40</Steel> <Steel>40</Steel>
<WoodLog>10</WoodLog> <WoodLog>10</WoodLog>
@@ -726,6 +737,7 @@
<graphicClass>Graphic_Single</graphicClass> <graphicClass>Graphic_Single</graphicClass>
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<costList> <costList>
<Steel>25</Steel> <Steel>25</Steel>
</costList> </costList>
@@ -784,6 +796,7 @@
<graphicClass>Graphic_Single</graphicClass> <graphicClass>Graphic_Single</graphicClass>
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<costList> <costList>
<Steel>20</Steel> <Steel>20</Steel>
<WoodLog>10</WoodLog> <WoodLog>10</WoodLog>
@@ -843,6 +856,7 @@
<graphicClass>Graphic_Single</graphicClass> <graphicClass>Graphic_Single</graphicClass>
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<costList> <costList>
<Steel>20</Steel> <Steel>20</Steel>
</costList> </costList>
@@ -901,6 +915,7 @@
<graphicClass>Graphic_Single</graphicClass> <graphicClass>Graphic_Single</graphicClass>
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<costList> <costList>
<Steel>60</Steel> <Steel>60</Steel>
</costList> </costList>
@@ -959,6 +974,7 @@
<graphicClass>Graphic_Single</graphicClass> <graphicClass>Graphic_Single</graphicClass>
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<costList> <costList>
<Steel>40</Steel> <Steel>40</Steel>
<ComponentIndustrial>2</ComponentIndustrial> <ComponentIndustrial>2</ComponentIndustrial>
@@ -1022,6 +1038,7 @@
<graphicClass>Graphic_Single</graphicClass> <graphicClass>Graphic_Single</graphicClass>
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<costList> <costList>
<Steel>30</Steel> <Steel>30</Steel>
<ComponentIndustrial>2</ComponentIndustrial> <ComponentIndustrial>2</ComponentIndustrial>
@@ -1148,6 +1165,7 @@
<graphicClass>Graphic_Single</graphicClass> <graphicClass>Graphic_Single</graphicClass>
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<costList> <costList>
<Steel>30</Steel> <Steel>30</Steel>
<ComponentIndustrial>2</ComponentIndustrial> <ComponentIndustrial>2</ComponentIndustrial>
@@ -1207,3 +1225,4 @@
</ThingDef> </ThingDef>
</Defs> </Defs>