diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-01 15:25:48 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-01 15:25:48 -0300 |
commit | 405d5ffc945743f8ddc31aa1c4f1cd57673cda90 (patch) | |
tree | d51ccaf8e066d4a7086649cd2b0e83642c18acf9 /npc | |
parent | 08380292cbb0f438244ef9b395591bf7dba8a070 (diff) | |
download | serverdata-405d5ffc945743f8ddc31aa1c4f1cd57673cda90.tar.gz serverdata-405d5ffc945743f8ddc31aa1c4f1cd57673cda90.tar.bz2 serverdata-405d5ffc945743f8ddc31aa1c4f1cd57673cda90.tar.xz serverdata-405d5ffc945743f8ddc31aa1c4f1cd57673cda90.zip |
Crazyfefe Patch: Do not allow you to waste an Everburn Powder summoning Yeti King alone.
Note that if second player leave, you'll still waste the powder (waste != lose)
Diffstat (limited to 'npc')
-rw-r--r-- | npc/003-1-1/yetiking.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/003-1-1/yetiking.txt b/npc/003-1-1/yetiking.txt index d35020ebf..39c345d90 100644 --- a/npc/003-1-1/yetiking.txt +++ b/npc/003-1-1/yetiking.txt @@ -22,6 +22,11 @@ L_Summon: dispbottom l("I need to pour the @@ to summon the Yeti King.", getitemlink(EverburnPowder)); end; } + if (getareausers("003-1-1", 5) < 2 && !$@GM_OVERRIDE) { + dispbottom l("I cannot be alone to summon the Yeti King."); + end; + + } delitem EverburnPowder, 1; dispbottom l("Emoc otem itey gnik!"); // come to me yeti king, spelled backwards. Sorry. .inUse=1; |