From b73cecf2dd621675eeb3674423450b9b5079ee63 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 16 Jul 2021 23:11:39 -0300 Subject: Migrate OrumQuest to the QuestSystem, and inheir skills on ported chars. --- npc/017-1/flowerpentagram1.txt | 8 ++++---- npc/017-1/flowerpentagram5.txt | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'npc/017-1') diff --git a/npc/017-1/flowerpentagram1.txt b/npc/017-1/flowerpentagram1.txt index c16c20c1..f5c18e8a 100644 --- a/npc/017-1/flowerpentagram1.txt +++ b/npc/017-1/flowerpentagram1.txt @@ -1,9 +1,9 @@ 017-1,95,42,0 script #FlowerPentagram1 NPC400,{ - if (OrumQuest >= 31) goto L_PlacedFifthFlower; + if (getq(MagicQuest_DarkMage) >= 31) goto L_PlacedFifthFlower; - if (OrumQuest > 17) goto L_PlacedFirstFlower; - if (OrumQuest == 17) goto L_FirstFlower; + if (getq(MagicQuest_DarkMage) > 17) goto L_PlacedFirstFlower; + if (getq(MagicQuest_DarkMage) == 17) goto L_FirstFlower; message strcharinfo(0), "Something is odd about this place."; end; @@ -32,7 +32,7 @@ L_Place: goto L_NoFlower; delitem "OrangeSummonFlower", 1; mes "You carefully place the magic flower on the marked spot. You feel some tension in the air around you."; - OrumQuest = 18; + setq(MagicQuest_DarkMage, 18); close2; areamonster "017-1", 91, 37, 101, 46, "", 1105, 2, "#FlowerPentagram1::OnSquirrelDeath"; areamonster "017-1", 91, 37, 101, 46, "", 1003, 3, "#FlowerPentagram1::OnScorpionDeath"; diff --git a/npc/017-1/flowerpentagram5.txt b/npc/017-1/flowerpentagram5.txt index 22395d06..b72c7f53 100644 --- a/npc/017-1/flowerpentagram5.txt +++ b/npc/017-1/flowerpentagram5.txt @@ -1,8 +1,8 @@ 017-1,176,59,0 script #FlowerPentagram5 NPC400,{ - if (OrumQuest >= 31) goto L_PlacedFifthFlower; + if (getq(MagicQuest_DarkMage) >= 31) goto L_PlacedFifthFlower; - if (OrumQuest == 30) goto L_FifthFlower; + if (getq(MagicQuest_DarkMage) == 30) goto L_FifthFlower; message strcharinfo(0), "Something is odd about this place."; end; @@ -47,7 +47,7 @@ L_Place: delitem "RedSummonFlower", 1; mes "The pressure builds to the point where you don't think you can endure it any longer; the fabric that binds your consciousness together seemingly unravels."; - OrumQuest = 31; + setq(MagicQuest_DarkMage, 31); close2; areamonster "017-1", 170, 55, 190, 75, "", 1105, 3, "#FlowerPentagram5::OnSquirrelDeath"; areamonster "017-1", 170, 55, 190, 75, "", 1106, 2, "#FlowerPentagram5::OnMushroomDeath"; -- cgit v1.2.3-60-g2f50