From ec951e424dada5dd31078099ec2214c6f3d3eb6c Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Mon, 10 Jun 2013 19:56:53 +0200 Subject: Expand debug function of Orum and Waric quest to tell current quest state. Remove debug message in FlowerPentagramCount function. --- world/map/npc/013-1/flowerpentagram.txt | 1 - world/map/npc/017-4/waric.txt | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'world') diff --git a/world/map/npc/013-1/flowerpentagram.txt b/world/map/npc/013-1/flowerpentagram.txt index 01d51233..0ee7e47b 100644 --- a/world/map/npc/013-1/flowerpentagram.txt +++ b/world/map/npc/013-1/flowerpentagram.txt @@ -98,6 +98,5 @@ function|script|FlowerPentagramCount|{ mobcount("013-1.gat", "#FlowerPentagram::OnAScorpionDeath") + mobcount("013-1.gat", "#FlowerPentagram::OnBScorpionDeath") + 8; // the mobcount function has an offset of -1, so we add 8 to have the actual amount of monsters - announce "$@Flower_Pentagram_Mobcount: " + $@Flower_Pentagram_Mobcount, 0; // TODO: remove debug announce return; } diff --git a/world/map/npc/017-4/waric.txt b/world/map/npc/017-4/waric.txt index b53d4afe..5367e583 100644 --- a/world/map/npc/017-4/waric.txt +++ b/world/map/npc/017-4/waric.txt @@ -28,6 +28,7 @@ L_Close: menu "Candle Helmet done.", L_CandleHelmet, "Input quest variable.", L_Var, + "Show current quest state.", L_CurrentState, "Reset quest.", L_Reset, "Nevermind.", L_Close; @@ -39,6 +40,10 @@ L_Var: input OrumQuest; goto L_Close; +L_CurrentState: + mes "The value of the quest variable OrumQuest is currently " + OrumQuest + "."; + goto L_Close; + L_Reset: set OrumQuest, 0; goto L_Close; -- cgit v1.2.3-60-g2f50