Skip to content

Save System inspector

The Save System component keeps your save slots. This page lists every setting you see on it, what each setting does, and when it is worth changing. Most games touch four or five of them. For the calls you make from code, see Saving and loading.

You add the component from Add Component > Intrigues > Save System. It sits on the Intrigue Manager prefab.

The editor draws the component’s fields in the order the code declares them, with no headers and no custom layout, so what you see is what Unity’s default Inspector shows for a component with this many fields, plus one added warning above them. The greyed-out Script row is there too, as on every default Inspector. There are no section headers. A label is the field name as Unity writes it, so acceptPlainSaves shows as Accept Plain Saves. Most fields have a hover text.

One thing is added, a yellow warning at the top. It shows while Encrypt is on and Encryption Password is still the password Intrigues ships with. It says that every copy of Intrigues knows that password, so it protects nothing, and that saves with a secret save part are refused with it. Set your own password and the box goes away. The box looks only at the field: a Password Source set in code does not hide it. In Play mode the Save System also logs a warning while it encrypts with the shipped password and no Password Source is set. That is all.

Setting What it does Default When to change it
Pretty Print Writes the save’s JSON with line breaks and indents. No hover text. off While you read saves by eye.
Encrypt Encrypts new save files with AES-256. off When you want a changed or damaged file refused. It is no protection against a determined person. See Encryption.
Encryption Password The password for encrypted saves. My Password Always, before you turn Encrypt on. Changing it later locks out saves written with the old one.
Dice After Load New rolls: chances and random picks can turn out differently after a load. Same rolls: a scheme’s dice go on where they stood. Heirs decided by luck stay the same either way. New rolls When loading again must not change what a scheme rolls next.
Accept Plain Saves With Encrypt on, still loads saves that are not encrypted. on Off, once your old plain saves no longer matter.
Resume By How a running scheme finds its place after a load when its graph was edited. Index: by the saved output and step numbers. Port Then Index: by the saved output key and step node first, then by number; a waiting node that changed its kind is dropped. Index When you reorder outputs or steps of schemes that players may have saved in.
Write Portrait Reference Also stores each actor’s portrait as a direct reference. That reference works only in the session that wrote the file; a later session finds the portrait by name. Off: a picture that is neither in the database nor registered comes back empty after loading a file. on Off, if you want files without a number that means nothing elsewhere.
New Definitions After a load of a save made before you added cultures, policies or roles. Ignore: they are not in the loaded game. Add Missing: they are added as in a new game. Clans and families are never added. Ignore When you add cultures, policies or roles to a game that already has saves.
On Missing Node After a load, for a running scheme whose node you deleted. Drop: the run goes on without that part. End Run: the run ends with the result Failed. Keep Parked: the waiting part is kept and returns when the node does. Drop When deleting nodes of schemes that saves may be waiting in.
Keep Parked Days With Keep Parked only: lets kept parts go after this many days of play. 0 keeps them until the node is back or the run ends. Cannot go below 0. 0 When a kept part should not wait forever.
Restore Order Per Actor: schemes come back while each actor loads, so an On Game Loaded flow may see actors whose schemes are not back yet. After All Actors: once every actor has loaded, so each such flow sees every restored scheme. It applies to loads in place and across scenes; a plain file load restores per actor whatever is set. Per Actor When an On Game Loaded flow reads other actors’ schemes.
Save Folder The folder of the save files, inside the platform’s persistent data folder. Read when the slots are first used; empty means the default. Intrigues Saves When you want another folder name.
Save Extension The extension of the save files. Read when the slots are first used. .isav Rarely.
Autosave Slots How many slots the autosave ring turns through (auto-1, auto-2, and so on). 0 switches autosave off. 0 To use AutosaveAsync or the Autosave command.
Autosave Prefix The name of the autosave slots. auto When auto-1 clashes with your own slot names.
Unsaved Actors What a load does with an actor in the scene that the save does not hold. Destroy: its object is destroyed. Unregister: the actor leaves the game, but its object stays. Destroy When you want to keep the object and switch it off yourself.
Actor Wait Frames How many frames after the game scene loaded a load waits for its actors before it is complete. At least 1. 1 When your actors wake late.
Defer Inside Day A save asked while a day’s thinking runs waits for the end of the frame, so no decision of that day is lost. on Rarely.
When Busy What a save, load or delete asked while another runs does. Queue: it waits in line. Refuse: it is refused with the status Busy. Queue When your menu should not stack requests.
Load Scene Where a load without a request restores the game. From Save: in the scene the save was written in. Current: in place. Caller: your code loads the scene. From Save When the game scene is not the one in the save.
Recover From Backup When a save is damaged, loads its backup instead, with a warning. on Off, if you prefer a damaged slot to fail.

sources: field list, defaults and hover texts in Runtime/Save/IntrigueSaveSystem.cs lines 14 to 168; enum choices in the same file (Dice After Load, Resume By), Runtime/Save/State/OrderedRestore.cs, Runtime/Save/State/SaveResults.cs, Runtime/Save/OnMissingNode.cs, Runtime/Save/NewDefinitions.cs and Runtime/Save/Slots/SlotTypes.cs.

IntrigueSaveSystem.Instance.PasswordSource is a property, not a field, so it has no Inspector row. Set it in code when the password should not sit in a scene. See Encryption.