From e2af59c9bad150ca476248e428cda119d5746d47 Mon Sep 17 00:00:00 2001 From: He4eT Date: Tue, 10 Dec 2024 19:35:08 +0100 Subject: [PATCH] Add endgame buttons --- locations/island.t | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/locations/island.t b/locations/island.t index 0612fd2..a0d8baf 100644 --- a/locations/island.t +++ b/locations/island.t @@ -6,3 +6,27 @@ island: OutdoorRoom 'Strange Island' The air hummed with an electric tension, as if the island held an ancient secret waiting to be discovered. " ; + ++ Button, Immovable + 'green button*buttons' + 'green button' + "Win Button" + dobjFor(Push) { + action() { + finishGameMsg(ftVictory, [finishOptionUndo]); + } + } + isListed = true +; + ++ Button, Immovable + 'red button*buttons' + 'red button' + "Loose Button" + dobjFor(Push) { + action() { + finishGameMsg(ftDeath, [finishOptionUndo]); + } + } + isListed = true +;