Exxodous
Active member
I tried writing a small modlet to set some numbers on dusters. I wanted to set the hypo and hyper thermal resist to 65
I tried to copy the format from others you guys have written but when I load the game it does not change the values in the items block. I have other mods in my mod folder that are working fine (not written by me). I'm sure I have something wrong but just cant see it.
<config>
<set xpath="/items/item[@name=leatherDuster]/passive_effect[@name=HypothermalResist]/@value">65</set>
<set xpath="/items/item[@name=leatherDuster]/passive_effect[@name=HyperthermalResist]/@value">65</set>
<set xpath="/items/item[@name=leatherDusterBlack]/passive_effect[@name=HypothermalResist]/@value">65</set>
<set xpath="/items/item[@name=leatherDusterBlack]/passive_effect[@name=HyperthermalResist]/@value">65</set>
</config>
<?xml version="1.0" encoding="UTF-8" ?>
<xml>
<ModInfo>
<Name value="Exxodous_Duster" />
<Description value="Wear A Duster for Weather Survival" />
<Author value="Exxodous" />
<Version value="1.0.0" />
</ModInfo>
</xml>
I tried to copy the format from others you guys have written but when I load the game it does not change the values in the items block. I have other mods in my mod folder that are working fine (not written by me). I'm sure I have something wrong but just cant see it.
<config>
<set xpath="/items/item[@name=leatherDuster]/passive_effect[@name=HypothermalResist]/@value">65</set>
<set xpath="/items/item[@name=leatherDuster]/passive_effect[@name=HyperthermalResist]/@value">65</set>
<set xpath="/items/item[@name=leatherDusterBlack]/passive_effect[@name=HypothermalResist]/@value">65</set>
<set xpath="/items/item[@name=leatherDusterBlack]/passive_effect[@name=HyperthermalResist]/@value">65</set>
</config>
<?xml version="1.0" encoding="UTF-8" ?>
<xml>
<ModInfo>
<Name value="Exxodous_Duster" />
<Description value="Wear A Duster for Weather Survival" />
<Author value="Exxodous" />
<Version value="1.0.0" />
</ModInfo>
</xml>
Last edited by a moderator: