Ludeon Forums

RimWorld => Mods => Help => Topic started by: WorldOfIllusion on April 25, 2014, 02:59:31 AM

Title: Saving extra data
Post by: WorldOfIllusion on April 25, 2014, 02:59:31 AM
I've been working on a mod that requires me to save some extra information in the rimworld save.

I've worked out how to save simple things, like an int or bool or string. What I need is to save something more complex, for example an object that contains:
Wondering if there's an easy way to save this? Or should I just go and save each part of the object as a simple data type and then reassemble them into the original object on load.
Title: Re: Saving extra data
Post by: Vendan on April 25, 2014, 05:42:35 PM
Look at the various scribe classes, there's stuff to save dictionaries and lists and everything