Ludeon Forums

RimWorld => Mods => Help => Topic started by: mipen on July 01, 2015, 02:17:35 AM

Title: Question about overwrite defs
Post by: mipen on July 01, 2015, 02:17:35 AM
I was wondering how using the same defName for two defs of the same type works. For example, say I have def1 and def2, both with the same defName. If def1 is loaded first, then def2 is loaded, does it overwrite the values which differ between def1 and def2 and leave the others the same? Or does it scrap def1 and build an entirely new def, def2?
Title: Re: Question about overwrite defs
Post by: Shinzy on July 01, 2015, 05:25:39 AM
I can't say I really understand much of thesse but I'm fairly positive the new one horribly murders the old one throws it in a swamp and assumes it's position like an evil clone (nothing of the previous one should remain at all all gone!)
Title: Re: Question about overwrite defs
Post by: 1000101 on July 01, 2015, 12:05:52 PM
I'm pretty sure the original is discarded in favour of the newer one.  The "newer" and "original" being based first on load order and within the same mod, alphabetical file order.