diff options
author | Fate <fate-tmw@googlemail.com> | 2009-01-10 13:21:56 -0700 |
---|---|---|
committer | Fate <fate-tmw@googlemail.com> | 2009-01-10 13:21:56 -0700 |
commit | 54238fbc5acca341449cd0b73b12e3b257a6d2cb (patch) | |
tree | 829ab46761676236ae60e7d161754f2de7220e9a /npc/011-1_Woodland/alchemist.txt | |
parent | d075f25617f1306ad2aef2b1e87567f6c683aa7f (diff) | |
download | serverdata-54238fbc5acca341449cd0b73b12e3b257a6d2cb.tar.gz serverdata-54238fbc5acca341449cd0b73b12e3b257a6d2cb.tar.bz2 serverdata-54238fbc5acca341449cd0b73b12e3b257a6d2cb.tar.xz serverdata-54238fbc5acca341449cd0b73b12e3b257a6d2cb.zip |
Numerous fixes. Magic level 0 should be fully operational now.
Diffstat (limited to 'npc/011-1_Woodland/alchemist.txt')
-rw-r--r-- | npc/011-1_Woodland/alchemist.txt | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/npc/011-1_Woodland/alchemist.txt b/npc/011-1_Woodland/alchemist.txt index bc7b53f3..a821a3c1 100644 --- a/npc/011-1_Woodland/alchemist.txt +++ b/npc/011-1_Woodland/alchemist.txt @@ -109,16 +109,18 @@ L_post_sulphur_option: L_post_ironpowder_option: if (@Q_status == @SETZER_INITIAL) - goto L_main_menu; + goto L_post_monster_oil; set @menuitems$[@c], "Can you make monster oil?"; set @menuID[@c], @CHOICE_MONSTER_OIL; set @c, @c + 1; -L_main_menu: +L_post_monster_oil: set @menuitems$[@c], "No thanks."; set @menuID[@c], @CHOICE_ABORT; set @c, @c + 1; +L_main_menu: + menu @menuitems$[0], -, @menuitems$[1], -, @@ -260,6 +262,14 @@ L_get_mana_potion: if(countitem(@ASH) < 5) goto L_mana_potion_lacking; if(countitem(@PEARL) < 1) goto L_mana_potion_lacking; if(countitem(@WATER) < 1) goto L_mana_potion_lacking; + getinventorylist; + if ((@inventorylist_count == 100) + && (countitem(@MAUVE) > 30) + && (countitem(@ASH) > 5) + && (countitem(@PEARL) > 1) + && (countitem(@WATER) > 1) + && (countitem(@MANAPOTION) < 1)) + goto L_mana_potion_toomuch; delitem @MAUVE, 30; delitem @YELLOW, 20; @@ -284,9 +294,16 @@ L_get_mana_potion: goto L_main_menu; +L_mana_potion_toomuch: + mes "[Rauk the Alchemist]"; + mes "\"You look quite burdened already. Why don't you drop off a few things first, and come back later?\""; + next; + goto L_main_menu; + L_mana_potion_lacking: mes "[Rauk the Alchemist]"; mes "\"Sorry, but I need one pearl, one bottle of water, 30 mauve leaves, 20 gamboge leaves, and five piles of volcanic ash.\""; + next; goto L_main_menu; L_iron: |