Skip to content

Changelog

Intrigues 2.0 is a new major version and the first release after a long break. The Graph Editor and the node system were rebuilt from the ground up. The whole package was reviewed, long-standing bugs were fixed and the samples were refreshed.

Before you upgrade: 2.0 is a clean start. It does not open databases made with Intrigues 1.x, and save files written by 1.x are refused. The Demo and Example ship already converted. UPGRADE_GUIDE.md lists every 1.x node and where it went.

  • “Hide on UI” became “Show in lists”. Always, Never, or only while conditions are met, read for the actor who looks at the list: a scheme can be open to one character and hidden from another, and a Set Variable can unlock it later. It only decides what the lists show; the AI, code and graphs still start any scheme. In multiplayer the host decides what each seat is offered and may start. The “Takes time” tag can have conditions too. Drafts: showInLists, showWhen, takesTimeWhen (the old hideOnUI is still read).
  • Progress and a next goal for a running scheme. New Set Progress node (a percent, step n of m, add, clear), Set Objective got Next and Step / Out Of, and a Wait in days, months or years can fill the progress up to a goal while it counts. Scheme.Progress and Scheme.NextObjective read them; the progress is only shown, nothing in the story reads it.
  • An event log per run. A running scheme keeps its last 16 events (it began, a new objective, a helper joined or left, paused, a requirement broke, given up, ended) and the lines you write with the new Log Entry node. Only a scheme a player takes part in keeps a log; characters the computer plays cost nothing. A scheme can say Always keep a log so a player who later takes over one of its characters can read what happened.
  • One report call. Scheme.GetReport(viewer, lines) returns where the scheme stands, its progress, objective, next goal, helpers, odds and latest log lines, with ToText(). The text tokens {scheme.Progress}, {scheme.NextObjective}, {scheme.Log}, {scheme.LastLog} and {scheme.Report} show the same in your texts.
  • Save format 10. The save format number is 10. Saves of format 9 still load; their runs state no progress and keep no log.

Input: the Input Manager, the new Input System, or both

Section titled “Input: the Input Manager, the new Input System, or both”
  • Works with the Input Manager, the Input System, or both. All keys, mouse buttons, the wheel and the menu axis go through IntrigueInput, which reads the Input Manager as before (also when both are on) or, when only the new Input System is on, the Input System (package com.unity.inputsystem 1.7 or newer; the new optional assembly MrW.Intrigues.InputSystem is compiled only when the package is installed, so the package is not a dependency). With only the new system, an EventSystem that has the old Standalone Input Module gets the Input System’s UI module when its scene loads (IntrigueEventSystem.AutoFit, on by default; IntrigueEventSystem.Create / Fit for your own code). A provider you wrote for IntrigueInput keeps working; it may also implement the new IIntrigueInputExtras (mouse buttons by number, wheel, menu axis). The Demo no longer calls UnityEngine.Input directly. Keys are positional in the new system.

UI kit: a chronicle line knows its characters

Section titled “UI kit: a chronicle line knows its characters”
  • A chronicle row can open the character it is about. TextLine (the rows of ListKind.Chronicle) now carries Actor and Other: the entry’s characters, but only those the line, as the reader sees it, writes by name ({actor} / {previous} of the built-in sentences; a name of {conspirator} / {target} your own line really writes: in a branch that shows, not empty) and while they are in the game, and a Subject Source set to Related ▸ Notice Actor / Notice Other follows them from a chronicle line as it does from a notice. Put one under a chronicle row with a Command Button (Open) and a click on the line opens that character. A line that names nobody, reads “someone”, or mentions a character only otherwise (a hidden schemer of your line) carries no one, so a line gives no player more than its sentence says. Opinion lines name no one. Existing bindings are unchanged; no save or protocol change.

Multiplayer: returning players of a saved game

Section titled “Multiplayer: returning players of a saved game”
  • Keep the players’ seat keys. SeatKeyStore.Export() / Import(text) let a game keep a player’s seat keys between runs (where you choose; the add-on itself still keeps them in memory only). With them a returning player gets their saved character back by themselves after both games were closed. Capped (8 sessions per host, 16 hosts, 32 KB), forgotten after 90 days unused (ExpiryDays), never logged; a damaged text imports nothing. Treat the text like a password: a copied file lets its holder take the seat.
  • A failed rejoin no longer locks a player out. A player whose newest key belonged to another room of the host (for example after joining a new room before the host loaded the save) was refused at every join. Now the next join offers the next kept key, and after every key failed the next join is a new player’s.
  • A key that brought its player back is kept first. Over the limit of 8 keys per host, keys that never brought their player back by proof go first (the saved text is now isk2; isk1 is still read). A hand-over that cannot be made leaves the joining player’s seat exactly as it was.
  • Hand over an away seat. MultiplayerSession.HandAwaySeat(awaySeat, toSeat) (host only) gives the character of a saved seat whose player cannot prove their key to a connected player; Kick frees it. A name match never gives a seat.

Multiplayer: a player on another machine hears and sees what the host’s player does

Section titled “Multiplayer: a player on another machine hears and sees what the host’s player does”
  • Music for players who join later. Play Music (and ambience) now also plays for a player who joins, rejoins or was still joining when it started, as long as the scheme keeps it playing: they hear what plays for their character now. Before, they heard nothing until the next Play Music. Music for one character (Only If Player Is, Players Taking Part) is given only to that character’s player, and nothing of a scheme their character is kept out of. A player whose character changes while they are connected (a late claim, a seat move, a hand-over) is given what plays for the new character (music that only their old character was hearing is not stopped by a seat move). A player who was away when the music started for their character alone still does not hear it.
  • Every Player announcements reach a player whose join is on its way (for example right after the host loads), as an announcement to that one player already did; it opens once they are in.
  • Smaller fixes on the other players’ machines: a dialogue’s countdown shows the host’s time limit (it showed 5 seconds more); a window that opens again because a hidden choice became available keeps its picture and style and goes on from the time it had left; plain choices are no longer drawn as conditional choices; a scheme’s sound that starts while the scheme is paused waits with it, and pausing a scheme no longer stops its music there (only its sounds wait, as on the host); sounds and music play without a Dialogue Manager when the game shows dialogues with its own view (as on the host). No protocol or save format change.

Multiplayer: a loaded dialogue waits for a player who is away

Section titled “Multiplayer: a loaded dialogue waits for a player who is away”
  • The host loads while a player is away. A dialogue (or an On Key Press) the load brings back for a player whose seat is kept but who is not connected no longer gets the AI’s answer during the load: it waits for that player and opens on their machine when they rejoin (written out, as restored; a time limit starts when they see the choices). Only that scheme run waits; the days go on, and the waiting dialogue does not hold them.
  • How the wait ends. With the default PresentationSettings.AwaitAbsentSeconds = 0 (no limit) those runs wait until the host ends the wait: the away seat is kicked or banned, the seat is moved to another character, a later load drops the seat, the host calls MultiplayerSession.ReleaseAway(seat), AwaitAbsentSeconds runs out (if set), or hosting stops (a limit counts while the player is away). Then the character’s AI answers as the load answered before, also for a dialogue with a time limit (it does not run out), and a key wait goes through Not Player. A key wait keeps this rule if the player rejoins and drops again. Ending the wait (the release call or the limit) ends the waits of that load only: what a later load brings back waits again. MultiplayerSession.WaitsFor(seat) and AwayDialogues say what waits.
  • Only what the load brings back waits. A new dialogue or key wait for an away player, and a player who drops while the game runs, are answered at once as before; the character’s AI keeps playing them meanwhile, so a rejoining player may find an old question after the AI answered newer ones.
  • The old behaviour stays one setting away: PresentationSettings.AbsentAtLoad = AnswerAsNpc. Single player, a game the add-on does not host and a host without seats behave exactly as before. A message set to arrive Silently still answers itself, as for a connected player on another machine; a flag for a player on another machine is shown as a window, as before (no tray, so no Flag Answers After Days). No protocol or save format change.

Multiplayer: what a scheme shows a player, the player reads in full

Section titled “Multiplayer: what a scheme shows a player, the player reads in full”
  • A node’s text reads as you wrote it, for whoever you show it to. A dialogue, an announcement, their choices, buttons and tooltips, a flag’s title and a scheme’s objective now print in full for the player they are shown to, also one whose character takes no part in the scheme (a judge, a messenger, every player): the scheme’s own values, other characters’ ambitions and opinions, a clan’s hidden relations and the scheme’s cast, as in single player. Before, such a player read them as empty (and an if on them as false). Whom a text reaches is decided by Show To, the audience and your conditions: to keep something from a player, do not show them a text that reads it.
  • Still hidden: values marked Owner Only or Host Only; formulas ({formula…}, {reasons…}) and the breakdown of an opinion ({opinion.Reasons}), because they can be moved by such values (they print nothing for another player, even in your node’s text). The opinion’s number and ambitions do print there; note that an opinion’s number can still be moved by hidden values. Also hidden: everything that is not your node’s text: the menus and lists, the scheme list (a player is told only of the schemes their character takes part in), answers to a player’s questions. No protocol or save format change.
  • Scheme.Objective and Scheme.Description on a host that plays fair. For a running scheme the host’s player is told of, these now read as that player’s client is sent them (the author’s text in full, values marked Owner Only of others and Host Only empty), also when your code reads them with no text scope. For a run the player is not told of they read as before.

Saves: a waiting dialogue or node keeps whom it waits on

Section titled “Saves: a waiting dialogue or node keeps whom it waits on”
  • A loaded dialogue stays with its reader. A Show Dialogue that waits keeps the actor it was shown to (Show To) and the actor who speaks (Who) from its first show, on screen or as a flag. Before, a loaded game looked them up again: if the variable behind Show To had changed while the window was open, the dialogue went to another actor, and when no player played that one it was answered at once. If the actor it was shown to is no longer in the game after the load, the visit ends with a line in the log; a speaker who is gone shows no name plate. The window’s title, text and choices are still written from the current values when it opens again after a load.
  • A load never changes whom a waiting visit watches. Wait For Trigger (on an actor), On Key Press, Play Sound (Only If Player Is, Wait Until Finished) and Wait For Clan Change (one clan) keep the actor or clan they found when they started waiting, and a save keeps it with the visit. Before, a loaded game looked it up again, so a changed variable behind Actor / Player Is / Clan made the visit wait on someone else (On Key Press went on through Not Player at once). If that actor or clan is no longer in the game after the load, the visit ends with a line in the log; Play Sound instead skips the sound and goes on through Out at once, as for an actor no player plays (a sound never changes the flow). Saves made before this change load as before (the actor or clan is looked up again).

Multiplayer: players may pick their character after joining

Section titled “Multiplayer: players may pick their character after joining”
  • A seat may wait without a character (add-on, off by default). With HostSettings.AllowJoinWithoutActor on, a new player may join without naming a character and waits in a seat of their own (a lobby where everybody picks first). Such a seat plays nobody: its machine sees only the public world, is shown no dialogue, sound or signal, and may send the host only its language and your own messages; everything else it sends is refused. It is not saved: a load, a new game or a scene change ends it.
  • Giving the character. MultiplayerSession.Claim(seat, actor) and ClaimAll(...) (all or nothing, with ClaimResult.Text to show when refused) give waiting seats their characters with the checks of a new player’s join (PlayableActors, JoinActors, SeatPolicy.AllowJoin with JoinRequest.Claim); schemes another player already takes part in stay hidden from that seat. CheckClaims asks without giving, WaitingForActor tells a player’s machine that it waits, SeatInfo.HasActor tells the seat list. A seat whose player left without a character is removed after UnseatedRejoinSeconds (10); UnseatedTimeoutSeconds (off) limits how long a connected one may wait. With the setting off, joining works as before.
  • Multiplayer protocol 14 (add-on 2.0.0-m11): host and players must run the same build. The save format is unchanged.

Nodes: a clearer search menu, modifiers in every change list

