The Library
What this page is for
Section titled “What this page is for”The Library is the panel at the bottom of the left side. It lists what the open page can use: the variables of a scheme, the groups on the canvas, or the actors you can place in a family or a clan. A page without such a list has no Library.
When you come here
Section titled “When you come here”- You want to add a variable to a scheme, or see the variables of the world.
- You want to find a node group quickly.
- You want to place an actor in a family or a clan.
- You want to read the values of a scheme while it runs.
What you see
Section titled “What you see”- Start, output Start, goes to Wait.
- Wait goes to Succeed Scheme.
- Library header. The title of the panel. Its chevron folds the panel.
- Tabs. Scheme, World, Groups and Categories.
- Rows of the open tab. Here, the variables of the scheme.
The Library sits under the Element Inspector, in the left side. Show or hide the left side with the third button of the toolbar. See The toolbar, control by control.
- On the Schemes page, the Library has the tabs Scheme, World, Groups and Categories. During a test run, a tab Run joins them at the front.
- On the Families and Clans pages, the panel is titled Actors. It has one tab, Actors, so no tab bar shows.
- The tab bar shows only when there are two or more tabs.
- Other pages have no Library.
The panel header has a small chevron. Its hover text is Collapse this panel, and then Expand this panel. A collapsed panel shows only its header, and dragging the splitter opens it again.
Do it, step by step
Section titled “Do it, step by step”Switch tabs
Section titled “Switch tabs”Click a tab. Its hover text: Variables of this scheme for Scheme, Variables of the world for World, and The categories of schemes: the sections of a list of schemes to start for Categories.
Add a variable to the scheme
Section titled “Add a variable to the scheme”Open the Scheme tab. Type a name in the field that reads (New Variable Name), then open the menu Add Variable and pick a type. A new row appears.
Every row shows the name, the type and the value a run starts with:
- Click the name to rename it. A name that is already used gets a number.
- The type is a menu. Changing it changes the starting value field.
- The starting value of a number, a true or false, or a text is a field with the hover text The value every run of the scheme starts with. An actor, a list of actors, a clan or a family starts empty. The row says empty, with the hover text Starts empty in every run; Store In, Store Actor, the list nodes or code fill it.
- The button with the cross deletes the variable. Hover text: Delete this variable.
The first row is Accomplices, with the value built in. Its hover text is Every scheme has this list: the actors who help in it, empty at the start. It cannot be renamed or deleted. A scheme with no variable of its own says The list is empty.
The fields are off while the graph cannot be edited. Each edit is one undo step. To undo, use Undo in Unity’s Edit menu.
Read the values of a running scheme
Section titled “Read the values of a running scheme”In Play mode, the Scheme tab shows the values of the running instance. The caption reads Now in the conspirator → the target, or The live view follows no run of this scheme. The add field is hidden then. See Test run: play a scheme in the Studio for the Run tab.
Read the world’s variables
Section titled “Read the world’s variables”Open the World tab. It lists every variable of the database with its type. Hover a row and it shows the description, Belongs to: and the owner, and Double-click to edit on the Variables page. Double-click opens the Variables page.
The tab is read only. With no variable, it says No world variables yet. Create them on the Variables page.
Find a node group
Section titled “Find a node group”Open the Groups tab. It lists the groups of the open scheme, with a filter and the buttons Collapse All and Expand All. See Node groups.
Make a scheme category
Section titled “Make a scheme category”Open the Categories tab. Its first line says: The sections of a list of schemes to start. A scheme picks its category in its settings. No category: every scheme lists in one unnamed section.
Click Add a category. A category called Category appears (Category 2 and so on when the name is taken). Each category has:
- Name and Colour.
- Icon: a sprite.
- Order. Hover text: Lower numbers come first; equal numbers keep this list’s order.
- Rows before “N more”. Hover text: How many schemes a list shows before “N more”. 0: all of them.
- Show only when: Always, or a requirement set. Hover text: A requirement set asked for the one who would start and the target: the category (with its schemes) is listed only while it is met.
- A count such as 1 scheme or 3 schemes, and the button Remove. Hover text of Remove: The schemes of this category then list in the unnamed section (their Category is cleared).
With none, the tab says No categories yet. Each edit is one undo step: Add Scheme Category, Rename Scheme Category, Scheme Category Colour, Scheme Category Icon, Scheme Category Order, Scheme Category Rows, Scheme Category Show When, Remove Scheme Category.
The scheme settings have no row that sets a scheme’s category. See Scheme settings.
Place an actor in a family or a clan
Section titled “Place an actor in a family or a clan”Open the Families or the Clans page and open one. The Actors library lists the actors of the database.
- The search box finds actors by name. The three menus filter by culture (All cultures, No culture and the cultures of your database), by life (Alive and dead, Alive, Dead), and sort the list (Oldest first, Youngest first, By name, Database order). The player always comes first and is marked (Player).
- The toggle Show actors already in a family (or in a clan) lists placed actors too. Hover text: List placed actors too. Double-click one to open its card.
- A line above the list says how many actors are not placed: for example 3 of 8 actors are not in a family yet.
- Drag an actor onto the canvas of a family. On the Clans page, drag it onto a role of the court. Double-click an actor to add it to the open family, or to the open clan without a role.
- Double-click an actor that is already placed to open its card.
With no actor in the database, the list says No actors yet. Create them on the Actors page. With every actor placed, it says Every actor is already in a family. (or clan). With a search that matches none, it says No actor matches the search and filters.
Drag and double-click are the Library’s own handling, and the rest of each page has its own lesson.
How it connects
Section titled “How it connects”You come from Node groups. The next lesson is Scheme settings.
The Scheme tab belongs to the scheme open on the canvas, and the nodes Store In, Store Actor and the list nodes fill its variables.
Settings on this page
Section titled “Settings on this page”This page has no setting. The panel’s collapsed state belongs to the pane: it stays when you change page.
Mistakes and messages
Section titled “Mistakes and messages”I do not see a Library. The page has none (Home, Settings, Texts, Simulation, the list pages), or the left side is hidden. Use the third button of the toolbar.
I do not see the tab bar. It shows only when there are two tabs or more.
The Scheme tab is grey. The graph cannot be edited: Play mode, or a test run plays the scheme.
The World tab will not let me edit. It is read only. Edit world variables on the Variables page.
| Message | Where it shows | What to do |
|---|---|---|
| The list is empty. | Scheme tab | Add a variable. |
| No world variables yet. Create them on the Variables page. | World tab | Open the Variables page. |
| No categories yet. | Categories tab | Click Add a category. |
| No actors yet. Create them on the Actors page. | Actors library | Create actors on the Actors page. |
| Every actor is already in a family. | Actors library | Show placed actors, or make a new actor. |