diff --git a/scripts/edana/barwench.script b/scripts/edana/barwench.script index 0e7d219e..c6a0960a 100644 --- a/scripts/edana/barwench.script +++ b/scripts/edana/barwench.script @@ -55,6 +55,7 @@ { repeatdelay $randf(30,45) + if game.time > NEXT_HELLO if $cansee(player,128) saytext Hello there. @@ -77,6 +78,8 @@ say [.3] [.3] [.3] [.2] [.1] [.3] [.1] callevent convo_anim setmovedest PARAM1 9999 + setvard NEXT_HELLO game.time + add NEXT_HELLO 60 local L_GOT_SOUP $get_quest_data(VENDOR_TARGET,sy) if L_GOT_SOUP > 0 @@ -108,6 +111,33 @@ //token.add GAVE_SOUP_LIST2 L_PLR_STEAMID } +{ game_menu_getoptions + + local reg.mitem.title "Order Soup" + local reg.mitem.type payment + local reg.mitem.data "health_spotion;drink_mead;mana_mpotion;health_apple:3;gold:200" + local reg.mitem.callback give_soup + local reg.mitem.cb_failed soup_price + menuitem.register +} + +{ give_soup + + offer PARAM1 mana_soup + helptip PARAM1 generic "Sylphiel's Soup" "Provides full health and three minutes of rapid mana regeneration" + setmovedest PARAM1 9999 + playanim once push_button + saytext One bowl of Sylphee's soup, fresh off the fire. Enjoy! + callevent convo_anim +} + +{ soup_price + + setmovedest PARAM1 9999 + saytext Soup's not free, love. Bring me a strong health potion, a mead, a mana potion, three apples and 200 gold. + callevent convo_anim +} + { eventname trade_success @@ -277,6 +307,7 @@ { game_gave_player // if $get(PARAM2,itemname) contains soup + if $get_quest_data(PARAM1,sy) > 0 if game.time > NEXT_THANK_YOU setvard NEXT_THANK_YOU game.time add NEXT_THANK_YOU 60.0 diff --git a/scripts/items/armor_venom.script b/scripts/items/armor_venom.script index 8da78d23..5c72dfe4 100644 --- a/scripts/items/armor_venom.script +++ b/scripts/items/armor_venom.script @@ -50,7 +50,7 @@ local POISON_DMG $get(ent_owner,skill.spellcasting.affliction) multiply POISON_DMG 0.5 - applyeffect PARAM1 effects/dot_poison 10.0 $get(ent_owner,id) POISON_DMG spellcasting.poison + applyeffect PARAM1 effects/dot_poison 10.0 $get(ent_owner,id) POISON_DMG spellcasting.affliction playsound 0 10 bullchicken/bc_bite2.wav //monsters/snake_idle1.wav playermessage Your Venom Plate poisons $get(PARAM1,name.full)