Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
That said, I could maybe make a setting for tweaking the modifier - at least for legendary items. But I'm in the middle of a lot of other stuff, so it might not happen right away!
The best way might be to look at another mod you know does the same thing? That's often a good way of progressing within the modding realm.
Mod I'm trying to alter: https://steamcommunity.com/sharedfiles/filedetails/?id=3529058623
code:
<Patch>
<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="RubblePile"]</xpath>
<value>
<costList>
<Steel>1000</Steel>
<WoodLog>30</WoodLog>
<ComponentIndustrial>10</ComponentIndustrial>
<Gold>2</Gold>
<Plasteel>1</Plasteel>
</costList>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="RubblePile"]</xpath>
<value>
<resourcesFractionWhenDeconstructed>0.00025</resourcesFractionWhenDeconstructed>
</value>
</Operation>
</Patch>