diff options
Diffstat (limited to 'npc/annuals/xmas')
-rw-r--r-- | npc/annuals/xmas/2021.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/npc/annuals/xmas/2021.txt b/npc/annuals/xmas/2021.txt index dc714b15..056ca266 100644 --- a/npc/annuals/xmas/2021.txt +++ b/npc/annuals/xmas/2021.txt @@ -99,6 +99,20 @@ function script X21QUESTON { } function script X21INIT { + // If it is not Christmas, there is no meaning to this. + // Halt script execution + if (!isChristmas21()) { + warp "000-1", 22, 22; + end; + } + + // All instances require Santa authorization. + // Halt script execution + if (!X21_START() || !X21_DISPATCH()) { + warp "020-1", 80, 87; + end; + } + .@inst = instance_create("Northern Lights", X21ID(), X21TYPE()); // Instance must be created if (.@inst >= 0) { |