summaryrefslogtreecommitdiff
path: root/npc/005-4
diff options
context:
space:
mode:
Diffstat (limited to 'npc/005-4')
-rw-r--r--npc/005-4/tolchi.txt12
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;
}