diff options
author | Fate <fate-tmw@googlemail.com> | 2008-12-24 10:01:01 -0700 |
---|---|---|
committer | Fate <fate-tmw@googlemail.com> | 2008-12-24 10:01:01 -0700 |
commit | b9b23fe20e0563523e83a224d1e68886512bb783 (patch) | |
tree | 12d82a9991c20100a176f8e7a5d93ce61988773e /npc/009-2_Hurnscald | |
parent | 44feb664401d24a0cd4cfb380d22d5ee6c512fd2 (diff) | |
download | serverdata-b9b23fe20e0563523e83a224d1e68886512bb783.tar.gz serverdata-b9b23fe20e0563523e83a224d1e68886512bb783.tar.bz2 serverdata-b9b23fe20e0563523e83a224d1e68886512bb783.tar.xz serverdata-b9b23fe20e0563523e83a224d1e68886512bb783.zip |
Minor fixes and extensions to inventory limit checks
Diffstat (limited to 'npc/009-2_Hurnscald')
-rw-r--r-- | npc/009-2_Hurnscald/kfahr.txt | 2 | ||||
-rw-r--r-- | npc/009-2_Hurnscald/nicholas.txt | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/npc/009-2_Hurnscald/kfahr.txt b/npc/009-2_Hurnscald/kfahr.txt index 5d847ea0..f24d2071 100644 --- a/npc/009-2_Hurnscald/kfahr.txt +++ b/npc/009-2_Hurnscald/kfahr.txt @@ -831,7 +831,7 @@ L_knife_quest_completecheck: delitem @MUSHROOM, @MUSHROOMS_NR; getexp @KNIFE_QUEST_XP, 0; getitem @BONE_KNIFE, 1; - + next; goto L_main_menu; diff --git a/npc/009-2_Hurnscald/nicholas.txt b/npc/009-2_Hurnscald/nicholas.txt index 3962bee0..c7e1728c 100644 --- a/npc/009-2_Hurnscald/nicholas.txt +++ b/npc/009-2_Hurnscald/nicholas.txt @@ -244,6 +244,8 @@ 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; mes "[Nicholas]"; mes "\"Yes, it looks as if you have all that is needed!\""; @@ -332,6 +334,8 @@ 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; 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."; |