Section titled “Nodes: a clearer search menu, modifiers in every change list”
  • The search menu says what is a node. An entry that only makes a node already set up is named with that node (Is Parent · Check Relation), and its tooltip starts with what it makes (“Makes a Check Relation node set to Parent.”).
  • Fewer entries. Entries that were only old names are gone (Invoke Method, Resolve Actor and the three like it, Get Active Scheme Variable, Set Actor Variable, Parallel Flow, Break Repeater, Set Inheritor, Remember, the Remove Memory alias, Is Friend, Chance with Bonus (Chance Modifier), and the Check Actor entry). AI drafts that use one of these names as a node type are refused: write the node’s title (see UPGRADE_GUIDE.md). The two node kinds that were already hidden, Check Actor and Wait For Variable, are deleted.
  • Moved and renamed. Add Modifier and Remove Modifier are under Variables, Write In The Chronicle under Dialogue, and Forget is now Remove Memory.
  • Modifiers in the change lists. Dialogue choices, Change Several Things, a decision’s then also and an ambition’s when reached / when given up can Add a modifier (an amount, days, a name; the amount may be read from the world) and Remove a modifier (drafts: addModifier, removeModifier).
  • Remove by. Remove Modifier and its change have a setting: Name, else variable (the default, as before), Name only or Variable only. Actor.RemoveModifier(text, ModifierMatch) does the same in code.
  • Has Modifier is a new condition row (every check node, requirements, decisions through + Add condition): whether an actor has a modifier, or how many days it has left.
  • One node, Get From Code. Get Actor From Code, Get Actor Pair From Code, Get Clan From Code and Get Family From Code are one node. Its method list shows every method that gives something, in sections (An actor, Two actors, A clan, A family). The node stores what it gives (Gives): choosing a method sets it, and the outputs and Store In follow it. A graph keeps its outputs when a method is missing or renamed. A change that would remove linked outputs or empty Store Second In asks first. A method that no longer gives what the node expects is shown as a warning with a button, Use what X gives. The Code folder of the search menu holds Run Code and Get From Code. AI drafts write "type": "Get From Code" with "Gives" (left out, it is read from the method); the four old titles are refused with a message that shows the new form. The two fixed pair orders (Conspirator, then Target and the reverse) are gone: pick Conspirator and Target in any field.
  • Intrigues UI is the one UI system. The menus of the earlier 2.0 builds are gone, along with everything only they needed: the Intrigue System UI and Notification System prefabs, IntrigueSystemUI, IntriguePanel, the three navigators, their item scripts and *PanelBehaviour hooks, the Demo* customisation scripts, TriggerButton, NotificationSystem, RemoveEvent, DateLabel, SpeedControl, the old Setup UI window and its inspectors. No forwarding class is left. Tools > MrW > Intrigues > UI Setup (tab Start) adds the ready-made UI instead. It brings character, clan and running-schemes windows, a HUD, toasts, a flag tray and the keys P, C, J and Escape, built only from the public components. The same set ships as the prefabs Prefabs/Intrigues UI.prefab and Prefabs/Intrigues UI (Plain).prefab. The Example scene and the old Demo were not converted: they open with missing scripts, the old Demo’s menu buttons do nothing, and the rebuilt Demo replaces them. A request to open a screen is now refused with a reason when no window and no listener of the game’s own answers it. There is no fallback to the old menus any more. A click on a name in a dialogue goes through the same door. UPGRADE_GUIDE.md (The UI: one layer, the old menus are gone) has the table of what to use instead.
  • No [Obsolete] members in the UI, dialogue, input and graph code. Removed: Runtime/Obsolete/ (IRuntime, IRuntimeLoader, IUIActorBehaviour, IUIClanBehaviour, IUISchemeBehaviour, IChoiceData, Rate), TooltipSystem.instance / Tooltip / ShowTooltip / HideTooltip, TooltipTrigger.ClearTooltip, ChoiceData.Text1 / Text2 / Rate, DialoguePanel.AddButton, Dialogue.SetTypeWriterDuration / Init / Update and the constructor Dialogue(panel, isSchemeDialog), ActorRef.Resolved / ResolvedSecond, Tooltip.SetText, KeyType.Hold / Tap, the unused field DialoguePanel.counterId. Each had a new name or did nothing. The five forwarders of Actor (AddSpouse, AddSpouses, RemoveSpouse, RemoveSpouses, RetireAndTransferInheritance) are still marked obsolete. They go in a later step.
  • Flag tray (new). The ready-made UI (and both prefabs) has a flag tray under the HUD: the messages that arrive as a flag for your player, newest on top; a click opens one, Dismiss takes away one that needs no answer, and a flag that waits for your answer says so (with the days until it is answered for you). For your own UI: the Bound List kind Flags (with Newest First and Hide Low Flags, a display filter of the list only, saved nowhere), the Command Button commands Open Flag and Dismiss Flag, the Bound Text parts Flag Title, Flag Text, Flag Age, Flag Days Left and the Bound State checks Needs Answer and Is High Flag; in code IntrigueUI.Lists.Flags, IntrigueUI.Commands.OpenFlag / DismissFlag and UISubject of kind Flag. UI Setup’s scene check advises “This scene can receive flags but shows no flag tray” (with a button that adds it) when a message can arrive as a flag and no list of flags is in the scene. UI_GUIDE.md recipe 13.
  • Scheme categories, “N more”, a takes-time tag, chance tiers, menus at the pointer, starting with accomplices (new). Studio ▸ Schemes ▸ Categories (name, colour, icon, order, rows before “N more”, Show only when a requirement set) and, on each scheme, Category and Takes time (draft keys schemeCategories, category, takesTime). For the UI: the Bound List kinds Scheme Offer Sections and Accomplice Candidates, Rows Before More with a “N more” object on every Bound List, a Schemes To Start list under a section, the parts Category and Chance Tier (0 to 4 by the database’s tiers, 20 / 40 / 60 / 80 % by default), the check Takes Time, the command Start With Accomplices, the component Accomplice Toggle and Open At Pointer on Subject Window; in code IntrigueUI.Lists.SchemeOfferSections, SectionOffers, AccompliceCandidates, SchemeOfferSection (VisibleRows, HiddenCount, Expand), SchemeOffer.Category / TakesTime / ChanceTier / ChooseAccomplice / StartWithAccomplices, Scheme.Category / TakesTime, and IntrigueUI.Commands.StartScheme(scheme, conspirator, target, accomplices, answer). A database without categories lists exactly as before. UI_GUIDE.md recipe 14.
  • Mind and realm lists (new). The Bound List kinds Subjects, Realm, Clan Relations, Clan Opinion Lines, Opinion Lines, Memories, Ties, Ambitions, Ambitions Offered, Succession, Chronicle and Decision Log, the parts Attitude and Relation Term, and in code the matching IntrigueUI.Lists factories with their row objects (MemoryRow, TieRow, AmbitionRow, ClanRelationRow, HeirRow, TextLine). A player sees only their own mind (memories, ties, ambitions, the reasons of an opinion held or about them) and a clan’s only as its member; a hidden clan relation only the two clans see. UI_GUIDE.md recipe 15.
  • Save slots in the kit (new). The Bound List kind Save Slots (the saves of the Save System, newest first; a damaged slot is listed with its reason), the parts Slot Title, Slot Day, Slot Play Time and Slot Status, the check Can Load, the Bound Image kind Thumbnail (a slot’s picture, decoded once, point filtered, let go with its row), and the Command Button commands Save, Load, Delete Save and Autosave (with a Slot Name, a Name Field and a Load Scene; a save waits for the day to be over: “Saving at midnight…”; each refusal says why in plain words). In code: IntrigueUI.Lists.SaveSlots (rows SlotRow), IntrigueUI.Commands.SaveGame, LoadGame, DeleteSave, Autosave with SlotAnswer, and IntrigueUI.Saves (Note, Preparing, Refresh). The save format is unchanged. UI_GUIDE.md recipe 16.
  • Pixel-perfect UI helpers (new). Pixel Canvas Scale (Add Component > Intrigues > UI) keeps a pixel-art canvas at the largest whole scale at which its layout (960 x 540 by default) fits the display, so sprites at Pixels Per Unit 1 and bitmap fonts stay sharp; its Choices() are the scales a UI-scale setting may offer, and PixelScale gives the same numbers without a canvas. Tools > MrW > Intrigues > Check UI Pixel Grid lists elements that sit off whole pixels, each with what to do (it changes nothing). UI_GUIDE.md recipe 12.
  • Save slots instead of loose files. The Save System now keeps slots in Intrigues Saves inside the persistent data folder. Each slot is one .isav file with a header (title, day, scene, time saved, your own fields) and an optional thumbnail. The list reads only the headers. Writes are safe: the new file replaces the old one only when it is whole, and the old one is kept as a backup. A damaged save loads from that backup, with a warning.
  • New API, results instead of logs. SaveAsync, LoadAsync, DeleteAsync, ListAsync, AutosaveAsync, SaveCurrentAsync and CurrentSlot are on IntrigueSaveSystem. IntrigueSave.Slots, IntrigueSave.State and IntrigueSave.Codec serve games that store the bytes themselves. Every call returns a result and never throws. A load restores the scene the save was written in. It completes when that scene’s actors have loaded.
  • Removed: Save(name), Save(), SaveOverwrite, Load(name), LoadLatest, Delete, DeleteCurrent, GET_LATEST_SAVE, GET_SAVE_FILES, SaveFileInfo, SaveFileExists, AnySaveFileExists and ActiveSaveFile. Old .null save files are not read.
  • New settings: folder, extension, autosave ring, what a load does with scene actors the save does not hold, how many frames it waits for them, recovery from the backup, and a password source. Encrypting with the password Intrigues ships with logs a warning.
  • Partial saves and secret parts (both off unless you use them). A save request can name some of your own save parts (SaveRequest.Parts). The file then holds only those parts, never the Intrigues world. Such a slot is listed as Partial. It is never offered to continue and does not become the current slot. Loading it reads only its parts into the running game (IntrigueSave.State.RestoreParts for your own bytes). A save part can be secret (ISavePartOptions.Secret, LambdaPart.Secret, the Secret box of a SaveBehaviour). Its section is then encrypted with the Save System’s password, even in an unencrypted file. A save with a secret part is refused while the password is empty or is the one Intrigues ships with. The Save System’s inspector warns while Encrypt is on with that password. A section that does not open (another password, a changed file) is a warning, and the part loads as missing. Turning Secret on for a part you already ship drops that part’s data from older saves. Bytes you keep yourself from IntrigueSave.State.Capture hold secret parts in plain text (only the slots encrypt them). Each save and each load works out the encryption key once, however many secret parts there are.
  • A save is taken between two days. Saving first finishes a day whose thinking is spread over frames, so that day’s decisions are carried out before the game is written. The same goes for IntrigueSave.State.Capture with its default CaptureMode.Settled. When the save is asked from inside a day’s thinking (a decision, or a listener the day calls), the day cannot be finished there. The capture is then taken as the world stands and warns with DayInProgress. After loading it, the rest of that day does not happen. There is no exact mid-day capture in 2.0 (CaptureMode.Unsettled reads the world as it is and drops the rest of that day; there is no exact mid-day mode in 2.0).
  • A save asked while a node runs waits for it. Code can ask for a slot save of the whole game while a scheme’s flow runs: a node’s Run, a Run Code method, a Signal Receiver, a trigger, or a Changed, scheme-end or accomplice listener. That save is taken after the node returned, so loading it never runs that node a second time. SaveResult.Deferred is true when it had to wait to the end of the frame. (A save to the Save System’s files usually reads the slot first and captures after the node anyway.) With a storage that answers at once, the save completes at the end of the frame, not inside the call. So never wait for a save’s task on the main thread. A partial save holds no world and does not wait. IntrigueSave.State.Capture and IntrigueSaveSystem.Capture() refuse there (CaptureStatus.InsideNode). Capture a frame later instead. For a node that is harmless to repeat, you can call IntrigueSave.State.Capture with CaptureOptions.InsideNode = InsideNodeCapture.Warn to capture anyway with a warning; IntrigueSaveSystem.Capture() always refuses there. A custom asynchronous node that is still waiting when the game is saved runs again after the load, as before. Keep what it did in the visit (ISavableNode), or mark it AfterLoad = RunsAgain so the Studio shows the badge.
  • A load in place can put the game back when it fails (off unless you ask for it). Set RestoreOptions.OnFailure = FailurePolicy.RevertSameScene for IntrigueSave.State.Restore or for a slot load with Scene = SceneMode.Current. The load then captures the game first, as a save does (a held day is finished first). If the load fails, it stops at the first failure and the capture is put back in the same scene. A failure is an actor, a scheme, the mind or a save part that throws, or a step of the load that throws. The result is LoadStatus.Reverted, LoadResult.Reverted is true, and LoadResult.NotReverted lists what was not undone. What comes back is Intrigues’ world as it stood between two days before the load (not the exact moment when a day was in progress). Not undone: dialogues the load closed, music and sounds it stopped, listeners that already heard the load, what your save parts read, objects the load destroyed that were not registered actors, and anything outside Intrigues (your own scripts, other scenes). The load never destroys objects that existed before it. The current slot and the save the game came from stay as they were. A load across scenes cannot be put back, so it is refused with LoadStatus.RevertUnavailable before anything starts. The same goes for such a load asked while a scheme’s flow runs (the capture would run that node again after a revert). If putting the game back fails too, the result says so (RevertFailed) and the game is left as it is. The default stays Continue: a failing item is skipped and the load goes on.
  • The check before a load says more. IntrigueSave.State.Stage now also reports empty entries in the save’s lists. It reports clans, families, cultures, policies and roles that have no ID or share one, and genders, life states and marriage states this version does not know. These are information lines and warnings; the load takes all of them without an error, as before. Your save parts’ Read cannot be tried before the load: a part that throws is found by the load itself.
  • Saves meet a changed database. Every save now records a short fingerprint of your definitions: variables, cultures, policies, roles, clans, families, and for each scheme its structure and its settings. IntrigueSave.State.Stage compares it with the open database and says what changed since the save. A changed scheme is a warning only when a saved run is waiting inside it. It never blocks a load. In a very large database the per-scheme part of the fingerprint shrinks to one value; the save is never refused for it.
  • Four settings for loading after you edited your graphs (each keeps the old behaviour by default). Restore Order: schemes come back one actor at a time (default), or once every actor has loaded, in the save’s order. With the second choice, each On Game Loaded flow sees every restored scheme (an actor can override OnSchemesRestored). Resume By: Index (default) or Port Then Index. The second finds a waiting scheme’s output and a Sequencer’s step by key, and drops a waiting node that was replaced by a node of another kind. On Missing Node: Drop (default), End Run (the run ends as Failed) or Keep Parked. Keep Parked keeps the waiting part and writes it again until its node is back; Keep Parked Days lets it go after some days of play. New Definitions: Ignore (default) or Add Missing. With Add Missing, cultures, policies and roles added to the database since the save join the loaded game. No clan adopts a new policy, a new role has no holder, and clans and families are never added.
  • Custom nodes can save their own state. A node that implements ISavableNode writes a small text and a version into its saved visit. It reads them back when the visit is restored (at most 4096 characters). A text that is too long, a node that throws or a newer version only skips the state with a message, never the save. In the Studio a node can carry the badge Runs again after a load (GraphNodeAttribute.AfterLoad = AfterLoadMode.RunsAgain). Such a node, when it is waiting, runs again after a load and repeats what it did before it waited. Of the shipped nodes only Play Sound is marked (see the next entry).
  • A scheme that waits in a node does not repeat what the node did. A scheme can be saved while it waits in a node (a wait, a dialogue, a trigger or key wait). When that game is loaded again, the node runs again to bring its wait back. Every shipped node was checked: none repeats an effect (no second payment, notice or counter). Three small faults were fixed on the way. A dialogue with Picture From Tags no longer picks a new picture after a load. A trigger, key or clan change that arrived while the scheme was paused is no longer lost by a save. A timeout saved at the moment it ran out no longer starts again. Nodes that wait carry AfterLoad = Safe. Play Sound shows the badge “Runs again after a load”, because its clip starts again from the beginning. A node of your own that does something before it waits can implement ISavableNode or be marked RunsAgain (the Studio then shows a “Runs again after a load” badge). Open dialogue sounds start again from the beginning after a load.
  • Save Doctor and Save Diff (editor only). Tools > MrW > Intrigues > Save Doctor and Diff examines one save file: the container, a backup, the header against the body, parts, the load’s own check, and the definition fingerprint against your database. It offers repairs, and each repair is written as a new copy beside the original, never over it. It can write the save again in the current container, refresh its fingerprint, drop unknown parts, and drop references to actors or clans that are not in the save. Diff lists the differences between two saves by category (world, actors, variables, clans, families, schemes, parts). Neither tool changes a game.
  • Loading across scenes is more reliable. During a load that switches scenes, the Runtime Actor Loader of the scene you leave is no longer asked. It used to make every actor again in the old scene, and their marriages, family links and the AI’s memories went with that scene. Actors the new scene’s loader makes get their running schemes back. A game’s onRuntimeActorsLoaded listener that throws no longer stops the other listeners or fails the load. The Multiplayer add-on binds the saved seats once every actor is back.
  • The Runtime Actor Loader is optional, and the scene rules are explicit. You can work without a loader, with Actors without a scene object set to Create them when the game starts. The Intrigue Manager then brings the actors of the Actors page once the active scene has loaded, if that scene holds an actor object or is named in the manager’s new Game scenes field. A load always brings back the saved actors. A loader brings them earlier, before the scene’s ordinary scripts wake, so add one only when your own scripts read the actors in Awake. Each game scene may have its own loader. A second loader in the same scene now removes only its own component (it used to destroy the whole object), with one log line. A loader on the Intrigue Manager’s object, or in a scene that is not a game scene, brings nothing and says so once. Game scenes (empty by default) lists the scenes that count as the game even when they hold no actor object. Empty keeps the old rule: a scene counts when it holds a loader or an actor object, so a scene with only the manager is a menu. When the list is not empty, a loader in an unlisted scene with no actor object brings nothing. While a load waits for its game scene, a loader of another scene, RuntimeActorLoaderBase.Load() and IM.CreateMissingActors() do nothing (one debug line each). When the manager stops a pass that had work to do, it writes one debug line per game saying why.
  • Limits in 2.0, stated plainly. A save is taken between two days (no exact mid-day capture). Encrypting or opening an encrypted save works out a key. That takes about 170 ms per key in the Unity editor (about 25 ms in an offline test; two keys when secret parts are used; phones not measured). Slot saves and loads now do this, the compression and the checksums on a worker thread, so the game does not stop for it. In the Unity editor, with 92 actors, the longest frame of an encrypted save went from about 180 ms to about 3 ms (SlotSettings.CodecThread). A protector of your own runs there only if it implements IThreadSafeSaveProtector; WebGL keeps it on the main thread. Unloading a scene yourself with a plain SceneManager.UnloadSceneAsync is not covered. The save system was run in the Unity editor and in offline tests. The first player build is still to do, so gzip on IL2CPP and WebGL and phone timing are unverified.
  • A Home page opens first. Intrigues Studio starts on Home. It shows whether the open scene has an Intrigue Manager and a database, and your world in numbers (actors, clans, schemes, roles, cultures, variables, each one a click away). It has quick actions: new scheme, actor or clan, create a database, set up the UI, the sprite database, the Thinking and Simulation windows, the Demo and Example scenes. Below them are your recently opened items, the three first steps with Intrigues, help links and what is new in this version. It also works before you have a database: it offers to create or open one. A Home button at the left end of the Studio’s toolbar brings you back from any page.
  • The Welcome window is replaced by Home. Everything it offered is on Home or in Settings. The Show Home when Unity starts setting keeps the choice you made for the Welcome window. The Wiki, Release Notes, Video Tutorials, Forum and Support menu items are where they were.
  • A Settings page (opened from Home, with a button back to it) collects the settings of the tool itself: show Home at startup, verbose logging, rename an object to match its actor, the shortcut, the AI skill buttons, and two reset buttons (window layout, all tool settings). Settings of a database or a scene stay on their own pages.
  • Open the Studio with a key. Cmd+Shift+I (macOS) or Ctrl+Shift+I (Windows, Linux) opens Intrigues Studio from anywhere in Unity. Change it on the Settings page or in Edit > Shortcuts; both show the same key.
  • A shorter Intrigue Manager inspector. The counts, the Sprite Database button and the list of code methods moved to Home. The inspector keeps the database and dialogue fields, the Open Studio button, and its other sections. While you play, its Runtime rows (player, actors, active schemes, language, calendar) follow the game by themselves; the Refresh button stays.
  • Dialogue Manager: new “Merge Identical Announcements” and “Max Open Announcements”. With the first, repeated announcements of the same node, scheme and audience share one window with the newest text and a count (“x3”). The second closes the oldest announcement window above the number. Both are off by default, and Show Dialogue windows are never affected.
  • Short answers from the AI authoring tools. brief: true on validate and apply now gives a really short answer. Errors and warnings come in full, information lines are only counted, and the plan and the created items come as counts, with no node maps and no ids. The new option ids: true (with brief) brings the per-item plan and the ids back. The full answer is unchanged, and the report file on disk always holds it. Callers that used brief for the old, longer answer now get less.
  • Rates say what they mean on your clock. A decision’s Reads As text now ends with a sentence such as “Every 120 days is about 3 times a game year; at 0.25 seconds a day, a draw about every 30 seconds for each character.”. It is worked out from the world’s calendar settings (days per year, seconds per day, speed, activity). It is left out when days do not pass by themselves, the clock is paused or characters do not think for themselves. A hint follows when a draw comes every few real seconds, or when a Life decision comes more than once a game year. Nothing is scaled or refused. The Life kit’s Have a child description says “about 15 % a year”.
  • A variable name with a space is not a problem. Text tokens read such names ({world.Feasts Held}, in conditions and plural blocks too). The name warning of the Variables page and of drafts (N-VARIABLE-NAME) now fires for a dot, braces or a bar, which tokens cannot reach. As a note about conditions, it also fires for a name with the word has / and / or / not, a double space or ( ) " = < > !, which only break inside {if ...}.
  • Created actors can be spread out. The Intrigue Manager has Place created actors, shown while it creates actors for the Actors page. The choices are Where they are made (the default, all at one point, as before), In a grid or On a ring around the manager’s object, with a spacing and a plane (XY for 2D, XZ for 3D). It never moves objects you placed, births, Create Actor results or actors of a load. The position is set right after the object is made (before onRuntimeActorCreated). A character controller or nav mesh agent on your actor template may need Warp from your own onRuntimeActorCreated handler. A later IM.CreateMissingActors() call numbers its new actors from the first place again.
  • An empty world explains itself. When the database has actors but no open scene holds an actor object, and nothing would create them (no Runtime Actor Loader, or “Actors without a scene object” is off), the Intrigue Manager inspector says so, as an information line, since a menu scene is empty on purpose. It offers one click that adds a Runtime Actor Loader and/or turns on “Actors without a scene object”, whichever is missing. Nothing changes by itself; the setting still starts off.
  • Actors can outlive their scene (off unless you turn it on). The Intrigue Manager’s Actor Home setting is Scene by default (as before). With World, unloading a scene through IntrigueScenes.Unload(scene) parks its actors; so does calling IM.ParkScene(scene) right before your own unload. Their objects are switched off and kept out of sight, and the actors go on taking part in the world (clan, family, schemes, AI). IM.onActorAway / IM.onActorBack and Actor.IsAway tell you. When the scene is loaded again, its object of each parked actor hands the actor back and the scene’s copy is removed. Return Pose says whether the actor stands where the scene’s copy stood or where it was parked. A Single scene load (setting End On Scene Load), a new game and IntrigueWorld.End() end the parked actors as their scene’s unload would have. Important: a plain SceneManager.UnloadSceneAsync still destroys the scene’s actors, because Unity tells nobody before a scene unloads. Their running schemes stay too: in World mode a scheme’s runner lives outside every scene.
  • Actor Home on a multiplayer client. A multiplayer client parks its own objects the same way. Presence is machine-local: it is never saved, never sent, and the host’s world is not touched. The client’s scene objects hand back their parked copies of the host’s actors. The host’s actors of scenes the client has not loaded are made parked there, and their scene’s objects take them back when the client loads those scenes. A client’s Single load or IntrigueWorld.End ends none of them (only the client’s own reset does).
  • Actor Home and saved games. A load brings parked actors back parked. A save written in World mode records each actor’s home scene and pose (also with Save where actors stand off). A load re-creates every saved actor that has no object. One whose home scene is not loaded is made parked until its scene arrives. That raises IM.onActorAway, never onRuntimeActorCreated, so a RuntimeActorHandler does not hear of it; listen to IM.onActorAway / IM.onActorBack. When the scene’s object hands the actor back, the copy takes that object’s children (model, Animator, visual parts). Components on the scene object’s own root object are not carried over. With an Actor Template that carries a model of its own, the copy keeps the template’s children too, so it then has both models. In World mode with designed scene actors, give the template no model of its own, or remove the template’s parts in your onActorBack handler. Revert Same Scene is not offered in World mode.
  • Behaviour change: a load always brings back the saved actors that have no object. Until now, one case lost actors: a load in a scene without a Runtime Actor Loader, with Actors without a scene object set to Leave them out. It dropped every saved actor whose object the scene did not hold (births, created actors, actors of other scenes). The load reported them as not loaded and they were gone from the game. Now every load re-creates them, with or without a loader and whatever that setting says. They come back as copies of the Actor Template (else plain objects), with IM.onRuntimeActorCreated for each. The list always comes from the save the running world was loaded from. A loader that wakes in a new game no longer re-creates actors from the Save System’s last data. Who notices: first, a game that relied on Leave them out without a loader to drop actors at a load. To keep them out, do not save them: remove them before saving. Second, a multi-scene game that loads while some of its saved scenes are not loaded. With Actor Home Scene, the actors of those scenes come back as copies in the active scene. A scene object’s actor reads origin Created from then on, and an actor the manager made from the Actors page keeps origin Database; both are written as runtime actors in the next save. When one of those scenes loads later, its own objects of them are refused as “the same actor”. Use Actor Home World (they come back parked and their scene’s objects take them back). Or, for a load in place, have those scenes loaded before you start the load. With Save where actors stand or Actor Home World, they come back at their saved place.
  • Timing of onRuntimeActorsLoaded after the change above. It is raised once per load. Without a loader it is raised at the game scene’s sceneLoaded, before that scene’s Starts, so a listener that subscribes in Start misses it. A loader that wakes later (an additive scene) no longer raises it again.
  • A plain scene change gives the next game scene its actors. After a plain SceneManager.LoadScene (Single), with Create them when the game starts on, the Actors-page actors that have no object are made again for the next scene that counts as the game. Before this, the actors of a second level were silently missing unless the game called IM.CreateMissingActors(). They are new objects with no state carried over. Keeping actors alive across scenes is the job of Actor Home = World and IntrigueScenes.Unload. A scene loaded beside the game, or made active, starts no new pass, and neither does unloading a scene the pass never served. In a world loaded from a save, the pass brings only the Actors-page entries, not the save’s actors again.
  • RuntimeActorHandler listens only while it is enabled. It starts listening in OnEnable and stops in OnDisable (both now protected virtual) instead of from Awake to OnDestroy. Switching the component off stops it, and a subclass with its own Awake keeps working. A subclass that declares its own OnEnable or OnDisable must override it and call the base method.
  • “Scene actors and bodies”. The Intrigue Manager’s section Actors in the Scene has this name now (the settings are the same). An actor’s In the World part on the Actors page has a Select Manager button that takes you to it.
  • The Graph Editor window is now Intrigues Studio. It is one workplace for Schemes, Clans, Actors, Behaviour and the rest. The menu item is Tools > MrW > Intrigues > Studio, the window class is IntriguesStudioWindow (was GraphWindow) and the pages keep their names. It gets a Home page and a Settings page (new page numbers 18 and 19; the stored page numbers of every other page are unchanged). A Studio with no stored page opens on Home. “Graph Editor” now only means the node canvas of a scheme, clan or family.
  • The publisher is MrW. The namespace is MrW.Intrigues (was Nullframes.Intrigues); assemblies are MrW.Intrigues, MrW.Intrigues.Editor and so on (the add-on: MrW.Intrigues.Multiplayer...). Menus are Tools > MrW > Intrigues, Create > MrW > Intrigues; Resources/Nullframes became Resources/MrW. The product name stays Intrigues. Change using Nullframes.Intrigues... to using MrW.Intrigues... in your scripts and assembly definitions (UPGRADE_GUIDE.md, section 0, has the table).
  • New folder layout. Assets/MrW/Intrigues/{Runtime, Editor, Prefabs, Fonts, Art, AI} is the package. It is ready to move to Packages/ later, because it does not depend on its own location. Assets/MrW/Intrigues Multiplayer/ is the add-on and Assets/MrW/Intrigues Demo/ holds the Demo and Example; you can delete it, since the product does not reference it. The Demo is its own assembly. The few Demo-named scripts and sprites the shipped menus need now live in the package.
  • Assembly definitions. Every code folder is owned by one assembly definition with rootNamespace, references by name. allowUnsafeCode is no longer needed.
  • Editor preferences reset once. Their keys now start with MrW.Intrigues., so Intrigues Studio opens on Home once more and forgets its last window state.
  • Save encryption is our own now. The third-party cipher that shipped inside the package (a 256-bit-block Rijndael, obsolete) is gone, and so is the third-party main-thread dispatcher (nothing used it). Encrypt in the Save System now writes AES-256 with a key made from your password (PBKDF2, a new random salt and IV for every file) and a tamper check. So a wrong password, or a changed, damaged or cut-off encrypted file, gives a plain-English error in the console instead of a half-loaded game. This stops accidental damage and casual editing of an encrypted file. It does not stop a determined person: the password ships inside your game. Also, with the new Accept Plain Saves option on, a plain-text save is loaded too, so a file can be replaced by plain text. That option is on by default, which is what the Save System always did. Turn Accept Plain Saves off to refuse plain saves while Encrypt is on. A save that cannot be read or parsed (also a cut-off plain save) is one error line, and nothing changes. Saves encrypted by earlier builds of 2.0 are refused with a clear message (2.0 is unreleased; the save format number is 9 since the save container). With Encrypt on and an empty password, nothing is saved and the console says why.
  • Multiplayer protocol 9 (was 8): the wire message name changed with the publisher. Host and clients must run the same build.
  • Belongs To. Each variable belongs to one owner: each actor, each relationship (what one actor holds toward another), each clan, each family, or the World. In nodes you pick the variable first. Only the rows its owner needs follow (which actor, which clan, from whom toward whom). Using it in the wrong place is flagged with the fix.
  • Limits. Integer and Float variables can have a lowest and a highest value; every change is kept within them.
  • Descriptions for variables, shown in pickers, and a Use line that shows the text token and the code for each place the variable exists.
  • Starting values per actor on the Actors page (the king starts with 1000 Gold) replace the old per-scene overrides.
  • One typed API: actor.GetVariable<int>("Gold"), actor.SetVariable("Gold", 50) (returns whether it worked), actor.AddVariable("Gold", 10), actor.Relationship(target).Get<int>("Trust"), IM.GetVariable<int>("Year"). Handles (actor.GetVariable("Gold")) raise Changed; IM.onVariableChanged reports every change.
  • Faster and lighter. Values are looked up in constant time instead of searching lists. Relationships only exist once they are used, and saves store only values that differ from their defaults.
  • Saves keep more. Enum values, Actor, Clan and Family values and asset values are saved and restored. Variables you add later start at their defaults in older saves.
  • Loops are allowed. You can link nodes in a circle: A → B → A, a node linked to itself, a Jump To that leads back, a Sequencer or Repeater whose last step jumps back before it. That makes a loop that runs for as long as the scheme runs. It does not freeze the game, does not use more memory over time and is never cut off. A loop that ends by itself (a counter, a condition) finishes at once. There is one exception to “constant memory”. Some loops leave a small record behind on every pass: a loop whose last Sequencer step or last Repeater round can reach a Skip Sequencer Step, Break Sequencer or Break Loop, or whose Sequencer, Repeater or For Each Actor has Done linked. Let such a loop end by itself.
  • Never freezes, never crashes. Nodes no longer call each other. Every flow is a list of pending work that the engine works through, so no graph can overflow the stack (before, a loop in a rule crashed the editor). Each scheme runs a limited number of nodes and milliseconds per frame (all schemes together at most 6 ms). The rest continues in the next frame in the same order. So a scheme with an endless loop neither slows the game down nor holds back other schemes.
  • An order you can rely on. The nodes linked to one output run from top to bottom. Each one, with everything it starts, finishes before the next one begins. A node that waits for real work (a custom asynchronous node) holds back the node below it until it is done. Meanwhile the game and the other flows of the scheme go on.
  • Repeater and Sequencer, one rule each. A finite Repeater runs its rounds back to back, and an endless one waits one frame per round. A paused scheme holds the next round, For Each turn or Sequencer step until Resume Scheme. A Sequencer starts its next step as soon as every flow of the current step has ended (a flow started with Run In Background does not hold it). A Skip Sequencer Step that goes back to an earlier step starts it in the next frame, so such a loop never takes over a frame. Break Loop (was Break Repeater) and Break Sequencer end the round or step they are in. Its other unfinished flows stop, the dialogues they opened close, and the steps that have not started yet do not start. The Break’s own flow goes on. The nodes linked below the Break on the same output (or below a Run Together it comes from) still run, now after the loop, and its Done runs. Background flows are not part of the round.
  • Start checks always answer, at once and without allocating. A scheme’s requirements run on the main thread in a fraction of a microsecond. There is no async form and no loop to get stuck in. Every unmet requirement is reported, not only the first.
  • Clear errors. Some flows would otherwise run forever: a loop that leaves unfinished work behind on every pass, or a node that keeps doubling its flows. Such a flow is stopped with one message that lists the nodes involved, long before it uses up the memory. An exception in a node is logged with the node’s name and ends only that node’s visit. That holds also when it comes from a delay, a dialogue click or a trigger.
  • Waiting nodes clean up at once. Wait For Trigger and On Key Press stop listening the moment their flow ends, instead of checking every frame.
  • Saves resume exactly. A scheme saved while it was working through a long loop or a batch of links continues from where it stood.

