diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-02-28 11:29:18 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-02-28 11:29:18 -0300 |
commit | fae7ecf76b6806adef30114fb78fd6bca099b0bd (patch) | |
tree | 5af00fa8c5a83dfd24f44e65cef0cd2c2c291edd | |
parent | 49e77da74e6621f1a81cefff6fc597de9a821fbb (diff) | |
download | serverdata-jesusalva/manhole.tar.gz serverdata-jesusalva/manhole.tar.bz2 serverdata-jesusalva/manhole.tar.xz serverdata-jesusalva/manhole.zip |
The four sewer mouths in Artis. They all behave differently.jesusalva/manhole
The first one is still TODO to prevent conflicts with Mundane Quest
-rw-r--r-- | npc/001-1/manhole.txt | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/npc/001-1/manhole.txt b/npc/001-1/manhole.txt index fc09c8c2..856689a3 100644 --- a/npc/001-1/manhole.txt +++ b/npc/001-1/manhole.txt @@ -60,3 +60,49 @@ OnInit: .distance = 1; end; } + +001-1,146,123,0 script #manhole3-001-1 NPC_NO_SPRITE,{ + + .@i=manhole_interact("001-3-0"); + closeclientdialog(); + if (.@i == -1) { + // Not a fan of calling strong players as weak, so take STR in account + // If you have enough STR, you get an Easter Egg about the engine :) + if (readparam(bStr) < 50) { + mesc l("The lid is sealed shut, and you are too weak to open it."); + } else { + mesc l("Even with your Hercules strength, this lid is hopelessly struck."); + } + } else if (.@i == TrainingArrow || .@i == WoodenBow) { + // This is the wrong lid for Mundane Quest + npctalk3 l("..."); + } + close; + +OnInit: + .sex = G_OTHER; + .distance = 1; + end; +} + +// This lid can only be used to leave +001-1,86,131,0 script #manhole4-001-1 NPC_NO_SPRITE,{ + + .@i=manhole_interact("001-3-0"); + closeclientdialog(); + if (.@i == -1) { + mesc l("Strangely enough, this lid can only be open from inside."); + } else if (.@i == TrainingArrow || .@i == WoodenBow) { + // This is the wrong lid for Mundane Quest + npctalk3 l("..."); + } + close; + +OnInit: + .sex = G_OTHER; + .distance = 1; + end; +} + +// To quickly create more sewer mouths we can use: +//001-1,86,131,0 duplicate(#manhole3-001-1) #manhole4-001-1 NPC_NO_SPRITE |