From 39a5695e156afe21b6d4f35c66a0068cd9a529b9 Mon Sep 17 00:00:00 2001 From: ErLullo Date: Thu, 15 Jan 2026 01:04:46 +0100 Subject: [PATCH] Missed .done Multilines if seems buggy --- share/locale/english/quest/new_quest_lv7.quest | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/share/locale/english/quest/new_quest_lv7.quest b/share/locale/english/quest/new_quest_lv7.quest index 5c926a6..ad5df14 100644 --- a/share/locale/english/quest/new_quest_lv7.quest +++ b/share/locale/english/quest/new_quest_lv7.quest @@ -181,9 +181,7 @@ quest new_quest_lv7 begin q.set_title(gameforge.new_quest_lv7._020_say_title) -- FIX: if the player already has all flowers, go directly to return_oldwoman - if pc.count_item(ITEM_FLOWER_RED) >= NEED_RED - and pc.count_item(ITEM_FLOWER_ORANGE) >= NEED_ORANGE - and pc.count_item(ITEM_FLOWER_YELLOW) >= NEED_YELLOW then + if pc.count_item(ITEM_FLOWER_RED) >= NEED_RED and pc.count_item(ITEM_FLOWER_ORANGE) >= NEED_ORANGE and pc.count_item(ITEM_FLOWER_YELLOW) >= NEED_YELLOW then q.done() set_state(return_oldwoman) return @@ -202,9 +200,7 @@ quest new_quest_lv7 begin -- EDIT Arne 18Sept09 moved q.done Reason: removed quest from book -- BEGIN EDIT added by Arne 18Sept09, according to Mantis 0026063, REASON: No arrow on old lady for flower return --notice_multiline(gameforge.new_quest_lv7._088_notice, notice) - if pc.count_item(ITEM_FLOWER_YELLOW) == NEED_YELLOW - and pc.count_item(ITEM_FLOWER_ORANGE) == NEED_ORANGE - and pc.count_item(ITEM_FLOWER_RED) == NEED_RED then + if pc.count_item(ITEM_FLOWER_YELLOW) == NEED_YELLOW and pc.count_item(ITEM_FLOWER_ORANGE) == NEED_ORANGE and pc.count_item(ITEM_FLOWER_RED) == NEED_RED then return true end else @@ -213,9 +209,7 @@ quest new_quest_lv7 begin end -- FIX: also check completion when there is no drop or flowers came from trade - if pc.count_item(ITEM_FLOWER_YELLOW) >= NEED_YELLOW - and pc.count_item(ITEM_FLOWER_ORANGE) >= NEED_ORANGE - and pc.count_item(ITEM_FLOWER_RED) >= NEED_RED then + if pc.count_item(ITEM_FLOWER_YELLOW) >= NEED_YELLOW and pc.count_item(ITEM_FLOWER_ORANGE) >= NEED_ORANGE and pc.count_item(ITEM_FLOWER_RED) >= NEED_RED then return true end end @@ -629,6 +623,7 @@ quest new_quest_lv7 begin say_item_vnum(reward_item) pc.give_item2(reward_item,1) end + q.done() set_state(__COMPLETE__) else say(gameforge.new_quest_lv7._160_say)