Ludeon Forums

RimWorld => Bugs => Topic started by: Alistaire on April 07, 2016, 08:18:14 AM

Title: [A13] Savefile cluttering <thickness>1</thickness>
Post by: Alistaire on April 07, 2016, 08:18:14 AM
<thing Class="Filth">
<def>RockRubble</def>
<id>RockRubble6583</id>
<pos>(88, 0, 1)</pos>
<thickness>1</thickness>
</thing>
<thing Class="Filth">
<def>RockRubble</def>
<id>RockRubble6585</id>
<pos>(87, 0, 0)</pos>
<thickness>1</thickness>
</thing>
<thing Class="Filth">
<def>RockRubble</def>
<id>RockRubble6586</id>
<pos>(89, 0, 1)</pos>
<thickness>1</thickness>
</thing>
<thing Class="Filth">
<def>RockRubble</def>
<id>RockRubble6587</id>
<pos>(88, 0, 0)</pos>
<thickness>1</thickness>
</thing>

etc etc etc


Since filth with a thickness of 0 are destroyed it seems counter intuitive to take 0 as the default value for the scribe, especially since a new colony on an average sized map contains 3539 instances of Filth with <thickness>1</thickness>.

Scribe_Values.LookValue<int>(ref this.thickness, "thickness", 0, false);

to

Scribe_Values.LookValue<int>(ref this.thickness, "thickness", 1, false);
Title: Re: [A13] Savefile cluttering <thickness>1</thickness>
Post by: ison on April 07, 2016, 10:38:30 AM
Wow, thanks!
Title: Re: [A13] Savefile cluttering <thickness>1</thickness>
Post by: ison on April 08, 2016, 07:35:42 AM
Fixed, thanks.