Requirements instead of rules and the Validator

Section titled “Requirements instead of rules and the Validator”

A scheme says who may start it, against whom, and what has to stay true. It does this with one list, written on the scheme: its requirements. There are no rule graphs, no Success / Error / Warning nodes and no Validator any more.

  • A requirement is a short name, a few condition rows (the rows every check uses) and the sentence the player reads when it is not met (Reason; without one the player reads the name). Checked says when it counts: to start, while it runs or both. If not met (at the start) is Refuse and show why, Hide the scheme or Only warn. If it breaks (while it runs) is Run its output or Stop everything, then run its output. A requirement that cannot be answered (it reads a target and there is none) is not met. Every unmet requirement is reported, not only the first.
  • Requirement sets are lists that several schemes share (page Requirement Sets). A scheme includes one with + Use a Set…. It can also Copy into this scheme to count each requirement differently. The Meets row and the Check Requirements node ask a set from any check, Where list, Wait Until or decision. The Decisions page and the requirements of a scheme can Save as a Requirement Set…: the chosen requirements become one include at the first one’s place, in one undo step. Exporting one scheme as a draft also exports the sets it includes or reaches.
  • Before every node. What has to hold while a scheme runs is looked at before every node, so no node runs after a requirement broke. A requirement reacts once per break (the Validator ran its handler every frame). See Requirements and ends-when below.
  • One answer for every caller. scheme.CanStart(conspirator, target) and IM.Check(set, a, b) return a RequirementCheck: allowed, hidden, every unmet requirement with its reason, and the warnings. IM.Meets(set, a, b) answers yes or no. actor.GetSchemesFor(target, list) fills a list with the schemes the actor can start. actor.StartScheme(scheme, target, StartOptions.IgnoreRequirements) lets your code decide. Checks allocate nothing; there is no async form. scheme.CanStart has no Target Not Required special case: pass null for such a scheme.
  • The menu shows why. In the ready-made UI a scheme the player cannot start is listed greyed out, with the reasons (and the warnings under “Careful”) as its tooltip. Only a requirement set to Hide the scheme (or Hide On UI) leaves it out. In your own UI a row of a Bound List SchemesToStart shows them with {this.Reasons} and {this.Warnings}.
  • Try it answers a requirement list in Edit mode for any two actors. The Requirements section of the scheme settings reads as a sentence (“Olaf can start this against Erik when: …”).
  • The Demo and Example were converted. Their rules and Validators are requirement lists (the Demo 44 requirements, the Example 3). The Demo’s own spouse search through the Love scheme was removed with the match engine, because spouse matching belongs to a decision. Checking every pair of actors of the Demo and Example scenes gave the same pass / fail and hidden answers as the rules did.
  • AI authoring: drafts write requirements on a scheme and requirementSets. rules, a scheme’s rule and hideIfNotCompatible, and the rule nodes are refused with a message that shows the new form. The audit has 61 rules (9 strict); A-START-BLOCKED reads the requirements that count to start. Reinstall the skill and refresh the catalogue after updating.
  • New layout. A toolbar sits at the top (back / forward, page and graph pickers, a problems counter, Find). The Element Inspector and the Library panel are on the left, and the canvas is on the right. The canvas and nodes are dark in both editor skins; the panels follow your skin.
  • Settings live in the Element Inspector. Select a node to edit it. Select nothing to edit the graph itself: a scheme’s description, icon, requirements and list options, or a clan’s or family’s story, emblem, culture and policies. Nodes stay small and show a plain-English summary such as Target: Gold + 5, Gold ≥ 100 or 35% chance.
  • One input, named outputs. Every node has a single input and clearly labelled outputs (True / False, Found / Not Found, one row per dialogue choice). Connections have arrowheads.
  • Pick who a node acts on instead of wiring into special ports. You can pick Conspirator, Target, an actor the scheme named, a specific actor, a World actor or a relation of any of them (Target’s spouse, Conspirator’s clan head). Clans and families are picked the same way (Target’s Clan, Stormfang). See Any actor in any field, and accomplices.
  • Problems show where they are. A node with a missing variable, actor, requirement set or target gets a red (error) or amber (warning) icon in its header, and the reason under its summary. The toolbar counts the problems of the open graph and jumps to the next one.
  • Search menu grouped by purpose, in workflow order: Flow (with Branches and Loops), Time, Dialogue, Audio, Actors (Lists, Life, Family), Clans & Roles, AI (Opinions, Clans), Players, Variables, Conditions (Actor, Family, Clan, AI, Scheme), Events, Code and Notes. The AI (Mind), players and code nodes have their own groups and colours. Old group names still work where a tool takes one (see the upgrade guide). The familiar 1.x names are still there as presets, so typing Set Clan Variable, Is Parent or Spouse Count finds the right node. Drag a connection onto empty canvas to add and connect a node in one step.
  • Library panel: the open scheme’s variables (add, rename, change type) next to a read-only list of world variables. On the family and clan pages it lists the actors who are not placed yet.
  • Family editor: actor cards with portrait, age and culture. Drag actors from the panel onto the canvas and connect parents, children and spouses through the card’s ports. The editor refuses impossible links: a living parent younger than the child, more than two parents, marriages below the marriage age, loops. It also flags actors placed in two families. Clans have their own board, the Court (see Clans, roles and succession).
  • List pages for Actors, Cultures, Policies, Roles and Variables: searchable, sortable tables with an inspector and a Used By list for every entry. A safe delete tells you what uses an entry and cleans up after it. The Actors page reads pictures and models from file names into looks (import card), generates people and can create the scene objects for the listed actors.
  • Sharp icons everywhere: a new set of vector line icons for every node, page and toolbar button stays crisp on high-DPI screens and at any zoom. The window and Home use a vector logo.
  • Colours that tell what a node does. The header colour follows the node’s job, and the icon shows what it works on. Each job has its own colour: nodes that start a flow, show something to the player, check something, branch by chance, find an actor, clan or family, change the game, wait, tell your code, shape the flow (sequences, loops, jumps), succeed, fail or warn, and notes. Your own nodes choose one with Color = NodeColor.Check (and the like) in [GraphNode], or get the colour of their category.
  • The canvas stays where you left it. Every graph keeps its scroll position and zoom through script reloads, Play mode and editor restarts.
  • Layout commands: Compact Layout arranges a scheme graph from left to right. Chains of nodes sit on straight lines, and the branches of a node are stacked below each other in the order they run. Each entry node (Start, Jump Target, When a Requirement Breaks, On Game Loaded, End) gets its own band, and comments stay with the node they describe. Nothing overlaps, running it again changes nothing, and it never changes the order in which linked nodes run. Arrange Tree lays a family out generation by generation with clean parent-child lines. Connections are smooth curves with arrowheads.
  • A tidy Element Inspector. Settings are grouped into sections you can close (the inspector remembers which), with the node’s problems at the top and its comment at the bottom. Long texts such as a dialogue’s content use the full width and scroll inside their field after about twelve lines. Check boxes come first so their labels are never cut. Lists of choices, buttons and sounds show the selected entry’s settings right below the list, without nested boxes. Every dropdown looks the same.
  • Undo and redo for every edit, copy / paste / duplicate within and across graphs, Ctrl/Cmd+S to save, Ctrl/Cmd+F to find nodes by title, summary or comment, back / forward through what you opened, and an optional minimap. Every node can carry a comment.
  • New text format, the same in every text. Write values as {target.Name}, {conspirator.Gold}, {scheme.Spies}, {world.Year} or {text.key}. Add parts that depend on a condition with {if scheme.Gold >= 100}…{else}…{end}, and let pronouns follow the actor’s gender ({target.he}, {target.his}). Dialogue choices get an Available When field instead of $if[…] prefixes. Every text field has a { } menu that inserts tokens, and nodes warn about typos (“Did you mean Gold?”). Objectives and scheme descriptions now fill in their tokens, and a line hidden by a condition leaves no gap. The 1.x tokens are replaced; see the table in the Upgrade Guide.
  • Fast switching between graphs: the graphs you opened recently stay ready. Going back to a scheme, family or clan (or to its page) is immediate. A graph opened for the first time appears already framed instead of jumping into place a moment later. Undo, redo and changes made from other pages only update the nodes and connections that changed, instead of rebuilding the whole graph.
  • Live view in Play mode: the graph of a running scheme highlights its active nodes and recently used connections. Editing is locked while playing.
  • The editor no longer writes _Backup.asset files next to your database; save with Ctrl/Cmd+S or the menu. Window state is stored in EditorPrefs instead of PlayerPrefs, and all Graph Editor styles ship inside the plugin folder.
  • Leaving a selection: Escape, the × in the inspector header, a click below the last row of a table or Ctrl/Cmd + click on the selected row deselect. They bring back the page or graph settings (for example the Actors page’s Full Name and age groups).
  • Clearer setting names: Wait For Trigger and Wait Until Timeout (sec) (Wait Until said Give Up After), Fire / Wait For Trigger Fire On / Listen On (This Scheme, An Actor; was Scope), Play Sound and On Key Press Player Is (Play Sound’s first option is Every Player), Repeater Times, Create Actor Create, Find Actor Variable for the ranking, Find Actor / For Each Actor Among, sound Fade Out (sec). Only labels changed; field names in drafts and saved databases are the same.
  • Calmer inspectors, one style for all. Every node’s settings follow the same few rules. Sections and rows, nothing nested. The label at the left and the control at the right (only a long text has its label above). The { } button inside its field. Small icon buttons at the end of a row instead of button lines. A closed section says what it holds (no time limit · NPC answers at random). A list is one line per item, with one card for the selected item (choices, buttons, sounds, chance bonuses, conditions, requirements, random branches). Settings you rarely need wait behind one link (More options: icon, odds from, tags) and show by themselves once they hold a value. What a node will do is written at the bottom as Reads as, and Add a note replaces the Comment section. Show Dialogue went from eleven headings to four: Choices, Answers, Look and Sound.
  • Lists and checks read at a glance. A list inside a section is named like a row with its count, and adding is one small link under the list. A condition is one aligned sentence, and Try it answers in one line with the actors who pass in a tidy list. Node descriptions fit in two lines, and thirty more nodes have a documentation button.
  • Conditions read as sentences (“Candidate is Alive”), and alternatives are clear “or” groups. Every list has a real add button. Rarely needed settings sit behind a visible More options button (AI settings are never hidden). The Behaviour, Definitions and Court pages follow the same calm layout.
  • Light skin: fields in the panels are light. In Unity’s light skin the text fields, check boxes and object fields of the Studio’s panels were drawn dark, because the canvas forces Unity’s dark field style on its whole window. The panels now follow the skin; the canvas and its nodes stay dark.
  • One node, one class. Conditions, Compare Variable, Run Code (Invoke Method), Get From Code, Log and Comment are single classes. The separate 1.x rule versions are gone, and so are rule graphs (see Requirements instead of rules and the Validator).
  • Fewer, clearer nodes. One Set Variable and Compare Variable with a Scope (World, Actor, Clan, Family, Relationship, This Scheme) replace the per-scope nodes, and Wait Until (search Wait For Variable) waits for a variable. Count Relatives, Check Relation (Is Target the Parent of Conspirator?) and Same As replace 17 near-identical nodes. Search entries such as Is Parent or Compare Clan Variable make these nodes already set up.
  • Several conditions in one node. Every check node has + Add Condition: Compare Variable, Check Clan / Family / Role / Culture, Check State, Is AI, Has Heir, Compare Age, Count Relatives, Check Relation, Same As, Is Scheme Active, Has Policy, Check Requirements. Stack more checks of any kind below the first and join them with AND / OR. AND binds tighter, so A AND B OR C means (A and B) or C; the inspector spells the grouping out. Turn any of them around with NOT. Besides the checks of the nodes, a condition can be Meets (a requirement set) or Method Returns True. A condition whose actor, clan or variable is missing only stops the flow when the other conditions cannot settle the answer. With one condition a node looks and works exactly as before. The node shows up to three conditions on the canvas, and Find searches all of them.
  • Comparisons have an operator and True / False outputs (Compare Variable, Compare Age, Count Relatives) instead of six outputs that could fire at once.
  • Helper nodes became settings: Sound Class and Voice Class are now the Sounds and Voice settings of Show Dialogue and Show Announcement. Chance Modifier is the Bonuses list of Chance, and Choice Details became the tooltip texts and odds of each dialogue choice.
  • New nodes: Stop Wait ends a waiting Wait node (it replaces the old [STOP] port), and Store Actor puts an actor into a scheme Actor variable (search Set Actor Variable).
  • Show Dialogue keeps everything in the inspector: who sees it, the speaker, title, text, the style, Picture, Write The Text, Wait Until Clicked (on for new nodes; two or more choices always wait), Timeout, the choices (icon, Tooltip, odds, Available When, hide when unavailable, Tooltip When Unavailable, Preferred by AI), music, ambience, sounds and voice (see Dialogues and announcements). Show Announcement uses the same layout, with buttons instead of choices.
  • Merged nodes. Wait has Random Length (a random time between Seconds and Up To) instead of a separate Wait Random node. Cancel Other Flows has Keep Dialogues Open instead of a separate “(Keep Dialogues)” node. Wait Random and Cancel Other Flows (Keep Dialogues) remain search entries. Check Gender became a True / False check (Is: Male / Female), so it can be combined with other conditions.
  • Seven new nodes. Find Actor picks an actor without code. It looks among everyone, a clan, a family or someone’s relatives, narrowed down by conditions about the Candidate (for example Candidate is female AND Age ≥ 16). Then it takes the oldest, youngest, highest or lowest by a variable, or one at random. It works in requirements too (the Actors row). For Each Actor runs its Each output once for every actor of such a group, one after another (oldest first, youngest first, random, at most N), then Done. Break Repeater ends it, and saves resume it in the middle. Wait Until waits for a list of conditions, with an optional Give Up After. Create Actor (search Add Child for the child preset) brings a newcomer or the child of one or two actors into the world. Set Family, Set Heir and Switch Player (continue as an actor or as the player’s heir) round out the actor actions.
  • Compare two variables. Compare Variable (and the Variable condition) has Compare With: A value / Another variable, so Conspirator: Gold ≥ Target: Gold needs no code. Numbers compare across Integer and Float, texts and Enum options by name, and Bools and Objects with = and ≠. A pair that cannot be compared is flagged on the node.
  • Family policies in graphs. Has Policy, Add Policy and Remove Policy have Belongs To: Clan / Family, so a family’s policies can be checked and changed without code (existing nodes keep working on clans).
  • Search menu: rarely needed entries such as Compare Other Scheme Variable come last in their group.
  • Wait has Until Stopped, Repeater has Forever, and Play Sound plays for everyone or only when a chosen actor is a player.
  • Show Announcement: Audience and Show When. A message can be shown to every player, or only when a chosen actor is a player (the conspirator’s closing message, a warning to a player target). It can also be shown only when a condition holds (not scheme.Abandoned); otherwise it is skipped and the flow goes on. No more Is AI checks in front of every announcement.

Every node was reviewed for flaws, silent failures and confusing names. Old names stay findable in the search menu, in drafts and in saved data. New outputs and settings are added behind the old ones, so existing graphs behave as they did unless a note below says otherwise.

Clearer names

  • Run Code (was Invoke Method). Its third output is No Answer (was Null): the method gave no answer or could not be called.
  • Run Together (was Parallel Flow): the description now says what it does. It starts its links one after another, top first.
  • Break Loop (was Break Repeater; works on Repeater and For Each Actor). Set May Inherit (was Set Inheritor).
  • End’s third output is No Result (was On Neutral). Wait For Trigger’s third output is Timed Out (was Timeout, as on Wait Until). Gather Actors’ second output is Not Found (as on Find Actor).
  • Audience is the one label for who sees or hears Show Announcement, Play Sound and Play Music (was Show To and Play For). Check Role says Which kind of role, and the Dead Without Inheritance state reads Dead (no inheritance).
  • Is AI keeps its name and now reads Target is AI-controlled (no human plays them).
  • Two nodes are gone because another node does their job. Wait For Variable: use Wait Until with a Variable condition (the search entry Wait For Variable makes one). Check Actor: use Same As with The Same Actor.

New outputs and settings

  • Sequencer and Repeater have a Done output. It runs after the last step or round, also after a Break, with no steps and with a Repeater of 0 rounds. It does not run when Cancel Other Flows ends the Sequencer or Repeater. A broken For Each Actor runs its Done too.
  • Set Role has Not Given; Set Conspirator, Set Target and Add To List have Not Changed. When nothing is linked to the new output, the flow goes on through Out exactly as before. Add To List no longer stores a refused actor in Also Store In.
  • Set Variable can now set Actor, Clan and Family variables of every owner (World, each actor, relationship, clan, family, This Scheme). You choose the value with the actor or clan / family picker. If the value is not there, the variable is emptied and the flow goes on. Store Actor does the same for a missing actor instead of stopping.
  • Check Requirements is a condition node. Stack more conditions, join them with AND / OR, turn them around with NOT, and choose who a requirement set is checked for and against (outputs Met and Not Met).
  • Same As can compare two actors (The Same Actor). Count Relatives and Check Relation offer all twelve relations (including nephews, nieces, uncles, aunts and brothers- and sisters-in-law), and so does Among: Relatives. Check Marriage has Is divorced.
  • Has Heir and Hand Over Role have Which Role: a court role (as before) or the actor’s personal role, which then passes to their personal heir.
  • Switch Player has Whose Player: This machine’s player (old nodes) or Whoever plays an actor (new nodes start with the Conspirator). When nobody plays that actor, the node takes Not Switched.
  • Stop Wait has Let It Go On: the stopped wait then continues through its first output. It can now stop Wait For Trigger too.
  • Random Branch has an optional weight per branch (the branch labels show the percent). Without weights all branches stay equally likely.
  • Log has Also In Released Games (off). A Log writes in the editor and in development builds only, unless this is on.
  • Play Music has a Stop Music preset, and Set Objective starts empty. New Repeaters start with 3 rounds. Compare Variable says that text comparisons respect upper and lower case. Compare Other Scheme Variable has an example.

Loops, waiting and pausing

  • Run In Background no longer holds the Sequencer step, Repeater round or For Each Actor turn it was started in. The next one starts without waiting (a loop or Sequencer inside a background flow still counts its own rounds and steps). Background flows do not keep the scheme from ending. When the scheme’s End flow starts, background flows end and the dialogue windows they opened close.
  • Break Loop and Break Sequencer end the other branches of the round or step and close their dialogues. The nodes linked below the Break on the same output still run. (Before, a second Break in another flow could end the outer loop.) A linked Done runs once, and waits while the scheme is paused. A Sequencer or Repeater warns when Done is linked and a step or the round leads back to it, because each pass then keeps a little memory. Cancel Other Flows now stops the flows linked below it in both modes; Keep Dialogues Open only keeps the windows open.
  • Pausing is complete. A paused scheme also holds the next Sequencer step and Wait Until’s first check. It keeps the first trigger or key press that arrives and handles it when you resume. A scheme that ends while paused is resumed for its End flow. Pause Scheme says that only code or another scheme can resume it. Play Sound clips pause and resume with the scheme.
  • Wait: a save made in the frame the time runs out no longer starts the wait over after a load. Wait Until’s first check also waits while the scheme is paused.
  • Neutral end: a scheme that ends with no result now raises onSchemeEnded with SchemeResult.None.
  • On Accomplice Joined and On Accomplice Left keep their own accomplice for the flows they start, also when two join in the same moment. On Key Press reacts to the player who plays that actor on this machine. Set Target tells the new target that it takes part (the menus update).
  • Set Culture, Add Policy and Remove Policy stop the flow on an unknown ID, as Set Clan does.

