diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-01-29 00:59:02 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-01-29 00:59:02 -0300 |
commit | 36c45b01efbf74e8fbdcc2eb312b6c910f49a3f2 (patch) | |
tree | 50157543fbd4ea31f573993c40bece45b3c842eb /npc/005-4 | |
parent | a33681cc369e7930b26ca30fb4a163fbcaa37cbc (diff) | |
download | serverdata-36c45b01efbf74e8fbdcc2eb312b6c910f49a3f2.tar.gz serverdata-36c45b01efbf74e8fbdcc2eb312b6c910f49a3f2.tar.bz2 serverdata-36c45b01efbf74e8fbdcc2eb312b6c910f49a3f2.tar.xz serverdata-36c45b01efbf74e8fbdcc2eb312b6c910f49a3f2.zip |
Tweak restrictions at Tolchi
Diffstat (limited to 'npc/005-4')
-rw-r--r-- | npc/005-4/tolchi.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/npc/005-4/tolchi.txt b/npc/005-4/tolchi.txt index 3bf83314b..417a3e47c 100644 --- a/npc/005-4/tolchi.txt +++ b/npc/005-4/tolchi.txt @@ -263,6 +263,16 @@ function tolchi_tweaks { next; return; } + // Permission NG: (Not Granted) + if (array_find(.disallow_equip, .@handle) >= 0) { + mesn; + mesq l("Sorry, but I won't dare touch a %s.", getitemlink(.@handle)); + next; + mesn; + mesq l("Depending on the case, Nicholas, in Hurnscald, can do a better job than me."); + next; + return; + } // Calculate price .@lv=getiteminfo(.@handle, ITEMINFO_ELV); @@ -355,5 +365,7 @@ OnInit: initialmove; initnpctimer; .distance = 5; + + setarray .disallow_equip, Event1HSword, Event2HSword, EventBow, EventWand, Lightbringer, DemureAxe, Tyranny, Runestaff, AegisShield, BlacksmithAxe, Dustynator; end; } |