diff options
Diffstat (limited to 'npc/081-2/logic.txt')
-rw-r--r-- | npc/081-2/logic.txt | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/npc/081-2/logic.txt b/npc/081-2/logic.txt index 6cecaf6e..5a985cce 100644 --- a/npc/081-2/logic.txt +++ b/npc/081-2/logic.txt @@ -175,8 +175,12 @@ OnInit: 081-2,103,213,0 script #X21Barrier1 NPC_HIDDEN,4,1,{ @inst = instance_id() + 1; - if (!'XMAS21CANDLE) + if (!'XMAS21CANDLE) { dispbottom l("Northern Lights")+" : "+l("The strong shall yield the %s to enlighten the way, according to the established sequence.", b(l("powder"))); + slide 105, 214; + if (checkcell(getmap(), 105, 212, cell_chkpass)) + setcells .@mapa$, 103, 211, 107, 212, 1, "X21L1@"+X21ID(); + } end; OnInit: .distance=1; @@ -187,8 +191,12 @@ OnInit: /* Seeds Puzzle - See 2021.txt */ 081-2,127,129,0 script #X21Barrier2 NPC_HIDDEN,4,0,{ - if (!'XMAS21TREE) + if (!'XMAS21TREE) { npctalkonce l("In this year Christmas, kids shall play ball. Once the Christmas Tree is set, the festivities may proceed."); + slide 127, 130; + if (checkcell(getmap(), 127, 128, cell_chkpass)) + setcells .@mapa$, 124, 127, 131, 128, 1, "X21L2@"+X21ID(); + } end; OnInit: .distance=1; @@ -230,8 +238,12 @@ OnInit: /* Ambush Puzzle */ 081-2,49,73,0 script #X21Barrier3 NPC_HIDDEN,2,0,{ - if (!'XMAS21AMBUSH) + if (!'XMAS21AMBUSH) { npctalkonce l("One room, Seventeen buttons, Three truths, and a lever to bring joy to the children."); + slide 49, 74; + if (checkcell(getmap(), 49, 72, cell_chkpass)) + setcells .@mapa$, 47, 71, 51, 72, 1, "X21L3@"+X21ID(); + } end; OnInit: .distance=1; |