From e896b785935c661319ade424f473f4442e1878eb Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Wed, 24 Dec 2008 10:15:56 +0000 Subject: Remove unneeded inventory checks and add fix one --- npc/009-2_Hurnscald/nicholas.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'npc/009-2_Hurnscald/nicholas.txt') diff --git a/npc/009-2_Hurnscald/nicholas.txt b/npc/009-2_Hurnscald/nicholas.txt index c7e1728c..349593db 100644 --- a/npc/009-2_Hurnscald/nicholas.txt +++ b/npc/009-2_Hurnscald/nicholas.txt @@ -244,8 +244,7 @@ L_YesShield: if (countitem(@INFANTRY) < 2) goto L_ShieldNoInfantry; if (countitem(@IRON_ORE) < 10) goto L_ShieldNoOre; if (countitem(@LEATHER_PATCH) < 1) goto L_ShieldNoLeatherPatch; - getinventorylist; - if (@inventorylist_count == 100) goto L_TooMany; + // No inventory check needed, as infantry helms are removed, opening two slots mes "[Nicholas]"; mes "\"Yes, it looks as if you have all that is needed!\""; @@ -334,8 +333,7 @@ L_SetzerQuest: if (countitem(@IRON_ORE) < 5) goto L_SetzerNoOre; if (countitem(@MONSTER_OIL) < 1) goto L_SetzerNoMonsterOil; if (countitem(@SHORT_SWORD) < 1) goto L_SetzerNoSword; - getinventorylist; - if ((@inventorylist_count == 100) && (countitem(@MONSTER_OIL) > 1)) goto L_TooMany; + // No inventory check needed, as the short sword is removed, opening a slot mes "[Nicholas]"; mes "Nicholas takes the items, heats up your sword and pounds it with a heavy hammer. Before your eyes it turns thinner and flatter. Finally he pours the monster oil over it, heats it up again and douses it in water."; -- cgit v1.2.3-60-g2f50