summaryrefslogtreecommitdiff
path: root/npc/081-2
diff options
context:
space:
mode:
Diffstat (limited to 'npc/081-2')
-rw-r--r--npc/081-2/logic.txt43
1 files changed, 43 insertions, 0 deletions
diff --git a/npc/081-2/logic.txt b/npc/081-2/logic.txt
index 9df94ba6..9915aec5 100644
--- a/npc/081-2/logic.txt
+++ b/npc/081-2/logic.txt
@@ -19,6 +19,7 @@ OnTouch:
end;
}
+/* *************************************************************************** */
/* Candle Puzzle */
081-2,130,255,0 script #X21Candle_0 NPC_NO_SPRITE,{
if (!countitem(ThermalNapalm)) { dispbottom(l("I don't have anything to lit this candle.")); end; }
@@ -156,3 +157,45 @@ OnInit:
end;
}
+081-2,105,213,0 script #X21Barrier1 NPC_HIDDEN,2,0,{
+ if (!'XMAS21CANDLE)
+ npctalkonce l("The strong shall yield the powder to enlighten the way, according to the established sequence.");
+ end;
+OnInit:
+ .distance=1;
+ end;
+}
+
+/* *************************************************************************** */
+/* Seeds Puzzle - See 2021.txt */
+
+081-2,127,129,0 script #X21Barrier2 NPC_HIDDEN,4,0,{
+ if (!'XMAS21TREE)
+ npctalkonce l("In this year Christmas, kids shall play ball. Once the Christmas Tree is set, the festivities may proceed.");
+ end;
+OnInit:
+ .distance=1;
+ end;
+}
+
+081-2,118,169,0 script #X21SeedFlag NPC_NO_SPRITE,{
+ if (!'XMAS21TREE)
+ npctalkonce l("The leaves in a room, the objects from the other; When they merge together, the festivities shall proceed.");
+ end;
+OnInit:
+ .distance=2;
+ end;
+}
+
+/* *************************************************************************** */
+/* Ambush Puzzle */
+
+081-2,49,73,0 script #X21Barrier3 NPC_HIDDEN,2,0,{
+ if (!'XMAS21AMBUSH)
+ npctalkonce l("One room, Seventeen buttons, Three truths, and a lever to bring joy to the children.");
+ end;
+OnInit:
+ .distance=1;
+ end;
+}
+