diff options
author | Stefan Dombrowski <stefan@uni-bonn.de> | 2010-10-21 21:09:16 +0200 |
---|---|---|
committer | Stefan Dombrowski <stefan@uni-bonn.de> | 2010-10-21 21:09:16 +0200 |
commit | 055e0d35888626d7207caef9938d252739756486 (patch) | |
tree | 88892053c166d4cbfa3cd29cccc20ed5cb28b1e9 /npc/009-2_Hurnscald/nicholas.txt | |
parent | f6cdec86cc22622645b0526d2ad7c6cfa7136c21 (diff) | |
download | serverdata-055e0d35888626d7207caef9938d252739756486.tar.gz serverdata-055e0d35888626d7207caef9938d252739756486.tar.bz2 serverdata-055e0d35888626d7207caef9938d252739756486.tar.xz serverdata-055e0d35888626d7207caef9938d252739756486.zip |
Removing the coal requirement for the steel shield in Nicholas' skript
Nicholas did offer the steel shield only if you had 12 coals,
but he did not charge any coal.
Diffstat (limited to 'npc/009-2_Hurnscald/nicholas.txt')
-rw-r--r-- | npc/009-2_Hurnscald/nicholas.txt | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/npc/009-2_Hurnscald/nicholas.txt b/npc/009-2_Hurnscald/nicholas.txt index d0719430..3241cc97 100644 --- a/npc/009-2_Hurnscald/nicholas.txt +++ b/npc/009-2_Hurnscald/nicholas.txt @@ -45,8 +45,9 @@ L_Check: mes "[Nicholas]"; - mes "\"Let me take at look at how much you have...\""; + mes "\"Let me take a look at how much you have...\""; next; + if ( (countitem("IngotIron")>5) && (countitem("Coal") < 6) ) goto L_StageShield; if ( (countitem("IngotIron")<3) || (countitem("Coal") < 6) ) goto L_NoItem; if ( (countitem("IngotIron")<6) || (countitem("Coal") < 12) ) goto L_StageA; if ( (countitem("IngotIron")<9) || (countitem("Coal") < 18) ) goto L_StageB; @@ -65,9 +66,16 @@ L_Pass: mes "\"Oh, okay. Come back any time.\""; close; +L_StageShield: + mes "[Nicholas]"; + mes "\"That's just enough for me to make you a [Steel Shield], but it'll cost you 20,000 GP and 6 [Iron Ingot]s.\""; + next; + goto L_main_menu; + L_StageA: mes "[Nicholas]"; - mes "\"That's just enough for me to make you a winged [Knight's Helmet], but it'll cost you 10,000GP, 6 [Coal] and 3 [Iron Ingot]s.\""; + mes "\"That's enough for me to make you a winged [Knight's Helmet], but it'll cost you 10,000GP, 6 [Coal] and 3 [Iron Ingot]s.\""; + if ( (countitem("IngotIron")>5) ) mes "\"I can also make you a [Steel Shield] for 20,000 GP and 6 [Iron Ingot]s.\""; next; goto L_main_menu; @@ -118,16 +126,19 @@ L_main_menu_post_setzer: set @choice_idx[@choices_nr], @CHOICE_CRUSADE; set @choices_nr, 1 + @choices_nr; - set @choice$[@choices_nr], "Steel Shield. (6 Iron Ingots)"; - set @choice_idx[@choices_nr], @CHOICE_SHIELD; - set @choices_nr, 1 + @choices_nr; - if ( (countitem("IngotIron")<9) || (countitem("Coal") < 18) ) goto L_no_more_helmets; set @choice$[@choices_nr], "Warlord Helmet. (9 Iron Ingots & 18 Coal)"; set @choice_idx[@choices_nr], @CHOICE_WARLORD; set @choices_nr, 1 + @choices_nr; + L_no_more_helmets: + if ( (countitem("IngotIron")<6) ) goto L_no_more_items; + set @choice$[@choices_nr], "Steel Shield. (6 Iron Ingots)"; + set @choice_idx[@choices_nr], @CHOICE_SHIELD; + set @choices_nr, 1 + @choices_nr; + +L_no_more_items: set @choice$[@choices_nr], "No thanks."; set @choice_idx[@choices_nr], @CHOICE_CANCEL; set @choices_nr, 1 + @choices_nr; |