SAMPLE PROJECT WALKTHROUGH
Harbor Helpers NPC 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
Harbor Helpers NPC Workshop
This safe five-room project connects eight editable NPC role factories to real stock, payment, healing, repair, passage, escort and an accepted Quest handover. It contains no hostile enemies or timed hazard. Its HTML uses the Light theme.
Visit Sample Projects on the website, find Feature Workshops → Harbor Helpers NPC Workshop, and download its editable .tagm, play the example or read its walkthrough. Save current work before opening the downloaded project. You can also play the example, download the editable project or view its room map.
Open and inspect
Open the .tagm using Open Project. In World → NPCs, inspect the guide, merchant, medic, technician, gatekeeper, civilian, harbor master and sentinel. Their native profiles, conversations, Recipes, Quests, hints and routines are editable. The example uses the same role factories as Library; it does not invent a second NPC engine. Package baselines preserve ownership, and the deliberate repair/rescue/delivery links count as authored changes when a role is reconfigured.
The NPC starts and roles are:
| NPC | Starting location | What to test |
|---|---|---|
| Guide | Harbor Square | TALK, choose 1, and HINT use the same saved native hint tiers. |
| Merchant | Harbor Square | Buy the one real fuse for three coins. A repeated purchase cannot manufacture stock. |
| Medic | Harbor Square | Optional treatment restores 40 health for two coins; the player starts at 60/100 health. |
| Technician | Repair Workshop | USE FUSE WITH SUPPLY CRATE consumes the fuse, retains the wrench and actually unlocks the crate. |
| Gatekeeper | Harbor Gate | Checks the actual carried harbor pass and admits the player to the shelter. |
| Civilian | Shelter | Recruit through TALK, choose 1, then reach the pier alive. Waiting is separate from a completed rescue. |
| Harbor master | Harbor Pier | Accept the task through TALK, choose 1. The final Recipe checks the repair and rescue before accepting the dispatch. |
| Sentinel | Harbor Gate | Walks a connected Gate/Square routine without attacking. |
READ BRIEFING at the square contains the complete route. Each service choice ends its menu, so the next line is an ordinary command.
Full explanation route
read briefing
talk guide
1
talk medic
1
talk merchant
1
take wrench
east
use fuse with supply crate
open supply crate
take harbor pass
west
south
talk harbor master
1
north
north
talk gatekeeper
1
take sealed dispatch
talk civilian
1
south
south
south
give sealed dispatch to harbor master
Expected endpoint: Harbor Pier, completed rescue and delivery Quests, living civilian at the pier, 100 score, 100 health and 10 harbor coins. The ending awards five coins; the full route spent three on the fuse and two on optional treatment. The wrench and harbor pass remain carried. The fuse was consumed by repair. The dispatch is physically owned by the harbor master after acceptance.
Two alternate routes
The direct route omits read briefing, talk guide, its 1, talk medic and its 1. Complete the remaining commands in the full route. It ends at 60 health and 12 coins, with the same 100-point mission completion.
To check a harmless early failure, first type north, talk gatekeeper, 1, south. Then use the direct route. After first returning from the workshop with the pass, you can also type east, use fuse with supply crate, west: the used repair does not create another fuse, consume the retained wrench or award repeated completion. Repeat this route from a fresh game to compare its result with the direct route.
That third route also checks the parser and object aliases: speak to merchant, get spanner, e, use replacement fuse on crate, open device, get permit and w replace the corresponding service commands. These aliases execute the same native services and repair.
These are demonstrated routes, not claims of optimal turns or a theoretical maximum score.
Use these checkpoints to compare the routes. Test a fresh exported HTML as well as the editor player.
| Route | Score | Turns | Health | Harbor coins | Retained inventory |
|---|---|---|---|---|---|
| Briefing, hint and treatment | 100 | 27 | 100 | 10 | Wrench, harbor pass |
| Direct service and rescue | 100 | 22 | 60 | 12 | Wrench, harbor pass |
| Blocked passage, aliases and repeat | 100 | 28 | 60 | 12 | Wrench, harbor pass |
All three finish at the pier with both Quests completed. Lives are disabled; there are no weapons, ammunition or hostile enemies in this workshop.
Check real failures and persistence
- Try the crate without the fuse or wrench. It stays locked, and existing carried items remain intact.
- Buy the fuse twice. The second attempt must leave money and stock unchanged.
- Receive treatment twice. Full health or cooldown refusal must not take another payment.
- Give the wooden token to the harbor master. It must not count as the dispatch or disappear as an accepted delivery.
- Try the gate without a pass. The player remains at the gate.
- Carry the dispatch back without the civilian. The master must refuse completion until the living rescue requirement is satisfied.
- Save before buying, buy, then Load. The one physical fuse and the original money must be restored to their original owners.
- Save before repair, repair, then Undo or Load. The material, retained tool, locked crate and native state must agree.
- Save during the escort, move, then Undo/Load. The player, follower, lifecycle and rescue proof must return together.
- After winning, repeat the handover or Undo and redo it. Rewards cannot accumulate through repeated success; Undo restores the pre-handover state and reverses its completion reward before replay.
Where the logic lives
- The merchant and medic use checked native NPC service actions.
- The technician uses a native Recipe, a retained tool and an owned visual shared helper that changes actual object lock state.
- The gatekeeper checks the real pass or configured trust; the workshop also records the opened gate for its ordinary directional exit.
- The civilian's profile has a rescue destination. A living arrival emits the rescue event and completes the native rescue Quest.
- The harbor master uses a once Recipe with repair/rescue requirements and a Quest reward. Pickup or a printed message alone cannot complete delivery.
- The guide uses native Progressive Hints; the sentinel uses native NPC Routines.
See NPCs — Characters, Roles and Abilities, Recipes and native interactions, Objectives and Scripts when adapting the example.
Download editable projectPlay Example (new tab)All Sample Projects