Your code

  • One attribute for your code: [IntrigueMethod]. It replaces [InvokeMethod], [GetActor], [GetDualActor], [GetClan], [GetFamily] and [GetActors]. What the method returns says what it is. void, bool or bool? is a check or an action (null = no answer; this replaces InvokeResult). Actor gives an actor, (Actor, Actor) two actors, and Clan / Family a clan or family. A list, an array or another class that implements IEnumerable<Actor> gives a list of actors (a struct that implements it is left out). What it takes says what it needs: (), (Actor conspirator), (Actor conspirator, Actor target), (Scheme scheme) or (IntrigueCall call). The last one carries the actors, the candidate of a Where list, the For Each actor, the accomplices and the scheme in one value. A method that takes the scheme works only while a scheme runs. Every other list works everywhere, including requirements, requirement sets and the AI pages. [IntrigueMethod("Name", Description = "…")] names the method for graphs and shows the description in the picker. There is no scheme form and rule form any more.
  • Static methods need no object in the scene. An instance method of a MonoBehaviour is called on the one active, enabled object of its class. When none or several are found, the scene is searched again on a scene load or unload and on Register / Unregister / IntrigueMethods.RefreshHosts(), else at most every 30 frames. An object that answered and was then disabled or destroyed is looked for again at once. IntrigueMethods.Register(host) names the object that answers (any class: a plain C# service, a ScriptableObject). Two methods with one name are both listed as a conflict, and neither is called until one gets another name.
  • Found once, before anything runs. The methods are read when the manager starts (in the editor from Unity’s type cache), on no extra thread. IM.IsSynced, “the methods are still being loaded” and the startup log line “Successfully loaded attributes” are gone. A call that gets no answer says why once, in plain words: unknown name, needs a running scheme, no object, several objects, an exception thrown by your method.
  • For and Against. Run Code, Get From Code and the Method condition have two settings, For and Against. These are the actors the method receives as its conspirator and target. They start as the conspirator and the target, so old graphs behave as before; a new Method row in a Where list starts with For = Candidate. The rows show only when the chosen method takes those actors.
  • The pickers and the Intrigue Manager show what Intrigues sees. A method picker lists each method with its signature and description. It marks methods that are only in the editor (“editor only: not in a build”) or need IntrigueMethods.Register, and Custom… says why a typed name cannot be called. The Intrigue Manager inspector has a Code Methods section: every method (click opens the script), the methods that were left out with the reason, and name conflicts.
  • The methods the game can call are IntrigueMethods.All / Find / LeftOut / Conflicts, IntrigueMethods.Check(name, call) and GetActor / GetActorPair / GetClan / GetFamily / GetActors. The twelve IM.Schemer* / Ruler*Methods tables, IM.Invoke, InvokeExtensions and IM.SystemMethods are gone. A script that still says [InvokeMethod] no longer compiles: see UPGRADE_GUIDE.md. The shipped Demo and Example methods were rewritten.
  • Method details: IntrigueMethods.GetActors returns an IReadOnlyList<Actor>. It gives no list when the method cannot be called or throws, and an empty list when the method returns no list. IntrigueCall is taken by value: a method that takes in, ref or out IntrigueCall is left out. A marked override of a marked virtual method of the same name is one method, not a conflict. A left-out method that has the name of a callable one is shown as information under Name conflicts; the callable one is called. Where the platform cannot give a method a typed call, it is called through reflection instead, with one warning (slower, and every call allocates), and it still answers.
  • Custom nodes: NodeData.OnCreated() sets defaults for nodes an author creates; [FormerOutputName(index, "Old Name")] keeps a renamed output readable in drafts.

Editor

  • Sequencer links show step numbers (and the running step in Play mode). Skip Sequencer Step counts from 1 (“After this step, go to step 3”) and warns about a step that does not exist. Break Loop, Break Sequencer and Skip Sequencer Step warn when nothing leads to them. A Repeater tells you when a Forever round never waits, and Wait warns about an Until Stopped that nothing stops.
  • Drafts and AI authoring: the old audience keys Show To and Play For still work. The catalog the AI reads is more compact.
  • The Show Dialogue inspector is shorter. Staging, Audio, Sounds and Voice start closed with a one-line summary, and a choice’s icon, tooltip and odds sit under More. Wait Until Clicked only appears when it can matter.
  • A check node that reads Target in a scheme that does not need a target shows a warning. A condition that cannot find its actor says in the log which node stopped. Set Clan says that the actor loses their court role in the old clan.

Who inherits a role is now part of the role. It reads as a sentence and gives the same answer in the editor and in the game.

  • A succession rule on every role. Passes on is Not inherited (a council seat: empty when the holder dies), To relatives or Decided in code. For relatives you list who is asked, first to last: children, grandchildren, siblings, nephews and nieces, parents, grandparents, uncles and aunts, spouses, siblings-in-law, family members, clan members. Then you set a gender law (Anyone, Men first, Women first, Men only, Women only) and an age law (Oldest first, Youngest first). Follow family lines puts a person’s own children right after them, so a dead heir’s children take their place. You also set a minimum age and who may inherit (anyone, members of the clan, members of the holder’s family). Presets: Eldest child, Youngest child, Oldest in the family, Highest rank in the clan. The editor shows the rule as one sentence: “Passes to the eldest child, sons first; then siblings, parents, uncles and aunts. Each person’s own children come right after them.”
  • Deterministic. The same world always gives the same heir, on every machine and after save and load. Ties are broken by actor ID. Nobody steps down or sideways: a candidate who already holds a role of equal or higher rank is skipped. A chosen heir (Set Heir, SetHeir) comes first while alive and allowed to inherit.
  • Laws per clan. A clan can replace the rule of a role with its own law (Stormfang: men only; Arcanum: women first). Do it in the editor or at run time with clan.SetSuccession(role, rule).
  • Clans ▸ Court. The clan canvas became a board. It has one band per court role in rank order with its seats (“Councillor · 6 of 6”) and dashed empty seats. The heir stands beside every one-seat inherited role (“Heir: Erik, son, 23”), and the members without a court role are listed too. Drag a card onto a band to change the role; drag an actor from the Actors list to add it. Select a holder to see the whole line of succession (“If Olaf dies today”), with the people who were skipped and why.
  • Pages grouped by task. The Page menu has six entries. Clans holds the tabs Court, Roles and Policies; Actors holds People, Looks, Cultures and Traits. The Roles page edits the succession rule in the role’s inspector. It lists every holder with their heir per clan, and warns when a clan has more holders than seats. “+ New Policy” and “New Culture…” in the clan and family settings create the item in place.
  • New node Hand Over Role (Scheme graphs): an actor steps down and their heir takes the role at once (Passed; Store In keeps the heir under a name). Without an heir, the actor keeps it (No Heir).
  • For your scripts: actor.Heir is cached and costs a few nanoseconds to read. Also new: actor.GetLineOfSuccession(list), actor.Successor (who inherited from a dead actor), actor.Abdicate(out heir), clan.Head, clan.GetHolder("Leader"), clan.FreeSeats(role), role.Succession, role.Rank; IM.onRoleInherited and IM.onRoleVacant (with the cause: death, death without inheritance, abdication, left, promoted, code). Plug in your own order with Succession.CanInherit (refuse people: “prisoners cannot inherit”) or Decided in code + Succession.Register("Elders Vote", ...). Fill an empty seat from code with Succession.Fill. SetRole now returns whether the role was given (false when the clan has no free seat).
  • Heirs in the UI: the heir of a character is {this.Heir} with {this.HeirRelation} (“Son”, “Chosen heir”). The actor inspector shows the live heir with the relation in Play mode. The Demo tooltip names the heir as “son”, “granddaughter through Erik”.
  • Saves keep the succession. A chosen heir is saved even when they are dead or wake up later, and so is the actor who inherited. Clan laws are saved. Role, policy, culture, clan and family names are saved as written, so {text.key} names follow the language after loading, and their icons survive a restart.
  • The Demo and Example roles were converted. Demo Leader passes to the children, then spouses, siblings, grandchildren and parents, sons first. The Demo’s Knights, Doctors and Engineers pass their calling to their children. The Demo’s player continues as their heir after death.

Clans that stand under clans, live, ally and remember (new)

Section titled “Clans that stand under clans, live, ally and remember (new)”

A kingdom over a duchy over a county, a house that branches, an alliance that ends by itself, a history of it all. Clans can now do these, in the editor and in your scripts.

  • A clan stands under another clan. Pick “Stands under” in a clan’s settings, or drag a clan onto another in the new Clans overview (a tree of all clans). A clan stands under at most one clan. Making a circle is the one thing refused, and the page says why. Nodes, rows, texts and the AI can ask who stands under whom. They have the clan their clan stands under and the top clan above; the pools Clans under their clan, The clan their clan stands under, Clans under the same clan as theirs and Clans under their clan, at any depth, Members of a clan and the clans under it; and the amount Clans under their clan.

  • A clan has a life. New nodes Found Clan, Change Clan, End Clan (disband, or merge into another clan), Set Clan Law, Check Clan Structure (also a row), For Each Clan and Wait For Clan Change. A clan that loses its last living member can be disbanded (the world’s rules for clans, on the overview). A disbanded clan stays in the world, but the AI and the pools skip it, and it forms again when someone joins. New events IM.onClanFounded, onClanDisbanded, onClanReformed, onClanMerged, onClanExtinct, onClanOverlordChanged.

  • A face and a start value. A clan can have a motto, two colours, a founder and a founding date before the story starts. Each clan can start with its own value of an Each Clan number (a treasury of 500 here, 50 there).

  • A clan without a head can be led from above: Behaviour ▸ Settings ▸ Clans ▸ A clan without a head ▸ is led by the head of the clan it stands under.

  • Relations between clans. A kind of tie between clans now says how long it lasts and what it must keep meeting (a requirement set, checked every N days). It also says the attitude it brings (the AI keeps it while the relation stands), a group that ends the others (“war or peace”), the words a clan lists it with (“allied with”) and who knows of it. Clans ▸ overview ▸ Relations is a table of the clans against each other. Click a pair to give them a relation for the start of the game, with its own days, or an attitude. Every clan page lists its relations. New events IM.onClanRelationStarted / onClanRelationEnded; clan.Relate, EndRelation, HasRelation, GetRelations. The Tie row and Has Tie can ask how many days a relation has lasted or has left. Add Tie takes terms (for N days, until a date, until ended).

  • Who may change a law. A policy can name a requirement set for who may adopt it and one for who may drop it (Policies page). Ask with the new May Change Law row and node, or clan.MayAdopt(policy, by) / MayDrop. Add Policy and Remove Policy never ask. A clan or family now holds a policy of any type: it is listed, saved and loaded.

  • Named levels on a number. A number can have named levels (“Obscure” from 0, “Known” from 100) on the Variables page. Rows and nodes can test a level, and amounts can read the level number. Texts can show {target.Renown.level}, and IM.onVariableLevelChanged tells you when a level is reached.

  • The chronicle. Switch on Home ▸ Settings ▸ Chronicle and the game writes a dated history of each clan and of the world. It records when a clan was founded, joined another, disbanded or died out, got a new head, began or ended a relation, or reached a named level. Read it on each clan’s page, in texts ({target.Clan.Chronicle}, {target.Clan.LastChronicle}, {target.Clan.Relations}) and with clan.GetChronicle(list). Write your own lines with Write In The Chronicle. Change the sentences on the Sentences list (or the Texts page); the numbers that are written are your choice. Every player reads the chronicle.

  • Multiplayer. The add-on carries who stands under whom, the clans’ faces and life, public relations, policy conditions and the chronicle. A relation kind’s Who knows of it is Only the two clans or Everyone. The first is the default: the relation stays on the host. With Everyone, every player of a multiplayer game sees it, and it is written in the chronicle. Protocol 11.

  • Other: Drafts for AI authoring gain the keys chronicle, relations on a kind of tie, standsUnder, motto, colours, founder, foundedYearsAgo, startValues, clanRules, toAdopt / toDrop and above: / top:. The Change Clan, Found Clan and Wait For Clan Change nodes only show the fields that matter.

  • Seats per clan. A clan can have its own number of seats for a court role (“this clan has no Chancellor”, “five councillors here”). It sits in the clan’s law next to the succession rule, or comes through its culture’s law; without one, the culture or the role says. A smaller number never takes a role from anyone while the game plays. The clan’s settings, the Set Clan Law node, the Cultures page and drafts (seats on a law) set it. The court shows the clan’s seats and marks the holders a new game would leave without the role.

  • Families can be branches of families. A family can be a branch of one other family (a cadet house under its main house), and a family and its branches make a house. Code and nodes can ask (BranchOf, TopFamily, HouseHead, the Check Family Structure node and the Family Structure row). They can make a branch (SetBranchOf, FoundBranch) and react (IM.onFamilyBranchChanged). Texts can say {target.Family.BranchOf.Name}, .House, .HouseHead and .Branches. The Families page has a Houses view (drag a family onto another to make it a branch), and the family’s settings have a Branch of section. Members, marriages and the head do not change.

  • Saves. A save no longer carries an empty list of relations between clans; relations that exist are saved as their own entry. A development save from before this change loses its relation terms.

A role is now one of two kinds, on the same system. A court role is a seat in a clan’s government (Leader, Chancellor, General). A personal role is a calling of the person (Doctor, Knight, Priest). A clan is a body that governs itself (a kingdom, a republic, a guild, a company), and its court roles are its government. A family is blood; a clan is membership.

  • One of each. An actor holds at most one court role and one personal role, so a queen can also be a doctor. Both kinds have titles, an icon, a rank and a succession rule, and work with the same nodes, conditions and pages. “King Olaf”, “Doctor Ingrid”: an actor is addressed by the title of their court role, else by the title of their personal role.
  • A court role belongs to the clan. It has seats per clan, and its rank orders the court and decides the clan’s head. It stays with the clan: an actor who leaves or changes clan leaves the seat empty (the vacancy is reported). A personal role belongs to the actor. It has no seat limit, is kept in every clan and without one, and never leaves an empty seat. A doctor’s daughter can inherit her mother’s calling and stays in her own clan.
  • Nothing is refused. Either kind can be given to anyone, and a role’s kind can be changed while people hold it. A clan card that names a personal role gives the actor that personal role. The editor shows an information line, never a problem. The only thing that can fail is taking a seat that is already taken, unless you ask for the holder to leave it.
  • Appointing. clan.Appoint(actor, role, replace) gives a court role of the clan. The actor joins the clan first when needed. With replace the holder leaves the seat; without it, nothing changes when every seat is taken. clan.Dismiss(role) empties it, and clan.GetPersonalHolder("Doctor") finds a member with a personal role. actor.PersonalRole, actor.PersonalTitle, actor.PersonalHeir, actor.HasRole("Doctor"), actor.RoleDismiss(RoleKind.Personal), actor.onPersonalRoleChanged and IM.GetRoles(RoleKind.Court, list) are new. actor.SetRole gives a personal role to the personal slot. IM.onRoleInherited is also raised when a personal role passes on; IM.onRoleVacant stays about seats.
  • Nodes. Set Role has If the seat is taken: Nothing changes / The holder leaves the seat (search Appoint to Court Role). Without a role, it has Dismiss from: Court role / Personal role (search Dismiss from Role). Its role picker lists both kinds (“Doctor · personal”). Check Role and the Role condition have Which role (“Target holds no court role”, “Target has no personal role”). New node Get Role Holder: who holds a court role in a clan, or the clan’s head (search Get Clan Head). Found stores the holder in Store In, and Vacant runs when the seat is empty.
  • Text tokens. {target.PersonalRole}, {target.PersonalTitle} and {target.Clan.Head} (more may follow: {conspirator.Clan.Head.Title}). {target.Role} is the court role; {target.Title} falls back to the personal role’s title.
  • Roles tab. A Kind column and a filter All · Court · Personal. Seats show only for court roles, and holders of a personal role are listed per actor with their heir. Add Roles ▾ adds a ready set in one click: Kingdom court, Republic cabinet, Tribal council, Company board or Callings (personal roles). Names you already have are skipped. Changing a role’s kind says what happens to its holders (“1 keeps it as a personal role; 2 do not: they are already a Doctor.”). The Description is labelled What the role does.
  • Court board and People page. Bands show only for court roles, and a card shows its actor’s personal role as a small icon. The card inspector and the People page have a Personal role picker, and the succession preview shows who inherits each role. A card that names a personal role is marked with an information chip, and Move to Personal Role tidies it up.
  • Chance of an upset. A succession rule can have a chance (0 % by default, up to 95 %) that each person in line is passed over. The roll is not made at the moment of death. It follows from the game’s world seed (IM.WorldSeed, new for every new game, saved, IM.SetWorldSeed for replays and tests). So within one game the heir is known in advance, shown in the menus and the same after loading a save, while two new games can crown different heirs. A chosen heir and rules decided in code are never rolled. If everyone is passed over, the first in line inherits. The editor shows the odds (“Rolf 70 % · Ulrik 21 % · Thorstein 6.3 %”).
  • Clan menu built from the database. The clan window of the ready-made UI lists the court from the database. It shows one card per court role the clan fills (Bound List Court, also vacant seats), highest rank first, each with its holders (SeatHolders). Then come the members without a court role. A character shows the court role, else the personal role ({this.Role}, {this.PersonalRole}).
  • AI authoring. Drafts take roles[].kind ("court" or "personal"), actors[].personalRole and succession.upset. A clan member whose role is a personal role is stored on the actor with an information note. The skill explains what a clan is, the two kinds and the starter sets.
  • Saves keep both role slots, each role’s kind and the world seed (older save formats are refused).
  • The Demo’s court. Each clan has a Leader (King / Queen, inherited), a General, a Chancellor, a Steward, a Spymaster and six Councillors (the former Royalists), all appointed. Knight, Doctor and Engineer became personal roles, so 40 actors keep their calling and five doctors also sit on a court. When a seat falls empty, a Leader played by the computer names someone after three seconds (the strongest Knight becomes General). A Leader you play names the court with the new scheme Appoint to Court. Stormfang’s crown passes with a 30 % chance of an upset, so its heir differs from game to game. A played character who dies continues as the heir of their court role, else of their personal role, else as the oldest living member of their family. New role icons for Chancellor, Steward and Spymaster.
  • Fixed with it: an edit on the Roles, Actors, Cultures, Policies or Variables page, or on the Court board, could land in another database. That happened when the Graph Editor switched databases while a field still had the focus. Edits now always land in the database they were made for.

A family is now a house with a memory. Everyone knows the family they live in and the one they were born into. A marriage is a real object with a home partner and a state. Every wedding, divorce, birth and death follows one set of world rules that you can read as sentences.

  • The tool blocks nothing. Several spouses on both sides, a marriage between relatives, a child bride, two of one gender, a wedding with the dead, a parent younger than the child: all allowed unless you switch a rule on. Every restriction is a world rule that is off by default. Only what cannot exist is always refused: marrying oneself, marrying someone one is already married to, divorcing someone one is not married to, a third parent, a person as their own ancestor. The editor never refuses or flags a family tree you draw for breaking a rule. Where a tree breaks a rule that is on, it shows a dim information line and counts no problem.
  • Marriages. Each marriage knows its two partners and its home partner (whose family the couple lives with and the children are born into). It knows whether the other partner moved into that family because of it, and how it stands: Married, Widowed, Divorced or Past. Several spouses are a normal case everywhere: lists, texts, divorces, births, the family tree and the menus.
  • Families as houses. An actor is in one family or none and was born into one family or none (“Frostborn, born Eldrake”). A wife who marries into another house keeps her birth family. A child is born into the home parent’s family, joins that parent’s clan without a role and takes that parent’s culture. family.Head names the head of the house (highest role rank, then born into the family, then oldest). family.Lineage lets one family pass through its mothers while the world passes through fathers.
  • World customs and restrictions (Families page, family settings, World customs (all families)). Customs decide what happens: Children belong to the father’s family, the mother’s family or the higher-ranking parent’s family; Spouses join the family (on); A spouse’s clan (unchanged, joins if they have none, joins); where a child of unmarried parents belongs; whether children join the parent’s clan. Restrictions decide what is refused in the running game: Spouses at a time, Marriage age, Relatives may marry (anyone, not close relatives, no relatives), Two of the same gender may marry, Only the living marry, divorce and have children, A parent must be older than the child. There are two presets. Open world forbids nothing and is the default. Traditional means one spouse, marriage from 16, no close relatives, only the living, and parents older than their children. The settings end with the rules as sentences: “Children belong to the father’s family. Spouses join that family and keep their birth family. Nothing is forbidden.”
  • Divorce and death. A divorce ends one marriage. The partner who moved with it goes to the family of their other marriage, else back to their birth family. The children stay where they are and keep both parents. A death turns a marriage into a widowhood. The widow stays in the family and may marry again (she is his widow and another man’s wife, unless Spouses at a time needs the place). A widow may divorce her dead husband to go home.
  • Births. actor.HaveChild(otherParent) (and the Create Actor node) creates the child with its parents, family, birth family and clan already set when IM.onRuntimeActorCreated and your RuntimeActorHandler see it. A mother without a culture, or a culture without names, no longer throws (the child is called “Unnamed” with one warning).
  • Graph nodes. Marry has Lives with: As the world’s custom says (the default for new nodes), the actor’s family, the spouse’s family, or each keeps their family with the children going to one side. It has a second output Refused for a wedding that is not allowed. Divorce can end the marriages with every living spouse or with one named spouse (also a dead one), and has Stays In The Family. Its second output Not Married runs when no marriage ended. The node warns when Divorced is linked and Not Married is not, since the flow would end there. Create Actor as a child has Born into (as the marriage says, a parent’s family, no family) and Clan (as the world says, the parent’s clan, no clan). New check Check Marriage (node and condition row): is married, is widowed, was never married, is married to, was married to, can marry (search Is Married, Can Marry). Set Family moves are never undone by a later divorce.
  • Text tokens. {target.BirthFamily} (with .Name or a family variable after it), {target.Spouses} (the spouses of every standing marriage, one link per name, “Sigrid, Erika and Lena”), {target.SpouseCount} ({if target.SpouseCount > 1}), the flags {if target.Married} and {if target.Widowed}, and {birthfamily} in the Full Name Format. {target.Spouse} is the first spouse and stays the same when later spouses are added.
  • For your scripts: actor.Marry(spouse, terms) returns the Marriage, or nothing with the reason in the log. actor.CanMarry(spouse, out check) gives the reason as a sentence: “Rolf is 12; marriage needs 16”. Also new: actor.Divorce(spouse), actor.DivorceAll(), actor.HaveChild(otherParent, options), actor.Marriages, actor.MarriageWith(other), actor.Spouse, actor.SpouseCount, actor.GetSpouses(list), actor.GetFormerSpouses(list), actor.IsMarried, actor.IsWidowed, actor.MaritalStatus, actor.BirthFamily. JoinFamily, QuitFamily and AddChild now return whether they worked. Events: IM.onMarried, IM.onDivorced, IM.onWidowed, IM.onChildBorn (with who moved and which families were left and joined) and actor.onWidowed, actor.onChildBorn. Every change is complete before the first listener runs, and the events come in one fixed order. IM.FamilyRules changes the rules from code. FamilyLaw.CanMarry, CanDivorce and CanHaveChild let your game refuse (“a prisoner cannot marry”), and FamilyLaw.DecideHome chooses the home partner.
  • Families page. A card of someone born elsewhere shows “born Eldrake” (click to open that family). A card with parents, children or spouses in another family shows “↗ 2” with their names. Marry into another family… (card menu and member inspector) moves the card to the partner’s family in one undo step and keeps the parent links across families. Send back to the birth family undoes it. The member inspector has Born into, Marriages, Children and Parents with “+ Marry…”, “+ Add Child…” and “+ Add Parent…” (from any family). Cards may have any number of spouse links in either direction. The editor only refuses a link with oneself, a second link for the same couple, a third parent and a parent cycle. Deleting a family or a card also removes the links other families had to it, in the same undo step. The Actors page reads “Frostborn (born Eldrake)”. The actor inspector shows the birth family and, in Play mode, “Married to …”, “Widow of …” or “Divorced”.
  • Menus and tooltips. The birth family is {this.BirthFamily} (“Born into Eldrake” in the ready-made character window, for people who married into another family). The actor tooltip of the Link Handler (names in dialogues and in linked texts) lists every living spouse (“Spouses: Olaf, Rolf”), or “Widow of Gunnar” / “Widower of …”.
  • AI authoring. Drafts can set the world rules (familyRules: a preset or any of the customs and restrictions). Rules somebody set before are changed only after a yes. Drafts can also set a family’s lineage, members born elsewhere ({ "actor": "Erika", "bornInto": "Eldrake" }) and couples whose partners or children live in other families. The check refuses only what cannot exist (a third parent, a cycle, a person twice in a couple, an unknown birth family). The old “at least 16” and “parent older than the child” errors are gone, and a tree that breaks a rule that is on gets the information A-FAMILY-RULE. New recipe A marriage between two houses.
  • Saves keep the families. Saves hold marriages with their home partner, state and order, birth families, the marriage that put someone into a family, the world rules and each family’s lineage. A load gives the same families, spouses and heirs as before saving, whatever order the actors load in. Older save formats are refused.
  • Faster start. Relations are linked by ID while the actors wake up (complete after the scene’s last Awake, before Start), instead of every actor broadcasting to every other one. Checking a wedding allocates nothing.
  • The Demo keeps its families as they were (60 couples, 167 children, five people with several spouses). It plays with open rules except one: its world says Relatives may marry: not close relatives. The Love scheme requires Conspirator can marry Target, so it cannot pair a son with his mother. Babies are born through HaveChild and get a portrait that fits them. The Love scheme’s Divorce leads to the wedding through both of its outputs.

The Families page now draws a family as a tree you can read, however big it is. Nothing about it is stored in your database.

  • Tree and Free. Tree lays the family out for you, left to right. Generations are columns, a person’s marriages are rows under them, and each marriage’s children branch from its own row. Everyone has exactly one card. A cousin who is also a spouse, or a daughter whose card is in another family, shows as a small dashed reference row; click it to go to the real card. Free is the page as it was: cards stay where you put them. A family opens as Tree until you pick Free. The choice is remembered per family (per user, outside the database). Switching never moves a card you placed and never marks your database as changed.
  • Closing branches, Focus and Find. Close a branch into a pill (“13 descendants · 13 alive”), or open the tree to generation 1, 2, 3, 4 or All. A big family opens with its deeper branches closed, so only a few hundred cards are drawn. Focus (Shift+F) keeps the line from the founder to one person open and folds the rest. To move around you have a breadcrumb, Back and Forward (Alt+Left / Alt+Right), a generation header, keyboard moves (arrows, Space, Home) and a Find that also finds people in closed branches. Changes glide for a moment, and the card you work on stays where it is on screen.
  • Rows and Far zoom. Cards or Rows (one line per person) per family. Zoom out below 50 % and every person becomes a bar. Names show for the head, the selected person, search hits and people with many descendants. A legend and faint bands between branches help too, so a family of hundreds can be read at a glance.
  • Show menu. Living only, Bloodline of a person, Hide people from other families (each shows a chip you can click away), Show succession, oldest-first brothers and sisters, Animate and Map. Show succession numbers the heirs of a seat the way the Court’s heir preview does, and marks who is passed over and why.
  • Relations. Select two people and How are these related opens the branches between them. It draws the path in gold and says it in words (“Tancred is Alaric’s first cousin once removed”).
  • Editing in the tree. Drag a card, or an actor from the Actors list, onto another card to make it a child, a parent or a spouse. (The Marry dialog still asks whose family the couple lives with.) The + on a card creates a new child, spouse or parent and links them in one undo step. Move up / Move down orders brothers and sisters. “Show the children here instead” chooses where a couple’s children hang. Every edit is one undo step.
  • Warnings, never refusals. Your world rules might stop a wedding or a birth in play: marriage age, number of spouses, relatives, same gender, only the living, a parent older than the child, a culture’s own customs. Then the drop menu and the + say so, and still do it. A card that breaks a rule that is on shows a “rule” chip with the reason. Nothing is ever counted as a problem.
  • Cards, the actor list and the info card show the actor’s look (picture for age and state, quick picture, or the model preview).
  • Top to bottom, and a house in one tree. Switch a family to Top to bottom (parents above children; an optional Centre parents option). Open the small toggle on a dashed other-family row to see that family’s branch hanging in place, read-only.

A dialogue is now three things: a text that carries its own rhythm, a speaker shown with name and portrait, and a style that holds the mood. Choices, conditions, odds, AI picks and the outputs of the nodes work as before.

  • Text that is written, not pasted in. The text appears at a reading pace (45 letters per second by default) with short rests after commas, full stops and line breaks. A click on the window, Space or Return finishes it at once. The choices fade in when the text is complete and can be clicked a quarter of a second later, so the click that finished the text never picks a choice. Write The Text (was Typewriter) is on for new nodes; when it is off, the text appears at once.
  • Pacing marks in the text, in the same braces as tokens: {pause} or {pause 1.5}; {wait} stops until the player clicks, and a small continue sign shows, so a long report reads in beats; {slow}, {fast}, {normal}, {speed 1.5}; {cue Name} is a timed sound of the style and a moment your code can react to; {at 2.5} marks where a voice-over reaches that place; {em}…{/em} uses the style’s accent colour; {shake}…{/shake} and {wave}…{/wave} animate the letters. They are in the { } ▸ Pacing menu of the dialogue text and are checked like tokens (“Did you mean {pause}?”). They work in the text of Show Dialogue, Show Announcement and DialogueManager.OpenDialogue. Anywhere else they print nothing, and the node says so.
  • Colour for a word. { } ▸ Colour… in every player-facing text gives the selected words a fixed colour with TextMesh Pro’s own <color=#RRGGBB> tag. You can pick Red, Gold, Green, Blue, Purple, Grey, or any colour from the picker; Remove Colour takes it off. A colour tag that is not closed or not a colour is a warning on the node. Emphasis ({em}) is the colour that follows the style.
  • Styles (Create > MrW > Intrigues > Dialogue Style). A style holds the picture, frame, colours and fonts, and how the speaker is shown (nothing, the name, name and portrait, or both sides of the conversation). It sets the writing speed and its rests, whether the choices wait for the text and whether the player may skip. It sets the sound of writing (a short sound per letter, or a quill that scratches while letters appear), music, ambience, window sounds and named cue sounds. It also sets how the window opens and closes (fade, rise, pop) and Soft Letters (letters fade in and rise into place). A dialogue names its style, so changing a style changes every dialogue that uses it. The Dialogue Manager has a default style and an announcement style; Default and Announcement ship with Intrigues. The style’s inspector says which dialogues use it and plays a live preview beside its settings.
  • Who speaks. Speaker: Nobody (narrator) / An actor and Who: the window shows the actor’s full name and portrait as the style says. A missing actor only hides the name; the dialogue still opens.
  • Pictures. Picture (was Background) overrides the style’s picture for one dialogue. Picture From Tags picks one from the Sprite Database by words such as Throne, {target.Culture}.
  • One conversation, one window. When a choice leads straight to the next Show Dialogue, the window stays: text, picture and speaker cross-fade and the music goes on.
  • Fair time limits. A timed dialogue starts counting when the choices appear, not while the text is still being written. It stands still while its window is covered or hidden. A style set to Choices: With the text keeps the old timing.
  • Sound with continuity. Dialogue sound plays on five channels (music, ambience, voice, effects, interface). Each has a volume your options menu sets (DialogueAudio.SetVolume) and an optional mixer group, and dialogues sound while the game is paused. The same music never restarts from one dialogue to the next, and a different piece cross-fades. Music lingers a moment after a window closes so the next dialogue picks it up, and music and ambience step back while a voice speaks. Each dialogue has Music and Ambience (As the style says, Silence, Keep what is playing, This clip). New node Play Music gives a scheme its own music or ambience until the scheme ends or stops it. Play Sound now plays through the same system.
  • Voice-over. Other languages holds a clip per language. The clip of the current language plays, else the main clip. Text Follows The Voice (was Sync Typewriter) writes the text with the voice’s playback position, so they never drift apart, and {at 2.5} pins a place of the text to a second of the clip. A skipped line lets the voice finish (a style can stop it instead).
  • Readable windows. The dialogue window’s text column sits on a dark backing, so text stays readable over any picture. The speaker is one compact row. A long text scrolls a whole line at a time and never ends on a cut line, and a skip that finishes a long text shows it from the top. The announcement window shows its picture as a band under the title, with light text on a dark panel.
  • In the Graph Editor. The inspector of both nodes is grouped as Speaker, Text, Staging, Window, Choices, Audio, Sounds and Voice. Under the text a line says “Written in about 7.2 s · 324 letters · 4 pauses · 1 wait”. ▶ Preview opens the Dialogue Preview window. It shows the real window with its style, writing, pauses, cues and sound, without Play mode. It has Replay, Skip, a time bar that shows every pause and wait, the actors to preview as and a toggle for {else} parts. Nodes show “Target speaks” and their style under the title. New warnings (never errors): an unknown mark, marks outside the dialogue text, a voice mark without a voice, a text that would race at more than 120 letters per second to follow a short clip, a voice language without a clip. Pitch, priority and mixer of a sound are under Advanced. New Style… copies the style a dialogue uses into a new one.
  • For your scripts. DialogueManager.Opening, Opened, Cue, TextRevealed, ChoicePicked and Closed (with the reason: choice, timeout, code, cancelled, scene change, load). DialogueBehaviour components can sit on the window or on the Dialogue Manager (OnOpening may change the style, picture, title and text before anything is shown). A style can bring its own window prefab (a letter on a desk, a bar at the bottom of the screen). Dialogue gained Context, Style, SetStyle, SetSpeaker, SetPicture, SetMusic, SetAmbience, SetText, Skip(), IsWriting, IsWaiting, onTextRevealed, onCue, Close(DialogueCloseReason) and CloseReason. A dialogue opens at the end of the frame it was asked for, so OpenDialogue(...).AddChoice(...) is complete when your hooks see it. Game music: DialogueAudio.SetTrack / Release.
  • Light. Windows and choice buttons are reused. A frame of a 1500-letter text being written costs about 0.04 ms and allocates nothing, and opening a reused window takes about 1 ms.
  • Dialogue window parts and Intrigue Manager. A window has new optional parts: Frame, Speaker Name, Speaker Portrait, Listener Portrait, Continue Sign, Choice Group on the Dialogue Panel; Panel, Text Backing, Speaker Block on the Dialogue Stage. The manager has an announcement window, and the shipped Dialogue.prefab has them all. The Intrigue Manager inspector sets the default and announcement styles.
  • AI authoring. Drafts name a style by its name ("Style": "Letter") and set the speaker, music, ambience, picture tags and voice languages. They write marks and colour tags, and the inventory lists the project’s styles. Information (never strict): A-DIALOGUE-WALL (more than 600 letters without a {wait}) and A-VOICE-FAST. New recipe A conversation with pacing.
  • The Demo has six styles in Demo/Dialogue/Styles/ (Letter, Court, Dark Deed, Romance, Proclamation, Merchant), made from its own sounds. Its dialogues use the default styles.
  • How it arrives (new). Every Show Dialogue and Show Announcement has How it arrives: On screen now (as before), As a flag (a flag waits in the player’s flag tray; opening it shows the same window, its time limit starting then; until then the days do not wait for it) or Silently (only a notice; a silent dialogue that waits answers itself as an NPC would, so it rolls dice an on-screen dialogue would not). Styles have the same setting, and the Dialogue Manager has the project’s defaults and a Flags group: Max Open Flags (the oldest flag that needs no answer gives way; flags that need an answer are never dropped), Flag Answers After Days (off by default), Flags Pause Days (a High flag pauses the days). Flags are saved: a waiting dialogue’s flag with its scheme, announcement flags as a section of their own. For code: IM.Announce, IM.Present, DialogueManager.OpenDialogue(DialogueOptions) returning a MessageHandle, IM.MessageFlags (Get, Open, Dismiss, onRaised, onOpened, onClosed), the notice kinds MessageFlagged, MessageFlagOpened, MessageFlagClosed, MessageSilent and the close reason Dismissed. Everything inherits, so existing content opens on screen as before. With the Intrigues Multiplayer add-on, a silent message for a player on another machine is not sent there (no window opens on their screen; a dialogue that waits answers itself on the host); a flag for them still opens on their screen until flags travel to other machines.
  • The package stands alone. The page-turn sound of the windows now ships with Intrigues (Scripts/Dialogue System/Sounds/page.mp3). The Dialogue prefab and the core styles no longer use files of the Demo.

Any actor in any field, and accomplices (new)

Section titled “Any actor in any field, and accomplices (new)”
  • No hidden “Resolved Actor” any more: an actor is always named. Every field that asks who is the same picker. It offers Conspirator, Target, an actor the scheme named (Spy), a specific actor of the database (Old Marta) and an actor variable of the World (King). Inside a For Each loop it offers the Current Actor, and inside a Where list the Candidate. Then come up to four relations of that actor: Target’s spouse, Conspirator’s clan head, Spy’s father, Target’s Rival. A relation is a spouse, father, mother, eldest child, heir, personal heir, clan head, family head, or any actor variable your actors have. Type to search (“spouse of target”), pick with the keyboard, undo every choice. Dialogue speakers and Show To / Player Is use it too, so a dialogue can be spoken by or shown to anyone.
  • Store In. A node that finds someone says where it puts them. Find Actor, Get From Code, Get Role Holder, Create Actor and Hand Over Role have a Store In field. Type a name there (“Spy”) and it becomes a scheme variable. The node reads Oldest of Target’s Clan → Spy, and later nodes pick Spy. The Library panel shows who it is while the game runs, it is saved, and {scheme.Spy} prints the name. Not Found, Vacant and No Heir leave it empty. A new node dragged from a Found output starts with that name already chosen.
  • For Each Actor names its turn with Each One Is (“Guest”); without a name the loop body reads Current Actor. Every turn keeps its own actor, also in flows that wait or run in the background. Nested loops can read the outer loop’s actor by its name.
  • Accomplices. A scheme has a cast: the conspirator, the target and any number of accomplices. Accomplices is a list every scheme has from the start. Accomplices take part in it: the scheme shows in their active schemes menu (switch Show Schemes as Accomplice, on); Is Scheme Active has a fifth box As Accomplice; text lists them ({accomplices} prints “Erik, Runa and Ulf”); a dialogue shown to an accomplice reaches the human who plays them; announcements, sounds and music can play for the new audience Players Taking Part. An accomplice who dies leaves the scheme unless the scheme says Dead Accomplices Stay. The new entry nodes On Accomplice Joined and On Accomplice Left (Died / Left) let the story react. The conspirator and the target are never accomplices. There is no limit on how many a scheme has, or on how many schemes one actor helps in. The scheme settings start with a Cast section that lists all of this and the scheme’s actor variables (stored by Find Actor · read by 3 nodes).
  • Actor lists are a new variable type, Actor List, for the World, each actor, clan, family or scheme (“Lookouts”, “Council”, “Friends”). They start empty and are filled by nodes or code. New nodes: Add To List (Add Accomplice), Remove From List (Remove Accomplice), Clear List, Gather Actors (Fill Lookouts with the 3 oldest of Conspirator’s Clan), Check Actors (Any of Accomplices where dead, Every, None, How many; also a condition row) and Is In List (Is Accomplice; also a condition row). Find Actor, For Each Actor, Gather Actors and Check Actors can look Among the actors of a list, everyone taking part in the scheme, or the actors a method of your code returns ([GetActors]).
  • Requirements can ask about accomplices. The scheme’s requirements to start, the Meets row and Check Requirements see the accomplices of the scheme (at the start check, the ones the caller passed to StartScheme).
  • Text: {accomplices}, {accomplices.Count}, {accomplices.First.Name}, {if accomplices}, any actor list ({scheme.Lookouts}), {current} (the loop’s actor), and the relations {target.Father}, {target.Mother}, {target.EldestChild}, {target.PersonalHeir}, {target.Family.Head}. Lists read like a sentence (“Erik, Runa and Ulf”), {target.Spouses} included. The last joiner comes from the localisation text list.and when you add one; |commas gives commas only. The { } menu offers all of them.
  • From code: actor.StartScheme(scheme, target, accomplices), actor.SchemesAsAccomplice, actor.TakesPartIn(scheme), actor.onJoinedScheme / onLeftScheme, VerifyType.AsAccomplice; scheme.SchemeRunner.Accomplices, AddAccomplice, RemoveAccomplice, IsAccomplice, GetParticipants(list), GetActor("Spy"), SetActor, GetActors("Lookouts") and the events SchemeRunner.onAccompliceJoined / onAccompliceLeft; variable.Actors and set.GetActors(name) for any actor list; IM.Meets(set, conspirator, target, accomplices) and scheme.CanStart(conspirator, target, accomplices).
  • AI authoring: drafts write actors as "Target > Spouse", "scheme:Spy", "world:King", "actor:Old Marta", "Current", and "storeIn": "Spy" declares the variable. Lists and Dead Accomplices Stay are supported, and the skill has a new recipe, a plot with accomplices. The old words "Resolved" / "Resolved2" are refused with a message that shows the new form.
  • Fast and light: reading who a field names allocates nothing and takes nanoseconds (a clan or family head of 80 members about one microsecond). Reading a list allocates nothing, and start checks allocate nothing.
  • Every node says how it decides. A node that picks one of several actors, puts actors in an order or rolls the dice has a How it decides section in its inspector, in plain words: Who leaves: the youngest holder. If tied: the one listed first. The ⋮ menu of a scheme has Randomness and picks in this graph, a list of every such node with its sentences.
  • Set Role: choose who leaves the seat. If the seat is taken now has three choices. Nothing changes. A holder leaves the seat, with Who Leaves and If Tied: the youngest, as before; the oldest; the highest or lowest value of a variable such as Loyalty; the highest or lowest court role; the one listed first or last; at random. Or This holder leaves the seat, with the holder you name (Conspirator becomes Councillor (Target leaves the seat)). Store Who Left In gives the holder who left a name for later nodes. From code: clan.Appoint(actor, role, ranking) and clan.Appoint(actor, role, replacing).
  • If Tied on Find Actor, For Each Actor and Gather Actors says what decides between actors of the same age or value: the one listed first, as before; at random; the oldest; the youngest; the higher or lower court role. Find Actor can also pick by court role and the first or last as listed. Get Role Holder has If Several Hold It.
  • One source of chance, tied to the world seed. Random Branch, Chance, Wait (random length), random picks and orders, NPC dialogue answers, a newcomer’s or child’s gender and name, portraits and MatchEngine all roll the same dice. With a fixed seed (IM.SetWorldSeed) a game replays the same rolls, and two schemes never disturb each other’s dice. Game code uses Dice.Chance(20), Dice.Range(1, 7), Dice.Value.
  • Dice After Loading (Intrigue Save System): New rolls (as before: reloading can change an outcome) or Same rolls (a loaded game continues with the same dice).
  • In a requirement, a random pick is the same every time for the same two actors in one game, so a requirement does not flicker between met and not met.
  • Show Dialogue: When An NPC Answers. When nobody plays the actor a dialogue is shown to, a choice is taken at random (as before, now with an optional weight per choice) or the first available choice, top to bottom. Choices marked Preferred by AI still come first.
  • Show Dialogue: When Picked. A choice can change things when it is picked, by a player or by the one who answers, without a node behind it. It can change a variable, a trait, a memory, a tie, an ambition or an attitude (the same list as the Change Several Things node). The choice card shows one quiet + Add a change line until it holds a change.
  • Marry has a Clan setting and Divorce has Stays In The Clan; both used to follow the world’s custom only.
  • Succession: If tied. A rule can decide between two people in line that nothing else tells apart (twins) by luck instead of a fixed order.
  • The order of links is on the canvas: every output with two or more links numbers them 1, 2, 3 in the order they run.
  • Who is the head, who is the spouse: the actor picker says what each relation means (Spouse: the first spouse, the earliest marriage that still stands). The clan and family settings name the head a new game gives and the rule behind it.
  • Stable where it used to depend on luck: actors created in the game get their ID from the dice, so ties between twins are the same in every replay. A court with more holders than seats is seated oldest first, in the game and in the editor preview alike. Clans and families keep their member order through a save and load.
  • Ask Claude for a whole intrigue. “Create an assassination intrigue” (in any language) gives a complete scheme. It comes with its requirements (each with the sentence the player reads), scheme variables and a requirement that stops it when the target dies. It has objectives, dialogues with conditional choices and odds, chances with bonuses, waits, success and failure endings and player-only announcements. Claude can also create World variables, actors with starting values, cultures, policies, roles with their succession rules, clans with their members and their own succession laws, and families with their trees.
  • How it works: the intrigues-author skill for Claude writes a JSON draft. Intrigue Drafts, a new editor-only part of Intrigues, checks it and adds it to your database. Every check runs on an in-memory copy first. You get plain-English problems and a quality check that catches unfinished schemes: choices that lead nowhere, schemes anyone can start against anyone, requirements nobody can meet. Adding a draft is one undo step and does not save the database.
  • Safe by default: nothing is deleted. Content you made is changed only after you said yes, and its old version is kept in IntriguesAI/backups/. The shipped Demo and Example databases are left alone. Scene objects for new actors are added only after you agree.
  • Setup: Tools > MrW > Intrigues > AI > Install Claude Code Skill (or Export Skill for Claude Apps (zip)). Then connect Claude to Unity through an MCP server: MCP for Unity (Unity 2021.3 and later) or Unity’s own MCP in Unity 6 (preview: Enable Unity MCP Tools (Preview)). There is no network code and there are no API keys in Intrigues; Claude runs in your own Claude app.
  • The same tools export any existing scheme, requirement set, clan or family as a draft, so Claude can explain or extend it.

Characters and clans that no player plays can now decide for themselves what to do next. They befriend someone, plot against a rival, seek a spouse, save up and pay for a gift, or change their attitude toward another clan. It is a plain, repeatable system built from lists you author in the Graph Editor. There is no language model, no machine learning and no online service. Every choice is made with the game’s own dice: the same world seed and the same day give the same decisions on every machine.

What you author (new group of pages, Behaviour, in the Page dropdown; Traits is a new tab next to People)

  • Settings. Whether characters think for themselves, and how days pass (by themselves, or when your game moves the calendar on). The length of a day and a year, whether characters grow older each year, how active and how hostile they are, how many schemes they run at once, and the world’s dice seed. A full calendar: months, weeks, seasons, start date, era and date formats, presets. With months the year is as long as they add up to, and an information line says so when the stored year length differs. Five game speeds (Pause, Slow, Normal, Fast, Fastest, each with a multiplier you can edit) and an optional pause while a dialogue is open.
  • Personality, traits and modifiers. Any number variable that belongs to actors can be a personality value (the starter set has nine: Boldness, Compassion, Greed, Energy, Honor, Rationality, Sociability, Vengefulness, Zeal). Traits push those values up or down and have a chance to pass to children and to appear at birth. They can lean characters toward or against certain kinds of decisions. Modifiers add to a value for a number of days. Values keep a base and a bonus layer, so a trait or a modifier never overwrites what your game stores.
  • Formulas. Named numbers about one character, two characters, a clan or the world (“Fear”, “Wealth of a clan”). They are built from lines with conditions, sums over a clan, a family or the relatives, and limits. A text sentence shows how every number is worked out.
  • Decisions. A decision says who considers it, who they look at, who counts, and what they want (lines that add, multiply or say does not want). It says how often they think and what they do: start a scheme, send a signal, call a method in your code, and change numbers, traits, ties, memories, ambitions or attitudes. Decisions can also be taken on behalf of someone, can be thought again at once when something happens, and can cost a pot of a budget. The page shows a plain Reads as sentence and a read-only diagram, coloured with real numbers in Play mode. Save as a requirement set copies a condition into a requirement set.
  • Opinions, memories and ties. Standing opinions (from traits, culture, family, clan, ties), memories that fade or stack, and ties such as friend, rival or lover, with an Opinion value you can read anywhere.
  • Ambitions. What a character wants for years (“Become the leader”, “Avenge a wrong”). An ambition is chosen on the character’s own day of the year, reached or given up under conditions, and comes with effects and a pull on their decisions.
  • Clan strategy. Clans look at each other every few weeks and hold attitudes (Friendly, Wary, Hostile, your own). They keep a Strength and a Threat number and decide through their head. A clan whose head a player plays does not act by itself unless a decision says so. Clans hold ambitions, memories and ties of their own, and spend from budgets with named pots (the starter set has War chest, Gifts and Reserve).
  • Scheme odds, review and give-up. A scheme can state a Chance of success and a Risk of being found out, as formulas, and a Chance node can roll exactly that number. Running schemes are reviewed and given up when their odds fall or the target is gone.
  • Requirements and ends-when. A scheme can end with no result when its target or conspirator is gone. It can list requirements that count while it runs, and the new entry node When a Requirement Breaks runs when one stops holding. No node of a scheme runs after one of its requirements broke. The game looks before every node, and only at what could have changed. A requirement about the scheme’s own cast is looked at when the cast changes, one about the rest of the world when the world changed, and one that runs a method in code before every node. So a scheme that changes nothing costs two integer compares per node. Every entry of a long list is watched. When several requirements break at once and one of them stops everything, the flows stop once. Then the outputs of those that stop everything run in list order. A custom node that awaits real work calls flow.StillValid() when it resumes. The Validator node is gone: a requirement that counts while the scheme runs does its job. Break handler = Stop everything, then run its output, Active = Run its output, Passive = a requirement that counts only to start.
  • Give this world a mind. One click on an empty Behaviour page adds a starter set as a single undo step. It holds values, traits, formulas, ties, opinions, decisions with small schemes and ambitions, and, for worlds with clans, attitudes, budgets and clan decisions. It never changes a setting you touched. A Life part (yearly income, natural death, children) is optional, and Add Life adds it later.
  • Tools. Tools ▸ MrW ▸ Intrigues ▸ Thinking shows what a character is thinking, why a decision was or was not taken, and a journal you can compare with another run. Try it sits under requirements, nodes, decisions, formulas, opinions and scheme odds: pick two characters and see the answer in the opening world. There is the Simulation window (see below), and AI ▸ Write Test World Draft… for a seeded test world of up to 20,000 characters.

Forecast and simulation (Tools ▸ MrW ▸ Intrigues ▸ Simulation)

  • Forecast the opening world (Edit mode): how often each decision would be taken in a year if nothing changed, by trait and by clan, and the odds each scheme has across the pairs of characters.
  • Simulate (Play mode): play 1 to 50 years of game time as fast as the editor can compute them. Wants only lets characters decide and counts what they would do without doing it; Carry everything out lets schemes run. Up to 10 runs with different seeds. Afterwards the game is put back as it was. This was checked in the Example and the Demo scene: the world, the player, the dice counters and the save come back equal. Objects in your scenes are protected while it runs. Before it starts, the tool takes a snapshot of every object. Before every put-back it restores them, even when your own code destroyed or changed them during the run (a destroyed object comes back as a copy, not the same instance). It waits a short settle step (2 to 7 game frames), so a destroy that Unity carries out at the end of a frame has landed first. Two options on the Simulate and Repeat tabs: Guard the scene’s objects (on) and Remove objects made during the simulation (off). For your code: Mind.Simulating, Mind.SimulationStarted and Mind.SimulationEnded(bool putBack) tell when a simulation runs. Limits: the guard sets back what Unity stores on the objects. Some things are yours to undo, in Mind.SimulationEnded: references and state Unity does not store, static fields, files, PlayerPrefs, edits to assets, a save file written by game code, coroutines, Invoke calls and timers started during the run, and fields you add on subclasses of the Intrigue Manager or of an actor. Cost, once per run boundary: the Demo scene takes 75-77 ms to snapshot and 22 ms to restore (1.5 MB). With 2,000 extra characters it takes 0.37 s and 0.27 s (37 MB); with 10,000, 1.7 s and 1.35 s (192 MB). Switch the first option off to skip it. The result shows, per decision, how often it was taken, by trait and by clan, and why a decision was never taken (“did not want it that day”, “saving up”, “resting”). Per scheme it shows how many runs succeeded and failed against the chance characters were told. It also shows attitudes, ambitions and budget pots. With Carry everything out, a day waits for schemes that still have work to do, for at most 8 frames in a row, and the window says when days passed anyway.
  • Repeat a scheme. Start one scheme between two characters again and again from now (1 to 200 times) and read its measured success rate.
  • Two numbers, said apart. The stated chance is what characters are told and use to decide; the measured rate is what the runs show. The report puts them side by side and says how much to trust the match. The scheme settings tell, in a sentence, whether the stated chance is what really decides the scheme (Exact), is only part of it (Estimate) or is not rolled by any Chance node (Not linked). Show the nodes selects the nodes involved.
  • Reports are written as Markdown and CSV files into IntriguesAI/reports/; they never overwrite a file.
  • The new audit info A-CHANCE-NOT-LINKED (a scheme states a chance that no Chance node rolls).

New nodes and rows

  • Nodes: Add Trait, Remove Trait, Add Modifier, Remove Modifier, Compare Numbers, Think Now, Would Do, Add Memory, Remove Memory, Add Tie, Remove Tie, Has Tie, Check Opinion, Set Ambition, Clear Ambition, Has Ambition, Is In Line For, Is Heir Of, Check Attitude, Set Attitude, Advance Days, Check Date, On Date, Set Game Speed, When a Requirement Breaks, Change Age and Has Trait. Wait counts days, months or years too, and can wait until the next month, season, year or a date.
  • Condition rows: Trait, Number, Opinion, Memory, Tie, Ambition, In Line For, Is Heir Of, Date, Attitude, Joined by Marriage and Budget. The group lists Among gained Those they have a tie with, In line for a role of their clan, The one their ambition is about and People they remember something about.
  • Grudges that work: the group People they remember something about (a kind of memory, or any bad memory) lets a decision look at exactly the people a character remembers something about. So a decision that also thinks again when someone wrongs them finds the one who did it. The Memory row checks “Conspirator remembers Insulted me about Target” (a kind, any bad memory or any memory; about someone or anyone).
  • Decision effects include Add a random amount (between two numbers, with the decision’s dice).
  • Show Dialogue can answer for characters by what they want (By what they want, The one they want most).
  • Text: {world.Day}, {world.Date}, {world.Year}, {world.Month}, {world.MonthName}, {world.Season}, {target.Birthday}, {formula.Fear}, {opinion ...} and {scheme.SuccessChance} / {scheme.DiscoveryRisk} on an available scheme row.

In the game’s own UI

  • Scheme rows (to start and running) show the Chance and the Risk with {this.SuccessChance} and {this.DiscoveryRisk}. The date is {world.Date}; Command Buttons pause the game and change its speed.

For your scripts (public API, all main thread, all in the MrW.Intrigues namespace)

  • Mind: Thinking, Activity, Hostility, SchemesAtOnce, DecisionsPerFrame (and the other settings); Decisions, Ambitions, Attitudes, Traits, Formulas, BudgetPlans, and GetDecision, GetAmbition, GetAttitude, GetTrait, GetFormula; ThinkNow(actor | clan, decision, ...), Evaluate, Rank, Explain; Opinion, ClanOpinion, ExplainOpinion; SchemeOdds, ExplainSchemeOdds; AttitudeOf, SetAttitude, VoiceOf; GetBudget, SetBudget, ExplainBudget; GiveUp(scheme); Register(name, amount) for amounts decided in code; CanDecide (veto a decision), SetHelp / ClearHelp; WarmUp() and WarmUpAtStart.

  • WorldClock: Day, Year, DayOfYear, Date, Month, Season, Weekday, Advance(days), AdvanceTo(date), Speed, SetSpeed, Pause, Resume, IsPaused, IsBehind, DayPassed, MonthBegan, YearBegan, SeasonChanged, SpeedChanged.

  • Actor: Traits, HasTrait, AddTrait, RemoveTrait, Modifiers, AddModifier, RemoveModifier, OpinionOf, Remember, Forget, AddTie, RemoveTie, HasTie, GetTies, Ambition, SetAmbition, ClearAmbition, Birthday. Clan: Remember, Forget, MemoryCount, AddTie, RemoveTie, HasTie, GetTies, Ambition, SetAmbition, ClearAmbition, OpinionOf and Voice, AttitudeToward, GetAttitudes.

  • IM events: onDecisionMade(DecisionInfo), onMemoryChanged, onTieChanged, onAmbitionChanged, onAttitudeChanged, onSchemeGivenUp, onDayPassed, onMonthBegan, onYearBegan, onSeasonChanged; IM.Traits, IM.Decisions, IM.Ambitions, IM.Attitudes, IM.Formulas. ActorChange gained Traits, Ambition, Ties and Memories.

  • Traits. Personality values are made and edited under Behaviour > Traits (“+ New personality value” in a trait’s Changes list). A world setting, A character has one trait of a group, lets a character hold at most one trait of each group. Earned traits are held while a number is at a named level (Loyal while Loyalty is Loyal or above). The game gives and takes them.

Good to know

  • Saves. The mind is saved inside the 2.0 save format (the format number is 8): the day, the traits and modifiers, rests, memories, ties, ambitions, attitudes, budgets and the dice counters. A save that lacks a part (for example one written by a game that had no decisions) loads that part with the database’s settings.
  • Sizes. The system is built and measured for 5,000 to 10,000 characters and up to 1,000 clans. A world of that size spreads its work over frames and over the year; see the upgrade guide for the budgets and what is not promised.
  • Removed. The 1.x match engine (IM.MatchEngine, BatchMatchEngine) is gone. The Demo no longer matches spouses by itself; decisions replace it.
  • Authoring with Claude. Drafts cover every new definition (traits, formulas, decisions, opinionRules, memoryKinds, tieKinds, ambitions, attitudes, clanStart, budgets, and behaviour with the calendar), and the audits know them. The node catalogue is now two files, catalog.md and catalog-behaviour.md, each with its own size limit. Run AI ▸ Update Node Catalog and reinstall the skill to refresh the installed copy.
  • For your scripts: IM.onActorChanged, IM.onClanChanged and IM.onFamilyChanged report what changed. The ActorChange and GroupChange flags cover name, age, state, portrait, culture, role, clan, family, relatives, inheritance, schemes, members, policies and removed. Actor.GetRelatives(FamilyRelation, list) fills a list with the actor’s relatives of one kind without allocating.
  • Fixed with it: IM.onClanChanged / onFamilyChanged now come when a move to another clan or family is complete. A divorce that takes back the family married into, and leaving a family married into, keep the families’ member lists right. A death raises its notification also when a death listener throws. Relatives that appear later (a runtime actor’s family links) are reported. Every static event of IM, IntrigueSaveSystem, SchemeRunner and the actors starts empty in each Play session, also without a domain reload. A divorce no longer takes a host spouse out of its own family (after a save load it did). Joining another clan or family leaves the old one first, so its leave events never see the actor in two groups, and going back to the birth family raises its join events.
  • Drop a folder, get tagged portraits. Drop sprites, textures or whole folders on the window (or use Add Folder…). The words in the file names that the Actors page generator already reads (-m, -f, a culture, an age group, -dead) become tags, so one drop files a portrait pack. A card shows how many names gave tags before anything is added.
  • Words with a meaning. A tag or category name that is Male / Female, a culture, an age group of the age table or Dead is read as that trait. Any other word stays a free tag. The Demo’s data works as it is (category Varag + tag Male).
  • IM.PickLook(actor) returns a look (with its picture) that fits the actor’s culture, gender and age group. A sprite never goes to an actor one of its words contradicts. The best fit wins (age group first, then culture, then gender), equal fits are picked at random, and faces nobody wears come first. IM.PickLook(culture, gender, age) does the same for an actor that does not exist yet. actor.RefreshLook() gives a look to an actor without one and replaces one the actor has outgrown (its age group no longer fits). Every other face is kept, authored or hand-picked. RefreshLook(refit: true) also replaces a Sprite Database portrait whose culture or gender no longer fits. IM.FindSprites and IM.PickSprite ask by category and tags without allocating a new list.
  • Coverage tab. A table of cultures by age group shows how many portraits the game can choose from for each kind of actor, with the gaps marked. A click shows those portraits.
  • Two switches for projects without code (Overview, off by default): Give actors without a look one that fits (actors created while the game runs, and authored actors that start without one) and Replace outgrown looks (when an actor’s age leaves the age group of their look).
  • A new window. It has categories with counts, tag chips that filter, search, and a Show filter for untagged, missing and same-name sprites. The grid is resizable and draws only the tiles in view, so thousands of sprites scroll smoothly; names keep their end visible. You get multi-selection with Shift and Ctrl/Cmd and moving with the keyboard. A details panel tags the whole selection with suggestions and says how the sprite is read. Drag tiles onto any Sprite field, or onto a category to move them. Both editor skins; read-only in Play mode.
  • Safe edits. Every change is one undo step and touches only what it names. The old window could empty a database’s sprite data while saving, write one database’s sprites into another and stop loading at the first deleted sprite. None of that can happen now. Deleted image files are listed and removed with one click.
  • Portraits survive a restart. Save files also store each actor’s portrait by name (portraitKey). It is found again among the Sprite Database, the authored portraits and assets registered with VariableAssets.Register. Older saves still load.
  • The Demo uses the new calls. Babies get the portrait of their own gender (they all got the girl’s), and the adult portrait comes with the age table’s adult group (19). Adult faces nobody wears are preferred, and a culture without portraits no longer throws. Authored faces are kept on birthdays. The Demo database’s actor variable PortraitIsSet is no longer used by any code. It stays in the database and can be deleted on the Variables page.
  • Age groups. The age table became Age Groups (on Home ▸ Settings): a name and the age each group starts at. A group lasts until the next one starts, so there are no gaps or overlaps. There is also an Oldest age setting (100 by default, 0 for no limit) with an information line on what happens there. Characters die when they reach the oldest age is off by default: characters then stop growing older at the oldest age and live on. A new database starts with Baby 0, Child 3, Teen 13, Adult 18, Middle age 40, Old 60 and Very old 80. A database that still has an old age table keeps reading it until you edit the groups, so portraits and the Demo behave as before. actor.AgeGroup, IM.AgeGroups, IM.AgeGroupOf(age) and IM.OldestAge read them. actor.onAgeGroupChanged and ActorChange.AgeGroup tell you when a birthday moves an actor into the next group.
  • Looks. An actor’s appearance is now a look: a picture, a model (prefab) or a key your own code reads, with a different variant for each age group and for the dead. Give a look to an actor on the Actors page (LookID), in a node (Set Look, and Look on Create Actor) or from code (actor.SetLook, RuntimeActor.CreateActorWithLook, ChildOptions.Look). The portraits of your Sprite Database keep working as they are. Each one is a look that fits by its gender, culture, age and Dead words, so a project that never makes a look picks, shows and saves the same pictures as before. IM.PickLook, IM.GetLook, IM.Looks and IM.FindLooks ask the library.
  • Looks change with the actor. When an actor grows into the next age group or dies, the picture (or model) of the look’s matching variant shows without any code. Dying and growing up never roll the dice, so a seeded game replays the same.
  • Bodies. A look’s model is spawned under the actor’s object, swapped when the age group or the state changes and removed with the actor. Bodies on the Intrigue Manager is Automatic, Only when asked (actor.ShowBody() / HideBody()) or Off. An actor whose object already shows something of its own gets no extra body unless Own Body says Always Spawn. Pooling, Addressables or a character generator plug in through a ActorBodySpawner component. A project whose looks have no model and no key creates and runs nothing, and nothing happens while the Simulation runs.
  • Portraits in your own UI. Put an ActorPortraitView component next to a portrait picture and Intrigues hands it the actor instead of a sprite. That works for the actor menu, the family and clan cards, the active scheme rows or the dialogue window, and lets you show a 3D bust, a Live2D or Spine face, or a face built from the look’s key. It is called again whenever the actor’s look changes.
  • New in nodes and texts. The condition Age Group (is, is not, is at least, is younger than) works in requirements, Where lists and decisions. {target.AgeGroup} prints the group’s name in any text.
  • Looks page and Age Groups section. The Actors tab strip gets Looks: a table with pictures, filters, variants per age group, “Reads as” in plain words, who wears the look and what uses it. Make looks from the Sprite Database turns tagged portraits into looks after asking, and undoes in one step. The People page has a Look section (New Look for This Actor). The Intrigue Manager has a Scene actors and bodies section (bodies), and the actor inspector a Body section.
  • Import pictures and models as looks. Drop sprites, textures, prefabs or whole folders on the Actors or Looks page (or use Add Pictures or Models as Looks… in the Actors page’s menu). A card reads the file names (-m, -f, -dead, -all, a culture, an age group) and proposes looks with a variant per age group. It marks pictures that are already looks or Sprite Database portraits, and lets you fix the rows before adding them. It can create one person per look. A word that is both a culture and an age group counts as the culture. One undo step. This replaces the sprite generator of the Actors page.
  • Generate People. The Actors page makes any number of people at once: how many, which cultures, how many women, ages by range or age group, a look that fits each, and a seed. The same seed gives the same people. One undo step.
  • Actor Template. The Intrigue Manager has an Actor Template (Scene actors and bodies section). It is a prefab Intrigues copies for every actor it creates while the game runs: a birth, Create Actor, an actor brought back by a load. Put your own components on it (a movement script, an animator, a collider) or your own Actor class. The first Actor component on the root is the actor; with none, a RuntimeActor is added. The copy wakes after the actor’s ID is set, so your components can read actor.ID in Awake. Without a template nothing changes: a plain object with a RuntimeActor, as before.
  • Where an actor comes from. actor.Origin replaces asking for the class. It is an ActorOrigin: Scene for an object you placed, Created for one Intrigues made, Database for an actor made from the Actors page (see below). A created actor is Created whatever its class. That includes an InitialActor on the template: it is not looked up in the Actors page and not switched off. Saves note it (ActorData.origin; a save without it reads the old class type).
  • Actors from the Actors page, without scene objects. New setting on the Intrigue Manager (Scene actors and bodies section): Actors without a scene object, Leave them out (default, nothing changes) or Create them when the game starts. With the second, every actor of the Actors page that has no object in the scene gets one when a new game starts. It comes with its clan, role, look, starting values and relations as placed (origin Database). A scene object that holds the same ID is never doubled. A scene with a Runtime Actor Loader creates them there. A scene with actors in it and no loader creates them when it becomes the active scene (the menu scene creates nothing). IM.CreateMissingActors() does it from code at any time and returns how many joined. The Actors page marks such entries created at start.
  • Make pictures from bodies. Make Pictures From Bodies… on the Looks page renders each variant’s model (head and shoulders, or a child named PortraitAnchor) into a new picture file. It sets that file as the variant’s picture, so a 3D project gets portraits for menus and dialogues without painting them. Choose the folder and the size (128, 256 or 512); existing pictures stay unless you ask to replace them. One undo step. The files stay when you undo, and an artist can replace them. A model with a LOD group is drawn with its first level. Materials that blend (hair, glass) and very wide models can come out cropped or off; the built-in render pipeline is what was checked.
  • AI authoring. Drafts and the skill know ageGroups, addAgeGroups, oldestAge, looks and an actor’s look. The audit reports looks nobody wears, missing assets and kinds of people no look fits. The Age Group row, Set Look and the Looks section of the catalogue are exported and checked.
  • Saves store each actor’s look (lookId) and own look key (lookKey); saves made earlier still load.
  • Save where actors stand. New switch on the Intrigue Save System (off by default). A save keeps the position, rotation and scene of every actor’s object, and a load puts the objects back there. That covers scene objects that exist, and actors the load creates again, before they register, so their body appears at the saved place. It works only into the same scene. New event IntrigueSaveSystem.onActorPlaced(Actor) to warp a CharacterController, NavMeshAgent or Rigidbody. With the switch off, saves are exactly as before.
  • Portrait views. An ActorPortraitView next to the image of a Bound Image (Portrait) or of the dialogue window is handed the actor instead of a sprite.
  • Drop a picture or a model on a person’s Look section (People page). A picture becomes the quick picture, and a model a personal look with that body. The look preview shows a model’s preview when there is no picture, and so does the actor inspector’s card. The Dialogue Preview shows the picture of an actor’s look for the actor’s age and state.
  • Test run. Open a scheme in the Graph Editor and press Run in the toolbar. The scheme plays, node by node, while you watch it on the canvas. There is no Play mode and no scene to set up. Keys: F5 run (or resume), Shift+F5 stop, F6 pause / resume, F10 run one node and pause again (Ctrl/Cmd+Enter does what F5 / F6 do).
  • Who and how. The setup window picks who is the conspirator and the target (or “This scheme needs no target”) and the accomplices. It picks who you play (the actor whose dialogues open on a card for you) and how decisions are made (the dice, ask me, always take one answer). It sets what your own code methods answer, the dice seed and Skip waits. Start anyway runs a scheme whose requirements to start are not met (the setup lists the reasons). The other characters and clans do not think and act during a run unless you switch Other actors act (AI) on. The setup is remembered per scheme.
  • Run from here. Right-click any node and choose Run from here to start the run at that node instead of at Start. It is also a button in the node’s inspector header, in the Run menu, and on Alt/Option+F5. The nodes before it do not run. Scheme variables hold their starting values, and a node that needs a name an earlier node would have stored stops with its reason. During a run the entry reads Stop and run from here. The start node is chosen for each run; Restart, Run again and Replay use the same one.
  • The flow on the canvas. The running node is marked, finished nodes show how they ended, and the links the flow took light up. Follow pans the canvas along; Back to my view returns to your own pan and zoom. A node’s status stays readable after the run ends.
  • Dialogues answer on the canvas. A dialogue for the actor you play opens as a small choice card beside its node; pick a choice there. Other actors answer as they do in the game (a random available choice, as set in the setup).
  • The Run tab (Element Inspector) has four parts. Now shows what is running or waiting for you. Log lists every node, change, dialogue, sound and decision, with filters All / Dialogue / Changes / Decisions / Problems; a click frames the node. Values shows the scheme’s variables. Paths shows coverage: how much of the graph’s branches the runs have seen, the ways no run took yet, and Replay of the last run. Run again repeats a run with new dice; with Keep this seed the same seed gives the same run, roll for roll.
  • Real nodes, a hidden world. The nodes really run, on a hidden test world made of the database’s actors, built from a copy of the database. Nothing in your scene, your database or your saved files is touched, and nothing is saved. When the run stops, the editor is as before. Code methods marked [IntrigueMethod] are answered by you during a run. This is a stand-in: the setup lists each method the scheme calls and what it answers, and at an Ask me node you answer once. The real method is not called and no host object is searched for.
  • The graph is locked while a run goes. Edits of the tested scheme say “Stop the run to edit.” (including Undo and the layout commands); other graphs and pages stay open. Scripts recompile when the run stops. Entering Play mode ends the run.
  • Nothing changes in a game. The run uses a few hooks in the engine (a frame clock, a trace hook, a world scope, an object factory), and they do nothing in a game. A project that never presses Run behaves as before, apart from the order of delayed calls (see Changed).
  • Group the nodes of a scheme. Select nodes and press Ctrl/Cmd+G (or right-click > Group Nodes): they get a named, coloured frame that moves with them. Drop a node on a frame to add it, Shift-drag it out to take it out, double-click the title to rename. A group can have a colour and a one-line note.
  • Collapse a group into one card (Ctrl/Cmd+E, or the arrow on the card). The card shows its title, how many nodes it holds, the worst problem inside, what comes in on the left and what leaves on the right. The links to the rest of the scheme stay visible: you can select and delete them there (to draw a new one, expand the group). Collapsing never moves a node.
  • The Groups list (a tab of the Library panel) names every group of the open scheme with its colour, size and problems. Click one to jump to it, double-click to rename. Focus dims everything except one group.
  • Compact Layout keeps groups together and packs a collapsed group as its small card, which gives the space back. If a group cannot be kept together without changing the order your links run in, it is arranged like the other nodes and you are told.
  • Ctrl/Cmd+Alt+G ungroups. Deleting a frame only ungroups, the nodes stay.
  • Groups do not change how a scheme runs. They are only for you: nothing in a game reads them, and they are not story text, so they never reach translators.
  • AI authoring: a scheme in a draft can carry a groups list (name, colour, note, collapsed, nodes), and an export writes the groups of a scheme that has them.

The core is complete for Intrigues Multiplayer, a separate add-on built on Netcode for GameObjects. One player hosts, up to 7 others join, and each plays one character. Everything below is a seam in the core. In a single-player game none of it is visible: every path is one quick check that finds nothing to do, nothing allocates, and dice and saves are exactly as before.

  • The host owns the world. Schemes, requirements, the characters’ own decisions (Mind), the calendar, dice, succession and saving run on the host only. A player’s machine holds a read-only copy of what that player may know. Code that changes the world on a player’s machine is refused with one warning that names the call.
  • Who plays whom. IM.IsPlayer(actor) (a human plays this character), IM.IsLocalPlayer(actor) (the player of this machine), IM.IsRemotePlayer(actor), IM.Players, IM.IsHost, IM.onPlayersChanged, IM.ReplicaReady / IM.onReplicaReady. A character whose player is away answers like an NPC, and the AI plays it.
  • Hide values from other players. Every variable has a Visibility: Everyone (the default, nothing changes), Owner Only or Host Only. A value a player may not see reads as “not known” (Variable.IsKnown), prints empty in texts and is false in an {if}. AI authoring drafts take "visibility".
  • The Target Knows. A scheme setting (off by default). When it is on, the target’s player also sees the running scheme (who plots, the objective and the odds). AI authoring drafts take "targetKnows".
  • Schemes you can read anywhere. Scheme answers Conspirator, Target, Accomplices, IsPaused, IsEnded, Result, Objective, Description and IsRunning on every machine. IM.onSchemeChanged(Scheme, SchemeChange) tells when one changed. The UI and the text tokens read these.
  • Start a scheme from any machine. actor.RequestScheme(scheme, target, callback) starts it at once on the host and in single player. On a player’s machine the host checks it and answers with started or refused and the reasons.
  • Dialogues, announcements, sounds and music for the right player. They show on the machine of the player they are meant for. With nobody to show them to, the node takes its NPC path. Texts are written for the recipient: {player} is the recipient’s character, and a value that recipient may not see reads as missing.
  • Dice with a secret. A multiplayer host gives the dice a secret key, so nothing a player sees lets them predict a roll. Without it (single player) every roll is the same number as before.
  • actor.SetName is public.
  • The add-on’s manual is its own README (Intrigues Multiplayer/README.md).

A culture used to be a name, a description, an icon and two lists of names. It can now describe how its people live. Everything is optional: a culture that sets none of it behaves exactly as before.

  • Groups. A culture can belong to a group (“Norse”). Check Culture and Same As can ask for “any culture of the group”.
  • Naming customs. Children can be named after a grandparent or a parent (a chance each). A name can be refused while a living brother, sister or family member has it. A culture can have “son of” and “daughter of” patterns ({patronym}, for example “Haraldson”) and a full-name form of its own. Names in the lists can repeat to be more likely; write Erik x3 to add a name three times (1 to 99). A blank name in a list is skipped. A list of only blank names gives an error with the culture’s name instead of an index error.
  • Traditions. A culture can hold policies as traditions. The policy nodes (Add Policy, Remove Policy, Has Policy) can take a culture as the owner. In texts write {target.Culture has policy Guest Right} or {target has tradition Guest Right}. The actor panel can list the traditions under the culture name.
  • Typical traits. “People of this culture are often brave”: a chance for each trait, rolled at birth and for characters your game creates while playing. Characters you wrote in the Studio keep the traits you gave them, and the Studio’s people generator does not roll them.
  • Their own family rules and laws of inheritance. A culture can have its own marriage and family rules (the world’s rules are the starting point). It can have its own succession law for a court or personal role, and can set how many seats a court role has. A clan’s own law still comes first, the role’s rule last.
  • The child’s culture. A new family rule, Children take the culture of: the parent whose family they join (as before), the father, the mother or the family.
  • A new effect, “Change their culture,” in decisions, ambitions and dialogue choices. Set Culture can fit the look to the new culture.
  • On the Cultures page: a table with Group, Names, Traditions and People, and sections for each of the above. A “Try it” button shows names, an example line uses a real actor, and information lines (never problems) say things such as “Jamal is listed twice in the male names: it is twice as likely”. The Policies page has a new type, Tradition (cultures). Deleting a policy, trait or role says which cultures drop it.
  • Texts: {target.Culture.Name}, {target.Culture.Description}, {target.Culture.Group} and {target.Patronym}; {patronym} and {culture} work in the Full Name Format. A family or clan variable named Culture is hidden by the new property (the Variables page says so; rename it).
  • Saves and multiplayer. A save keeps its cultures with their customs; a save without them loads as before (the format number is still 8). In a multiplayer game the host sends the customs to the clients (protocol 13, codec 5: update host and clients together). Clan seats and family branches travel too.
  • AI authoring. Drafts can write every one of these (group, naming, traditions, traits, familyRules, laws, childCulture, the effect setCulture).
  • Languages. The database has a list of languages and a source language. Each language has a name, a fallback language, a plural rule, right to left, an extra font and a voice language. A text is shown in the player’s language, else in the fallback, else as the missing-text setting says (show the key, nothing, or the source text). IM.Languages, IM.Language, IM.ChangeLanguage, IM.onLanguageChanged, IM.onTextsChanged. A Language At Start rule picks the language when the game starts: as set, the player’s last choice then the device’s, or the device’s. It tells your code with onLanguageChanged, like a change by hand.
  • Texts, written once. The text you write in a dialogue is the original. Each language adds its translation next to it (a Translations asset created for you). A new language starts empty and falls back; it no longer copies the first language. Named texts ({text.key}) still work.
  • The Texts page. Four tabs. Story texts has every text of the story, a column per language, “Needs review” marks, and filters for missing, needs review, orphaned and problem texts. Named texts has the keys, with extra filters for unused, longer than their limit and used in a value or a condition. Languages shows coverage and the letters a font lacks, and the fourth tab is Built-in words. The page can rename a key everywhere in one undo step, move the translations of an edited text, and preview a text in any language for two actors. “Translate…” appears beside every name a player reads. A toolbar menu Preview language shows the Studio’s dialogue previews in a language (the pseudo language is always offered in the editor).
  • Files for translators. Export and import CSV (opens in a spreadsheet) or XLIFF 1.2. An import first shows a report: what changes, what is skipped and why, and texts whose {...} differ. A round trip changes nothing. Named texts have no “Needs review” mark.
  • First drafts by machine (optional). Fill missing translations… can ask a translation service for first drafts of empty cells only. It exists only in the editor and never contacts a service without your confirmation (it shows the address and how many characters). It keeps your key in your editor preferences (never in an asset or a build) and marks every result Needs review. Placeholders such as {target.Name} and <b> are protected.
  • Plural blocks. {plural target.SpouseCount}{one}wife{other}wives{end} with the branches zero one two few many other. The page can write the block for the language you preview. Plural rules for the common languages are built in; TextGrammar.SetPlural and TextGrammar.SetModifier add your own.
  • Built-in words are texts. These are the words the package says itself: “and” in a list, he / she / him / her, Male / Female, true / false, “Day {day} of {era}”, “Year {year}”, the AI’s “base” and “never below”, “Careful”, “{0}: {1}”, “{0}%”. They and the 19 sentences of the clan chronicle are texts with the reserved keys intrigues.list.and, intrigues.pronoun.he and so on. The Built-in words tab lists them with their English default. Translate them like any text; an untranslated language keeps the English default. list.and and ui.careful of earlier builds still work.
  • Conditions never see a translation. A condition, a Compare Variable, a Set Variable, a Log message and a Create Actor name compare the text as written in the source language. So translating a name never changes what a scheme does. {text.key} inside a condition reads the source language. Gender and age-group words in such a place stay Male / Female and the name as written.
  • Every shown text is translated: the scheme description, tooltips, the actor panel’s relation label, dialogue titles, ambition and attitude names, calendar and date formats, the Full Name Format and scheme names.
  • Right to left and fonts. A language marked right to left turns dialogue, tooltips and the UI’s labels around on that player’s machine (a remote player’s own language is applied on their machine). It also shows a whole text at once instead of letter by letter. IM.TextShaper lets you plug in a shaping routine. A language can have an extra font that is in use only while that language is active in play mode (the editor’s TextMeshPro settings are never changed).
  • A pseudo language (xx-pseudo, editor and development builds) shows every text with accents and brackets, so you can see what is not translated and what would overflow. It stays on that machine: it is never remembered and never sent to a multiplayer host.
  • Patch files (StreamingAssets/Intrigues/Texts, persistentDataPath/Intrigues/Texts) can add or replace texts and whole languages without a new build. Their XML comments are no longer shown in the game, white-space-only texts count as empty, and a patch-only language starts empty.
  • Multiplayer. Each seat reads texts in its own language, including a player’s own opinion lines and the second {player} in nested texts. A host takes only languages the game has.
  • Drafts. AI drafts can declare languages and write translations (translations, lines, languages, sourceLanguage, missingText). A translation a draft writes is stored as finished.
  • Demo. The Demo’s own RoleName comparisons are unchanged (the Demo is not part of the package).
  • Signals, rebuilt. The Signal Receiver inspector shows one card per reaction with a one-line summary (“Arcanum Burns: SetActive (On)”). It warns before you play: no signal chosen, an action without a function, a receiver on an object that is switched off, a reaction that switches off its own receiver. It names the schemes that send each signal (click to open the node). In Play mode it shows whether the receiver listens, how often each reaction ran, and a Run Now button. Signals are picked with a normal object field (drag and drop, search) next to a New button that creates a Signal asset where you choose; the Send Signal node got the same New button. Reactions can be added by dropping Signal assets on the list, duplicated, reordered and removed, each as one undo step that also records prefab overrides. A Signal asset now has a Description and its own inspector: who sends it, which receivers in the open scenes react, and Send Now in Play mode. For scripts: IM.CurrentSignal tells a listener which signal is being handled and who sent it. That is the scheme’s conspirator, target and scheme, passed by the Send Signal node (IM.Signal(signal, conspirator, target, scheme)). SignalReceiver.AddReaction / RemoveReaction / RemoveReactions / ReactsTo / Receive edit and use a receiver from code. A listener or reaction that throws is logged and no longer stops the others or the scheme. A signal that keeps sending itself stops after 16 nested sends with one error instead of crashing. Sending a signal allocates nothing.

  • Full Name Format. How an actor’s full name is written ({target.FullName}, the actor panels) is now a database setting on Home ▸ Settings. It uses {title}, {name}, {family}, {clan}, optional parts in [ ] that disappear when empty, and {text.key} for one format per language. New databases write the title and the name. The English “of Family” ([{title} ]{name}[ of {family}], used by the Demo and Example) is one click away. Before, “ of “ was hard-coded.

  • Tooltips, rebuilt. A choice’s two tooltip texts now say what they are. Tooltip is what picking the choice does. Tooltip When Unavailable is why it cannot be picked; it appears in the inspector right under Available When, once the choice has a condition. While the pointer rests on a choice, its tooltip switches at once when the choice becomes available or unavailable, and shows the odds as percentages. Every tooltip text may use tokens such as {text.key} or {player.Name}, and an open tooltip follows changes to its text. Tooltips open below and to the right of the pointer instead of on top of it. They move to the other side near the edge of the screen, wrap long texts, and open without the delay when you move straight from one to the next. Actor names in dialogues, announcements and notifications now show a tooltip about the actor (clan, culture, spouse, age) when you rest the pointer on them. Its texts are token templates on the Link Handler component, so they can be changed or localised. For your own UI: add a Tooltip Trigger to any UI element or collider, or an ITooltipSource component for content worked out when the tooltip opens. Choice templates take ChoiceBehaviour components (ChoiceTooltip is the built-in one).

  • Intrigue Manager inspector, rebuilt. Setup checks with one-click fixes (create or assign a database, assign the default Dialogue prefab), shortcuts to the Graph Editor and Sprite Database, and a database summary. A searchable localization table edits each key in every language. A Runtime section shows the player, actors and active schemes in Play mode.

  • Actor inspector, rebuilt. The inspector of an actor object (Intrigues > Actor, runtime actors and your own subclasses) now says who the object is: portrait, name, “age · gender · culture”, clan, role and family, a Player pill. It checks the object’s link to the database and reports what is wrong: an object with no actor, an actor that is not in the database (deleted, or made for another database), two objects for the same actor (Ctrl+D), no Intrigue Manager or no database in the scene, an actor chosen inside a prefab. Each problem comes with its fix as a button, and one line says when other actor objects of the scene need attention. Choose Actor… opens a searchable list (name, culture, clan, role, family; keyboard and mouse) of the actors that have no object yet. Choosing one stores the actor and its player mark and can rename the object to match, as one undo step that also records prefab overrides. Create New Actor adds an actor named after the object. Edit Actor, Show (clan graph, family tree) and the starting values link to the Graph Editor. Advanced shows the actor ID with Copy, Rename to … and Unlink. Several selected objects get a summary, a list and batch actions (rename to match, select the ones with problems, unlink all). In Play mode the inspector follows the living actor through the game’s change events. They are applied in a light check five times a second, and relationships are read once a second while their section is open. It shows state, clan and role, family, heir, spouse, parents and children (click a name to select that actor), the schemes it runs and the ones against it, and its variables (editable until Play mode ends) and relationships. It adds Open Actor Menu and Play as This Actor. It refreshes on undo, hierarchy and Graph Editor changes, works in both editor skins and from 280 px wide, and no longer needs files outside the plugin. The Runtime Actor Loader got a matching inspector.

  • Graph Editor menu item: Tools > MrW > Intrigues > Graph Editor opens the database of the manager in the scene (or the last one you used).

  • Welcome window, rebuilt from scratch (replaced by the Home page of the Studio since 2.0.0; see above). One-click setup actions: add the Intrigue Manager to the open scene, create and assign a database, open the Graph Editor, and open the Demo or Example scene. It also lists learning resources and has two preferences (Show at startup, Verbose logging). It now opens once per editor session (if enabled) instead of after every script compile.

  • PolyFlame for the Demo: a stylized low-poly 2D flame, animated entirely on the GPU. It is written for the Built-in Render Pipeline and does not need Shader Graph.

  • Refreshed Demo UI:

    • a new in-game realm bar (portrait, name and standing, resources, time controls);
    • a key-hint panel and a redesigned pause menu;
    • a new main menu and redesigned save-slot cards.
  • Ready for multiplayer. IM.IsPlayer(actor) is the one answer to “does a human play this actor?”. actor.IsPlayer and the {target.Player} / {target.AI} tokens now give the same answer; before, two actors marked as player in the database could both count as the player. IM.IsLocalPlayer(actor) asks for the player of this machine, and IM.Players lists every played actor. Nodes address an actor (“to Target, if a player”) instead of “the player”. A multiplayer add-on is planned; in a single-player game nothing changes.

Schemes

  • Two flows waiting in days at the same Wait node now go on in the order they were started, the same in every game. Before, two visits of one node that ended on the same day went on in random order.

  • An error inside a node no longer freezes its scheme: the error is logged and the node ends.

  • A node whose actor is missing no longer acts on the Target instead. That branch stops and the reason is logged (turn on debug logging to see it).

  • Set May Inherit (Set Inheritor) now continues to the next node.

  • Compare Other Scheme Variable read the variable from the current scheme instead of the other one.

  • Number, age and relative-count comparisons could fire several outputs at once.

  • Wait Random could not be stopped.

  • A Repeater set to repeat forever with no wait inside no longer blocks the nodes after it or keeps its scheme from ending.

  • Loading a save no longer runs part of a scheme twice. It keeps a scheme’s success or failure, and ends a scheme that has nothing left to run.

  • Break Sequencer / Break Loop inside another Sequencer or Repeater no longer makes the outer one move on early.

  • Actor variable tokens (1.x {c:Variable} / {t:Variable}, now {conspirator.Variable} / {target.Variable}) show the variable’s value instead of its type name.

  • Cancel Other Flows inside the End node’s Always branch no longer skips On Success / On Failure.

  • A node that finds nobody (Not Found, Vacant, No Heir) empties the variable it stores into, so a later node cannot act on an actor from an earlier step.

  • On Key Press Hold and Tap never fired; the node now offers Pressed and Released.

  • Play Sound threw an exception when its actor was missing. Its Loop option, which did nothing, was removed.

  • Fire Trigger fell back to a scheme-wide trigger when its actor was missing.

  • Has Policy treated an empty policy differently in schemes and in rules.

  • Comparing an Enum variable ignored the chosen enum type.

  • Starting a scheme whose graph is missing threw an exception later; Actor.StartScheme now returns nothing.

  • Cancel Other Flows could let a Repeater or Sequencer start one more round that survived the cancel.

  • Ending one visit of a Wait node could stop the delays of other visits of the same node.

  • A Chance bonus with a missing variable threw an exception, and a 0% chance could still succeed.

  • Wait For Trigger restarted its timeout after loading a save.

  • Set Variable raised onValueChanged twice.

  • An actor placed in two family trees stopped the game from starting; it is now reported by name.

  • The scheme variable type list stored a Family variable for “Dual” and had blank entries.

  • Actor.SchemeIsActive(...) with several VerifyType flags only checked the last one.

Dialogues and announcements

  • AI actors threw an exception when no choice was available.
  • Disabled choices without Choice Details caused an exception in choice tooltips (Demo ChoiceTooltipDemo).
  • Tooltips stayed invisible while the game was paused (Speed Control or pause menu), because their fade-in ran on game time.
  • A tooltip stayed on screen when the object under the pointer disappeared (a dialogue that timed out, a panel that refreshed).
  • Tooltips were kept away from the right and top edge by the wrong amount at most resolutions, because canvas units were compared with pixels. They could leave the screen on large displays.
  • A choice hidden while unavailable never came back when its condition became true.
  • Every dialogue choice left a listener behind on the Dialogue Manager.
  • The second tooltip text of announcement buttons, which was never shown, was removed.
  • Moving the first choice up could turn it into the Timeout branch.
  • Show Announcement ignored its Typewriter setting, dropped the button tooltips and did not apply conditional text. Removing its first button could drop its connections.
  • Dialogue sounds: the priority was ignored, adding the same sound twice threw, and the sounds of a dialogue closed before it appeared were never cleaned up.
  • A name in the part of a dialogue text that was not written yet could already be clicked and showed its tooltip.
  • Code that listened for a dialogue opening got it before its choices were added.
  • A scheme kept every dialogue it had opened until it ended. It now lets go of each one when it closes.
  • A timed dialogue lost the time its text took to appear, and kept counting while another window covered it.
  • Dialogue.IsTop of a ready-made window is now true for the top-most open window although other objects (hidden templates, an audio object, the window pool) follow it under the Dialogue Manager. Before, it compared with the last child of the parent, so in such a layout no window was ever on top.

Actors and Simulation

  • Putting the game back after a simulation or a repeat (Tools > MrW > Intrigues > Simulation) no longer destroys actor objects of the scene that took no part in the game. Those are, for example, scene actors left out by an earlier new game or load. The actors the simulation made still go.
  • A new game started inside the running scene (IntrigueSaveSystem.NewGame() or IM.Load(null) in Play mode) no longer leaves the game without actors. The scene’s actor objects join the new game as they did at the start (values, clan, family and look from the database). Actors created during the old game (births, Create Actor, actors a load brought back) leave it. With “Actors without a scene object” set to create them, missing ones are made as before.
  • After a simulation’s put-back, a brought-back actor that was made from the Actors page reports its origin as Database again (it read Created until the next load).

Editor

  • Sprite Database window: it failed to open (a NullReferenceException, an empty window) because its layout file kept its 1.x name. It was rebuilt (see above) and no longer uses layout files.
  • Copy and paste lost settings of some nodes (for example Show Dialogue’s Typewriter and Background), and pasting some nodes threw.
  • Set Variable on a Bool showed True while storing nothing, and text values kept their tokens unresolved. Set Clan Variable through [Clan] and the scheme actor ports of the variable nodes threw. The rebuilt Set Variable stores the chosen value and the resolved text.

Runtime and API

  • Player builds: several runtime scripts referenced UnityEditor without an editor guard, which could break player builds.
  • Code methods: the Example’s method returned bool and was never registered in 1.x. Every [IntrigueMethod] method that returns void, bool or bool? is called now.
  • Creating clans, families and cultures from code:
    • Clan.Create and Family.Create threw an exception.
    • Culture.Create threw when it was given no name lists.
  • Shared variables: at startup every clan (and every family) shared the same variable instances. Each one now owns its own copy.
  • Actors: Actor.AddSpouses(...) ignored its arguments (the method is gone in 2.0: use Marry).
  • Families: a spouse without a family stayed outside the family at a wedding. A destroyed actor vanished from its relatives’ lists without a notification; now there is one per relative, so menus and heirs follow. The Demo threw when a mother without a culture had a child.
  • Scheme checks: SchemeIsActive(..., VerifyType.FromTarget, target) compared the wrong actor.
  • Loading: IntrigueSaveSystem.LoadLatest() threw when no save file existed.
  • Signals: SignalReceiver now unsubscribes when it is destroyed. IM.Signal(null) no longer runs every reaction that has no signal chosen; it logs a warning and sends nothing. The old inspector could give a reaction the signal of a reaction removed above it. It could clear a signal it did not list (for example one created while it was open), and it saved every changed asset of the project when it created a signal.
  • Debug logging: a Debug Logging setting stored as something other than true/false stopped the Intrigue Manager from starting. It now counts as off.
  • Runtime Actor Loader: a loader class of your own (derived from RuntimeActorLoaderBase or the 1.x IRuntimeLoader) threw an InvalidCastException when the scene started.
  • Actor inspector: choosing the player’s actor in the inspector did not store the player mark. Renaming the object could not be undone and was not kept as a prefab override, and the card did not follow changes (undo, Actors page, Play mode). A customer subclass of InitialActor got Unity’s raw default inspector, and several selected actors showed “Multi-object editing not supported”. The inspector broke when the Editor Default Resources folder was missing.

Demo

  • removed a debug log that printed every frame;
  • the clan map markers no longer throw when the scene closes before their clan is set;
  • the save-slot glow no longer shows on every card at once;
  • replaced the missing menu blur shader.
  • Clan fixes (clan evolution). Clan.Join / Clan.Quit now go through the actor, so the actor’s clan always agrees with the member list (they used to make members whose clan disagreed). Clan.onActorRoleChanged is now a real event (+= / -=): only the clan raises it. A clan’s policies come back from a save in the same order a new game gives them, and so do a family’s. A policy added during play still comes last until the next load, which sorts it into the database’s order. A clan’s own succession law for a role that no longer exists is dropped when the game starts or loads (the database keeps it). Clan.SetName with the clan’s own name does nothing (it used to log an error), and Clan.SetIcon with the same icon raises no event. The name, icon and culture events say in their docs that they pass the value before the change. New: Clan.GetMembers(role, list, includeDead) and clan.LivingMemberCount fill and count without allocating.
  • Cultures and texts: a culture rename, AddName and RemoveName raise a change event only when something changed. A culture list with missing (null), ID-less or repeated entries no longer breaks the culture picker. Culture.GenerateName skips a blank name and says which culture has no names. A clan or family event no longer fires when the value did not change. The saved order of policies after a load follows the database’s policy order. A text log line for a missing text is written once per language and key, and only from the main thread.
  • No 1.x data. Databases made with 1.x do not open in 2.0, and 1.x save files are refused with one error message (2.0 saves carry a format version). Start new content in 2.0; the Demo and Example databases are already converted.
  • Rule graphs and the Validator are gone. A scheme’s start condition is its list of requirements. Scheme.IsCompatible, IM.IsCompatible, IM.IsCompatibleAsync, IM.GetCompatibleSchemes, RuleRunner, RuleResult, RuleState, HideIfNotCompatible, GraphKind.Rule, [SchemeOnly] and the node classes of rules are removed, with no forwarding methods left. The table is in UPGRADE_GUIDE.md, Rules and the Validator → Requirements. Two behaviours to know: a requirement that counts while a scheme runs reacts once per break, and scheme.CanStart does not apply Target Not Required.
  • Graphs behave differently in a few places:
    • a node whose actor is missing stops its branch instead of using the Target;
    • asking for a requirement set that does not exist is not met (and logs one warning) instead of passing;
    • a dialogue timeout runs every connection of its Timeout output, not only the first;
    • comparisons answer True or False exactly once;
    • Chance 0% never succeeds and 100% always does;
    • a Repeater with several connected nodes starts all of them before the next round;
    • a scheme that ends with no result raises onSchemeEnded with SchemeResult.None;
    • a flow started with Run In Background no longer holds a Sequencer step, Repeater round or For Each turn, and ends with the scheme’s End flow;
    • Break Loop and Break Sequencer end the other branches of their round or step (the nodes linked below the Break on the same output still run);
    • Cancel Other Flows (also with Keep Dialogues Open) stops the flows linked below it;
    • Log writes only in the editor and development builds unless Also In Released Games is on;
    • Store Actor with an actor that is not there empties the variable and goes on. Check Requirements with no set chosen stops the flow (the 1.x Check Rule with no rule passed). Switch Player with no actor chosen stops the flow;
    • Set Culture, Add Policy and Remove Policy stop the flow on an unknown ID;
    • methods without their attribute are no longer called, see Nodes, reviewed.
  • How flow.Next works: it schedules the linked nodes, which run after the current node’s Run returns. Code placed after await flow.Next(...) therefore runs before them; use flow.Then(...) for work that must come after. A Run that awaits real work holds the next linked node until it finishes. GraphFlow.RunNode schedules the node instead of running it at once. ActiveNodeList (scheme runner and factory) is a read-only collection in start order.
  • Start checks answer at once. IM.IsCompatible, IM.IsCompatibleAsync and RuleRunner are gone. scheme.CanStart, IM.Meets and IM.Check answer at once on the main thread. From another thread they answer “not met” and log one error.
  • Custom node code must be rewritten. The node data model (NodeData, OutputData, NodeInfo) is new. The 1.x node classes, their rule twins, PortData and the editor node classes no longer exist. A node is now one NodeData class with a [GraphNode] attribute (see UPGRADE_GUIDE.md).
  • Scripting API names follow C# conventions. The I prefix is now used only for interfaces: IResult → bool? (see Your code), Actor.IState → Actor.LifeState, Actor.IGender → Actor.GenderType, IEDatabase → IntrigueDatabase (IM.IEDatabase → IM.Database), [IInvoke] → [IntrigueMethod], STATIC → IntrigueConstants, Schemer / Ruler → SchemeRunner / RuleRunner, and more. The old names are not kept. IRuntime is now RuntimeActorHandler and IRuntimeLoader is RuntimeActorLoaderBase; the IUI*Behaviour classes went with the old menus.
  • A Signal Receiver listens only while its object is active and the component is enabled. In 1.x it listened from the moment its object was first active until it was destroyed, so a receiver that switched off its own object kept reacting. Put the receiver on an object that stays on (as the Demo does); its inspector warns when it is not. SignalReceiver.reactions is now private (use Reactions, AddReaction, RemoveReaction), and SignalEvent is now the class SignalReaction. AddSignal() / RemoveSignal(int) are gone. Scenes keep their reactions; nothing needs to be re-saved.
  • Actor objects that cannot take part are left out, with a message. An actor object with no actor, or whose actor is not in the database, logs a warning that names the object and is no longer registered with the manager. (1.x registered it under an empty ID and printed a message only with debug logging on.) The second object for the same actor logs an error naming both objects and is switched off. Destroying it no longer removes the real actor from the manager or clears other actors’ relationship values toward it. IM.AddActor returns bool (false when another object already holds the ID).
  • The database decides who the player is. When a new game starts, the actor marked Is Player on the Actors page becomes the player. 1.x read a copy of the mark stored on the scene object. So changing the player on the Actors page, or linking an object through the inspector, had no effect until the objects were made again.
  • Succession rules replace heir filters. A role’s heir is decided by its succession rule (see above). The 1.x Heir Filter nodes, Role.HeirFilter, Role.FilterID and the filter types are gone. Role.Inheritance is worked out for you (true for every rule that is not Not inherited). Men first orders within each group of relatives: a holder’s daughters come before his brothers. RetireAndTransferInheritance is obsolete (use Abdicate).
  • A court role stays with the clan. JoinClan and QuitClan leave the court role behind (an empty seat), and the actor arrives in a new clan without one; personal roles are kept. Before, a role moved with the actor into the new clan when a seat was free there. actor.Title and {target.Title} fall back to the personal role’s title, so FullName can now start with “Doctor”. clan.FreeSeats of a personal role reports no limit. The ready-made clan window builds its court from the database. See UPGRADE_GUIDE.md.
  • Marriage and family API. AddSpouse, AddSpouses, RemoveSpouse and RemoveSpouses are removed (use Marry, Divorce, DivorceAll). The 1.x Actor.Origin (the birth family) is gone: use BirthFamily. Actor.Origin now means the ActorOrigin of the actor’s object (Scene, Database, Created). Relations are linked in Awake, not Start. Family.onMemberJoin and Clan.onMemberJoin are events now, like onMemberLeave. Subscribe with +=; assigning or invoking them from outside no longer compiles. QuitFamily leaves the actor with no family (1.x fell back to the birth family). Marry and Divorce have a second output, and Create Actor’s Join Parent Family / Join Parent Clan became Born into / Clan. The table is in UPGRADE_GUIDE.md.
  • The dialogue window was rebuilt. The Typewriter Effect component is gone (the text now has a Text Reveal), and Dialogue.prefab has a new layout. The Dialogue Manager’s five colour fields moved into the style (Default). A timed dialogue now counts from the moment its choices appear and stands still while covered (Choices: With the text on a style for the old timing). Dialogue.SetTypeWriterDuration, Dialogue.Init, Dialogue.Update, the public Dialogue constructor and DialoguePanel.AddButton are removed. Announcements still open above dialogue windows, and the dialogue under them waits, its time limit included, as in 1.x. See UPGRADE_GUIDE.md.
  • Named actors replace the Resolved Actor. Resolved Actor, Second Resolved Actor, Resolved Clan and Resolved Family are gone from the pickers: a node that finds someone stores them in Store In. The nodes Resolve Actor, Resolve Actor Pair, Resolve Clan and Resolve Family are now one node, Get From Code. New Set Conspirator, Set Target, Switch Player and Store Actor nodes start with no actor chosen; new Marry nodes start with Conspirator and Target. Custom node code no longer has flow.actor, flow.secondActor, flow.clan or flow.family: use ActorRef fields and flow.Named(variableId). Saves of this version are format 7; earlier 2.0 development saves are refused. See UPGRADE_GUIDE.md.
  • The 1.x match engine is gone. IM.MatchEngine and BatchMatchEngine were removed; the Demo no longer matches spouses by itself. Use a decision (Behaviour ▸ Decisions, for example the starter set’s Seek a spouse) or your own code with Actor.Marry.
  • Renamed for looks. ActorChange.Portrait is now ActorChange.Look (same value). Actor.LifeState has the members Alive and Dead (were Active and Passive; drafts still read the old words, exports write the new ones). IM.RefreshPortrait is IM.RefreshLook, and Actor.RefreshPortrait and IM.PickPortrait are removed (use RefreshLook and IM.PickLook). Actor.Portrait, SetPortrait(Sprite), ChildOptions.Portrait and CreateActor(…, Sprite) keep their names. No old names are kept as forwarding methods.
  • Looks, bodies and actor creation API. actor.Look, actor.LookVariant, actor.LookKey, actor.Portrait (the shown picture), SetLook, SetLookKey, SetPortrait, RefreshLook(refit); IM.onActorBodyChanged, actor.onBodyChanged, actor.Body, actor.ShowBody(), actor.HideBody(), actor.RefreshBody(); ActorChange.AgeGroup (always together with Age). actor.SetAge keeps an age between 0 and the database’s oldest age instead of the fixed 120. RuntimeActor.CreateActor and CreateActorWithLook return Actor (the out overload out Actor). So is RuntimeActor is no longer the test for “created while the game runs”: ask actor.Origin == ActorOrigin.Created. RuntimeActorHandler.OnRuntimeActorCreated runs when Intrigues creates an actor object (a birth, Create Actor, an actor brought back by a load). The Demo’s setup script adds its DemoCharacter only when the object has none.
  • Other API changes: Dialogue.AddSound(DialogueSound) and Dialogue.AddVoice(DialogueVoice) replace the overloads that took node classes. KeyType.Hold and KeyType.Tap are removed (never raised). Actor.SchemeIsActive is true when any selected VerifyType flag matches. The full list is in UPGRADE_GUIDE.md.
  • Menus: components are grouped under Add Component > Intrigues, assets under Create > MrW > Intrigues, and every tool under Tools > MrW > Intrigues. The manager prefab is now called Intrigue Manager.

  • NullUtils is split and slimmed. Delays are DelayedCalls.Start, Stop, Pause, Resume and IsRunning. PickRandom lives in CollectionPicks and has a TryPickRandom that does not throw on an empty list. NullUtils.CheckProbability is Dice.Chance. About thirty unused helpers are gone (extension methods on float, string and List<T>, editor reflection helpers, RandomHTMLColor, WaitUntilAsync, SaveAsset), so your IntelliSense no longer lists them. SchemeFormat and LocaliseText are removed (use IntrigueText.Format).

  • Shader Graph is no longer needed by the Demo. Post Processing is still used by the Demo’s camera effects.

  • Preferences: the “show at startup” preference moved from PlayerPrefs to EditorPrefs. An existing opt-out is carried over automatically.

  • Product links: all of them are now defined in one place (IntrigueConstants).

  • Clans and families created from code each receive their own copy of the global variables.

  • Dialogues keep the speaker’s picture up to date. A dialogue that shows portraits now changes the picture when the speaker’s or listener’s look changes while the window is open. Before, it kept the picture it opened with. A speaker who leaves the game hides the speaker block.

  • Age groups instead of age suffixes. The import card’s and the Sprite Database’s age words are the group’s ID, its name or its name written together (-adult, -middleage). An age above the oldest age is cut to it when the game runs. A draft with such an age gets an information line, not an error.

  • Delayed calls run on the engine’s own frame clock. DelayedCalls.Start, Stop, Pause and Resume (formerly NullUtils.DelayedCall, StopCall, PauseCall and ResumeCall) keep their parameters and timing. A wait condition still costs one frame, and a delay of 0 calls back at once. But the delays are now one table that Intrigues steps once a frame, in the order the delays started to wait, instead of one Unity coroutine each. Among themselves delays keep their old order. Against your own coroutines started in the same frame, the order can differ. The public CoroutineData.Coroutine property is gone (see UPGRADE_GUIDE.md).

  • Optional bridge to Unity’s Localization package (off by default; needs the Unity Localization package, which Intrigues does not install). Add the “Unity Localization Bridge” component to show texts from a String Table and follow Unity’s language. Tools > MrW > Intrigues > Unity Localization copies your story’s texts into a String Table and back (through the import report). Intrigues’ own texts stay the source of truth. Tested offline only until it has been tried with the real package.