SAMPLE PROJECT WALKTHROUGH
Containers & Interactions Workshop
Download the editable project, then choose Open Existing in the App. Save your current work before opening another project.
Download editable projectPlay Example (new tab)All Sample Projects
Containers and creator features
Open Gameplay → Story & rules → Advanced creator features for command context, keyword actions, recipes, prompts, conversation flows and NPC routines. Configure managed containers in World → Objects. The Story states, rules and Test Lab guide explains the shared conditions, consequences and test tools used here.
Containers and surfaces
For a newly created object, checking Container opens its container settings. Choose starting open/locked state, the exact key object, transparency and optional capacity in kg. Defaults are closed, unlocked, opaque and unlimited capacity. A surface uses On placements; a container uses Inside placements.
Existing flag-only containers retain their previous script behavior. Their explicit conversion preview explains that managed transitions and access checks run first, followed by existing success handlers. Conversion preserves the scripts; review handlers that manually change flags or award rewards to avoid relying on the previous replacement behavior.
An object's initial parent is an exact object identity. The compiler rejects missing parents/keys, wrong parent kinds, self-placement, cycles, more than eight parent links, invalid weights and over-capacity initial graphs. Each parent capacity counts the complete weight of its descendants while excluding its own shell. The player's carried weight counts every descendant once, including items inside worn containers. Carry slots count top-level carried roots using the existing worn-item exception.
Supported opt-in commands include:
| Command | Behavior |
|---|---|
put medallion in bag / into bag |
Move a carried accessible object inside a managed container. |
put medallion on workbench / onto workbench |
Move it onto a managed surface. |
take medallion from bag |
Check the direct parent, accessibility and carry limits before moving it. |
look in bag / look on workbench |
Show visible contents with relationship labels. |
open chest / close chest |
Apply managed access/lock checks and transition once before success handlers. |
unlock chest with brass key / lock chest with brass key |
Require the exact accessible carried key. |
Taking, dropping, moving or removing a parent preserves its subtree. A closed opaque ancestor hides descendants; a closed transparent ancestor allows viewing but prevents manipulation. Every inside ancestor must be open for a manipulation to succeed. Room darkness blocks room access; accessible carried items remain usable. Failed placement, capacity, key or carry-limit checks make no partial placement change.
Possession conditions include an object inside a carried bag. Access checks remain separate: having a key in a closed bag does not make it usable. Save/load, undo and restart preserve or reset parent links, open/locked flags and recursive weight coherently. Initial hierarchy and templates retain the settings. Deleting a referenced parent/key leaves a visible repair error that blocks Save/Play/Export rather than scattering children silently.
Command context
Select Enable pronouns and clarification under Gameplay → Story & rules → Advanced creator features to use pronouns and retained clarification. examine brass key followed by take it resolves the examined object. An ambiguous take key asks which key; the brass one continues that exact action. Missing required nouns prompt for an answer. Unrelated recognized commands or cancel abandon the pending question.
Clarification questions and invalid answers execute no event, create no undo step and consume no hazard/combat/routine turn. A completed answer executes its action once. Scope and accessibility are checked again before using a retained identity, after movement, or after loading a save. Context is part of managed saved/undo state and restart begins with fresh context. An unavailable reference cannot bypass a closed container or darkness.
it refers to the latest resolved singular target. them can refer to a single plural-named entity; a true group requires an explicit entity name instead of performing an implicit batch action. Two-object Natural Actions retain exact tool/receiving-target identities. Unsupported Natural Action phrases keep their existing parser fallback. Games without command-context opt-in retain their previous grammar.
Room keyword actions
Set it up: in World → Rooms → 8. Room Keyword Actions, choose Add scenery search for the saved room or playable cell. You can also use Gameplay → Story & rules → Advanced creator features → Room keyword actions and select Search room or cell. Name the search, enter Keyword and aliases (one per line), add requirements/effects, and write the success, failed-requirements and already-completed messages. Enable Search once after success for a one-time discovery. Test a matching phrase, an alias, a failed requirement and a repeated success.
In Room Set Up, configure a Keyword Action for an exact room or playable Medium-room cell. The initial verb is SEARCH. Give it one or more full phrases/aliases, enable it, choose shared conditions and ordered consequences, and write success/failure/repeat responses.
search the snow matches a configured snow phrase regardless of case, articles and spacing. Mentioning snow in prose alone adds no command. The scenery word remains in LOOK because it is not itself an object being removed. Plain SEARCH and unmatched phrases continue through the existing engine path. A matched keyword takes priority in its exact room, dispatches once and does not also run the ordinary room Search event. Darkness blocks the search.
Run-once state survives save/load. A collected object targeted by reveal/move consequences is protected from being teleported back out of the player's inventory by a repeated search. Creator collision warnings identify exact object-name and custom-command overlaps; matching never overwrites an engine verb. Disable/remove the action to restore the ordinary unmatched path. Shared actions can reveal/move objects, spawn or remove stationary NPCs using Current room/Nowhere, move mobile NPCs between rooms, run scripts, change states, award score and show messages.
Interactions and crafting
Set it up: create the participating objects/NPC first. Under Advanced creator features → Object interactions & crafting, choose Add interaction recipe. Select the Player commands you want to accept, pick the ingredient identities and their disposition, then add any retained tool, fixed Interaction target, Required room or cell (optional) and Result object (optional). Add requirements/effects and the three response messages. Keep Recipe once after success for a one-time repair/reward. Test with everything present, without one input/tool, against a wrong target and after the first success. The native Observatory workshop supplies a complete retained-tool example.
Recipes contain accepted commands (combine, use, give), inputs, retained tools, optional exact target/location, optional result object, shared conditions/actions and messages. Each input is retained, consumed or transferred. Combined inputs may explicitly allow either order. For a trade, choose the NPC target and input transfer disposition. A repair can retain its inputs and run state/script consequences without creating a result object.
All carried/accessibility, tool, target, location and condition requirements are checked before ingredients move. Failure consumes nothing. Once and result-object guards prevent duplicate results or repeated rewards after save/load. A transfer without a destination on an NPC recipe records transfer to that NPC and removes the offered item from player inventory. An explicit transfer room places it there. Result objects start Unplaced and move to inventory after successful assembly.
Reusable choice prompts
Set it up: under Advanced creator features → Choice prompts anywhere, choose Add choice prompt, name it and write Prompt text. Optionally choose Prompt owner kind and its exact owner. Use Add prompt option for each labeled option; set requirements, effects, once behavior and When unavailable. Add a Show prompt shared effect to the rule/event that should open it. A definition alone does not display a menu. Test each option, unavailable choices, cancellation and a repeated visit.
Create a named prompt, optional room/object/NPC owner, labeled options, availability conditions, shared consequences, once behavior and optional follow-up prompt. Trigger it through the Show prompt shared action from room/object/NPC events, startup/turn rules or advanced scripts that call the shared rule. Yes/no menus and shops need no fake objects.
Players choose a number or exact option label. Hidden options do not appear; disabled options remain visible and cannot execute. Numbering belongs to the displayed menu and does not silently retarget when conditions change. Invalid input and cancellation consume no turn. A successful choice executes once and consumes its normal turn. Save/load/undo remain global commands while a prompt is pending.
A follow-up can open after completion; an unrelated attempt to open a second prompt leaves the current one intact. Moving away from the origin room or making its owner unavailable closes the menu safely. Save/load restores a pending menu without replaying consequences. Numeric answers are recorded and replayed by Test Lab.
Conversation flow
Set it up: create an NPC, then open Advanced creator features → Visual conversation flow and choose Add conversation flow. Set Conversation NPC and Conversation starting node. Write Node prose, use Add conversation node for replies and Add connected choice for player choices. Choose each choice's Continue to destination, requirements and effects. Use Preview with test conditions to inspect branches, then TALK to the NPC during actual play. Only one enabled flow can own an NPC. Disable Conversation flow enabled to return that NPC to its preserved classic keyword/topic behavior; authoring data is not deleted.
Opt an NPC into a named flow with a starting node, connected choices, conditional branches, ordered entry/choice consequences and once behavior. Connect a choice to a node, Back, or End. Choices can give items, change managed states, compare NPC trust or set trust using the shared form controls. Existing classic keywords/topic conversations remain available in projects that do not opt the NPC into a flow; no silent conversion removes their authoring data.
The visual preview evaluates test conditions and displays connected choices without executing actions or changing a running game. A valid player choice executes once and consumes a turn. Invalid numbers, cancellation and ending a menu consume no extra turn. A new nonnumeric command leaves the conversation and dispatches normally. Unavailable NPCs end the flow. Node history and once flags survive saved games/undo, and redisplaying a saved node never reruns its entry actions.
NPC routines
Set it up: make the NPC mobile in World → NPCs. Under Advanced creator features → NPC routines & priorities, choose Add NPC routine and select Routine NPC. Name the first activity, choose Activity destination (optional), set Activity duration at destination (turns) and its priority/requirements. Add start/completion effects; use Add routine activity and Next activity (optional) to connect the schedule. In a fresh test, take several ordinary turns, interrupt with a higher-priority condition, then test conversation/follow/combat pauses and blocked travel.
For a mobile NPC, create ordered named activities with priorities, shared conditions, optional injury threshold, destination, duration, entry/completion consequences, next activity and once behavior. The scheduler advances once after each completed player turn.
- Higher priorities interrupt lower priorities. Equal priorities use authored order. An explicit next activity is honored when no higher-priority eligible activity takes precedence.
- Interrupted frames retain elapsed time. Eligible suspended activities can resume; resuming does not rerun their start consequences.
- Travel uses one traversable exit per turn with deterministic breadth-first routing. Blocked routes wait/retry; no teleport bypass is used. Arrival counts as the first duration turn; intermediate travel does not.
- Conversation with that NPC, following and combat pause its routine. Hidden, removed or dead NPCs stop and clear routine frames.
- Starting an activity runs entry consequences once. Completing its duration runs completion consequences and queues its next activity. The scheduler rechecks NPC availability after consequences.
Debug snapshots expose the current activity, elapsed/duration, suspended frames, queued next activity and selection/block/pause reason. Saved games, undo and restart include routine state. This deterministic scheduler is replayable under the existing runtime policy.
Save and test your changes
Save your editable .tagm project, reopen it, and check that the configured features remain. Newer features can require a compatible editor; if another editor refuses the project, keep the original file rather than removing its capability information.
Record the important commands in Test → Test Lab. Add expectations for actual object placement, inventory, visibility, open/locked state, weight and story progress. Review observed results against your intended design before saving them as expectations. A recorded result does not prove the puzzle itself is correct.
Download Combined Systems → Containers & Interactions Workshop from Sample Projects on the website, save current work and open its editable .tagm to inspect a complete game. Its routes reach the Exit Yard with 200 points: 25 for crafting, 25 for power, 50 for briefing and 100 for exit. Try reversed recipe order, prompt cancellation, a scenery alias, pronouns and surface placement as well as the direct route. Use Play Example, Download editable project (.tagm) and View Walkthrough on the website to compare play with the authored configuration.
After changing your game, test the editor, the saved/reopened project and a fresh standalone HTML export. Check the live Community player after publication too. Configure the currency wording explicitly and verify what players see. Test success, missing requirements, repeat rewards and Save/Load/Undo for each system you use.
Download editable projectPlay Example (new tab)All Sample Projects