feat(content): victory & flee endings; front-door flee switch

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-31 22:50:46 +02:00
parent 2238aa6ff5
commit b23f706521
4 changed files with 34 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
- id: victory
title: "The Manor Reclaimed"
victory: true
when: [{ flag: manor_secured }]
text: |
The lights hold steady and the whispers fade to nothing. Whatever held
this place has loosened its grip. The manor is yours now.
- id: fled
title: "Into the Night"
victory: false
when: [{ flag: fled }]
text: |
You wrench the front door open and bolt into the dark. Safe — but the
manor keeps its secrets, and they will keep you awake for years.

View File

@@ -34,3 +34,15 @@
You pull the lever back; the manor falls dark again.
effects:
- { setFlag: power_on }
- type: switchable
id: front_door
name: Front Door
description: The heavy front door. It would let you leave the manor for good.
initialState: false
onText: |
You haul the front door open and step out into the cold night.
offText: |
You ease the door shut again.
effects:
- { setFlag: fled }

View File

@@ -7,7 +7,7 @@
north: hallway
east: cellar
south: dungeon
items: [letter, lamp]
items: [letter, lamp, front_door]
npcs: [old_man]
exitLocks:
- direction: east