summaryrefslogtreecommitdiff
path: root/world/map/npc/012-1
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/012-1')
-rw-r--r--world/map/npc/012-1/_import.txt11
-rw-r--r--world/map/npc/012-1/_mobs.txt14
-rw-r--r--world/map/npc/012-1/_nodes.txt4
-rw-r--r--world/map/npc/012-1/_warps.txt14
-rw-r--r--world/map/npc/012-1/amrak.txt11
-rw-r--r--world/map/npc/012-1/flowerpentagram2.txt97
-rw-r--r--world/map/npc/012-1/injured-mouboo.txt229
-rw-r--r--world/map/npc/012-1/mapflags.txt1
-rw-r--r--world/map/npc/012-1/shops.txt77
9 files changed, 0 insertions, 458 deletions
diff --git a/world/map/npc/012-1/_import.txt b/world/map/npc/012-1/_import.txt
deleted file mode 100644
index 4ce6c34d..00000000
--- a/world/map/npc/012-1/_import.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-// Map 012-1: Woodland Hills
-// This file is generated automatically. All manually added changes will be removed when running the Converter.
-map: 012-1
-npc: npc/012-1/_mobs.txt
-npc: npc/012-1/_nodes.txt
-npc: npc/012-1/_warps.txt
-npc: npc/012-1/amrak.txt
-npc: npc/012-1/flowerpentagram2.txt
-npc: npc/012-1/injured-mouboo.txt
-npc: npc/012-1/mapflags.txt
-npc: npc/012-1/shops.txt
diff --git a/world/map/npc/012-1/_mobs.txt b/world/map/npc/012-1/_mobs.txt
deleted file mode 100644
index 4f85e2ff..00000000
--- a/world/map/npc/012-1/_mobs.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-// This file is generated automatically. All manually added changes will be removed when running the Converter.
-// Woodland Hills mobs
-
-012-1,0,0,0,0|monster|PinkFlower|1014,13,0ms,100ms
-012-1,0,0,0,0|monster|SpikyMushroom|1019,25,0ms,10ms
-012-1,0,0,0,0|monster|Mouboo|1028,20,0ms,10ms
-012-1,0,0,0,0|monster|MauvePlant|1029,5,2700000ms,1800000ms
-012-1,0,0,0,0|monster|CobaltPlant|1030,2,2700000ms,1800000ms
-012-1,0,0,0,0|monster|GambogePlant|1031,2,2700000ms,1800000ms
-012-1,0,0,0,0|monster|AlizarinPlant|1032,2,2700000ms,1800000ms
-012-1,0,0,0,0|monster|Silkworm|1035,5,60000ms,30000ms
-012-1,0,0,0,0|monster|CloverPatch|1037,2,0ms,1000ms
-012-1,0,0,0,0|monster|Squirrel|1038,25,30ms,20ms
-012-1,0,0,0,0|monster|Butterfly|1055,20,30ms,20ms
diff --git a/world/map/npc/012-1/_nodes.txt b/world/map/npc/012-1/_nodes.txt
deleted file mode 100644
index 13ee4f92..00000000
--- a/world/map/npc/012-1/_nodes.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-// This file is generated automatically. All manually added changes will be removed when running the Converter.
-// Woodland Hills nodes
-
-// (no nodes)
diff --git a/world/map/npc/012-1/_warps.txt b/world/map/npc/012-1/_warps.txt
deleted file mode 100644
index 0144e8c1..00000000
--- a/world/map/npc/012-1/_warps.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-// This file is generated automatically. All manually added changes will be removed when running the Converter.
-// Woodland Hills warps
-
-012-1,51,39|warp|-1,-1,012-3,370,43
-012-1,147,67|warp|-1,-1,012-3,474,106
-012-1,41,48|warp|-1,-1,012-3,353,78
-012-1,44,88|warp|-1,-1,012-3,355,187
-012-1,92,104|warp|-1,-1,012-3,270,111
-012-1,98,99|warp|-1,-1,012-3,37,81
-012-1,109,92|warp|-1,-1,012-3,80,73
-012-1,123,90|warp|-1,-1,012-3,38,156
-012-1,150,61|warp|-1,2,013-1,21,75
-012-1,132,176|warp|0,-1,011-1,73,10
-012-1,65,126|warp|-1,-1,012-3,176,140
diff --git a/world/map/npc/012-1/amrak.txt b/world/map/npc/012-1/amrak.txt
deleted file mode 100644
index 59bafd4e..00000000
--- a/world/map/npc/012-1/amrak.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-//
-
-012-1,137,104,0|script|Amrak|103
-{
- mes "[Amrak]";
- mes "\"I'm studying this waterfall. The water seems to flow from it like magic.\"";
- next;
- mes "[Amrak]";
- mes "\"Unfortunately, I've had trouble getting up there. The monsters in these caves scare me.\"";
- close;
-}
diff --git a/world/map/npc/012-1/flowerpentagram2.txt b/world/map/npc/012-1/flowerpentagram2.txt
deleted file mode 100644
index 3ce479e9..00000000
--- a/world/map/npc/012-1/flowerpentagram2.txt
+++ /dev/null
@@ -1,97 +0,0 @@
-// Author: Jenalya
-
-012-1,143,70,0|script|#FlowerPentagram2|400
-{
- if (OrumQuest >= 31) goto L_PlacedFifthFlower;
-
- if (OrumQuest > 20) goto L_PlacedSecondFlower;
- if (OrumQuest == 20) goto L_SecondFlower;
-
- message strcharinfo(0), "There is something odd about this place.";
- end;
-
-L_SecondFlower:
- mes "Orum described this place. You have to place the second magical flower here.";
- menu
- "Place the flower.", L_Next,
- "Leave.", L_Close;
-
-L_Next:
- if (isin("012-1", 142, 69, 144, 71))
- goto L_Place;
-
- mes "This isn't working, you're too far away.";
- goto L_Close;
-
-L_Place:
- set @localMonsterCount,
- mobcount("012-1", "#FlowerPentagram2::OnSquirrelDeath") +
- mobcount("012-1", "#FlowerPentagram2::OnMushroomDeath") +
- mobcount("012-1", "#FlowerPentagram2::OnScorpionDeath") +
- mobcount("012-1", "#FlowerPentagram2::OnRScorpionDeath") +
- 4; // the mobcount function has an offset of -1, so we add 4 to have the actual amount of monsters
- if (@localMonsterCount > 2)
- goto L_MonstersAlive;
-
- if (countitem("PurpleSummonFlower") < 1)
- goto L_NoFlower;
- delitem "PurpleSummonFlower", 1;
- mes "Remembering what happened the last time, you take a careful look around. Everything's calm. You proceed to place the second flower.";
- mes "Sensing a certain tension build up around you, you can't help but feel alarmed.";
- set OrumQuest, 21;
- close2;
- areamonster "012-1", 140, 64, 146, 73, "", 1105, 2, "#FlowerPentagram2::OnSquirrelDeath";
- areamonster "012-1", 140, 64, 146, 73, "", 1106, 2, "#FlowerPentagram2::OnMushroomDeath";
- areamonster "012-1", 140, 64, 146, 73, "", 1003, 2, "#FlowerPentagram2::OnScorpionDeath";
- areamonster "012-1", 140, 64, 146, 73, "", 1004, 2, "#FlowerPentagram2::OnRScorpionDeath";
- set @value, 15;
- callfunc "QuestSagathaAnnoy";
- set @value, 0;
- end;
-
-OnSquirrelDeath:
- set @mobID, 1105;
- callfunc "MobPoints";
- end;
-
-OnMushroomDeath:
- set @mobID, 1106;
- callfunc "MobPoints";
- end;
-
-OnScorpionDeath:
- set @mobID, 1003;
- callfunc "MobPoints";
- end;
-
-OnRScorpionDeath:
- set @mobID, 1004;
- callfunc "MobPoints";
- end;
-
-L_MonstersAlive:
- mes "As you get closer to the place, you feel an unnerving presence.";
- mes "This place has recently been used to summon something! And the beings are still nearby!";
- next;
- mes "You should get rid of them before attempting the summoning yourself.";
- goto L_Close;
-
-L_NoFlower:
- mes "You look into your pocket, but the flower isn't there. Where did you put it?";
- mes "If you can't find it, you should talk to Orum again.";
- goto L_Close;
-
-L_PlacedSecondFlower:
- mes "You placed the second of Orum's magical flowers on this spot.";
- mes "You can still feel the magical power shimmering around this place, waiting to be unleashed.";
- goto L_Close;
-
-L_PlacedFifthFlower:
- mes "This is where you placed the second of Orum's magical flowers.";
- mes "However, now that the summoning spell has been cast, everything is back to normal here.";
- goto L_Close;
-
-L_Close:
- set @localMonsterCount, 0;
- close;
-}
diff --git a/world/map/npc/012-1/injured-mouboo.txt b/world/map/npc/012-1/injured-mouboo.txt
deleted file mode 100644
index 2aefb0f7..00000000
--- a/world/map/npc/012-1/injured-mouboo.txt
+++ /dev/null
@@ -1,229 +0,0 @@
-// The following auxiliary function is used both by appropriate magic and within the regular script:
-
-function|script|QuestMoubooHeal
-{
- set @Q_MASK, NIBBLE_2_MASK;
- set @Q_SHIFT, NIBBLE_2_SHIFT;
-
- set @Q_status, (QUEST_MAGIC & @Q_MASK) >> @Q_SHIFT;
- set @Q_status_upper, @Q_status & 12;
- set @Q_status, @Q_status & 3;
-
- set @STATE_INITIAL, 0;
- set @STATE_HEALED_MOUBOO, 3;
-
- if (@Q_status != @STATE_INITIAL)
- goto L_nothing;
-
- set @Q_status, @STATE_HEALED_MOUBOO;
- callsub S_update_var;
- mes "[Injured Mouboo]";
- mes "A soft white glow surrounds the mouboo's leg, which slowly shifts back into place.";
- mes "As the glow subsides, the mouboo gets up, carefully, and takes a few steps. It seems to be fully healed!";
- mes "[5000 experience points]";
- getexp 5000, 0;
- next;
- mes "[Injured Mouboo]";
- mes "Visibly happy, the mouboo lies down on the ground and snuggles with a black piece of cloth it had been lying on.";
- mes "The healing process must have been exhausting, for it is asleep in an instant.";
- next;
- set @value, 15;
- callfunc "QuestSagathaHappy";
- close2;
- return;
-
-L_nothing:
- mes "Your spell has no effect.";
- close2;
- return;
-
-S_update_var:
- set @Q_wr_status, @Q_status | @Q_status_upper;
- set QUEST_MAGIC,
- (QUEST_MAGIC & ~(@Q_MASK)
- | (@Q_wr_status << @Q_SHIFT));
- return;
-}
-
-012-1,57,153,0|script|Mouboo|171
-{
- set @Q_MASK, NIBBLE_2_MASK;
- set @Q_SHIFT, NIBBLE_2_SHIFT;
-
- set @Q_status, (QUEST_MAGIC & @Q_MASK) >> @Q_SHIFT;
- set @Q_status_upper, @Q_status & 12;
- set @Q_status, @Q_status & 3;
-
- set @STATE_INITIAL, 0;
- set @STATE_KILLED_MOUBOO, 1;
- set @STATE_TOOK_KILL_REWARD, 2;
- set @STATE_HEALED_MOUBOO, 3;
-
- if (@Q_status == @STATE_KILLED_MOUBOO)
- goto L_dead;
- if (@Q_status == @STATE_TOOK_KILL_REWARD)
- goto L_took_reward;
- if (@Q_status == @STATE_HEALED_MOUBOO)
- goto L_healed;
-
- mes "[Injured Mouboo]";
- mes "You notice a mouboo lying on the ground, groaning, as if in pain.";
- next;
- goto L_menu;
-
-L_menu:
- menu
- "Examine the mouboo", L_examine,
- "Give the mouboo something", L_give,
- "Kill the mouboo", L_kill,
- "Leave", L_Close;
-
-L_examine:
- mes "[Injured Mouboo]";
- mes "Looking closer, you notice that the mouboo's left hind leg is bent at a very unnatural angle – that seems to be the cause for its pain.";
- next;
- mes "[Injured Mouboo]";
- mes "You also notice that the mouboo is lying on top of what appears to be a black turtleneck sweater.";
- mes "Do you want to pick up the sweater?";
- next;
- menu
- "Yes.", L_pickup_alive,
- "No.", L_menu;
-
-L_pickup_alive:
- mes "[Injured Mouboo]";
- mes "The Mouboo groans and pushes your hand away. It seems to be rather fond of the sweater.";
- next;
- goto L_menu;
-
-L_give:
- set @items_nr, 12;
- setarray @items$, "CactusDrink", "CactusPotion", "ChocolateBar", "Milk", "OrangeCupcake", "RedApple", "Beer", "BottleOfWater", "TinyHealingPotion", "SmallHealingPotion", "MediumHealingPotion", "LargeHealingPotion";
- setarray @itemnames$, "Cactus Drink", "Cactus Potion", "Chocolate Bar", "Milk", "Orange Cupcake", "Red Apple", "Beer", "Bottle of Water", "Tiny Healing Potion", "Small Healing Potion", "Medium Healing Potion", "Large Healing Potion";
- setarray @itemeat, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0;
-
- setarray @menuItems$, "", "", "", "", "", "", "", "", "", "", "", "", "";
- set @choices_nr, 0;
- setarray @menuNames$, "", "", "", "", "", "", "", "", "", "", "", "", "";
- setarray @choice_eat, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0;
-
- set @n, 0;
- set @ct, 0;
- goto L_nloop;
-
-L_nloop:
- set @k$, @items$[@n];
- if (countitem(@k$) == 0)
- goto L_nloop_skip;
-
- set @menuItems$[@ct], @itemnames$[@n];
- set @menuNames$[@ct], @k$;
- set @choice_eat[@ct], @itemeat[@n];
- set @ct, @ct + 1;
- goto L_nloop_skip;
-
-L_nloop_skip:
- set @n, @n+1;
- if (@n < @items_nr)
- goto L_nloop;
-
- set @menuItems$[@ct], "Nevermind";
-
- menu
- @menuItems$[0], L_MenuItems,
- @menuItems$[1], L_MenuItems,
- @menuItems$[2], L_MenuItems,
- @menuItems$[3], L_MenuItems,
- @menuItems$[4], L_MenuItems,
- @menuItems$[5], L_MenuItems,
- @menuItems$[6], L_MenuItems,
- @menuItems$[7], L_MenuItems,
- @menuItems$[8], L_MenuItems,
- @menuItems$[9], L_MenuItems,
- @menuItems$[10], L_MenuItems,
- @menuItems$[11], L_MenuItems,
- @menuItems$[12], L_MenuItems;
-
-L_MenuItems:
- set @menu, @menu - 1;
- if (@menu == @ct)
- goto L_menu;
- set @choice$, @menuNames$[@menu];
- set @verb$, "drinks";
- if (@choice_eat[@menu])
- set @verb$, "eats";
- if (@choice$ != "" && countitem(@choice$))
- goto L_consume;
- goto L_menu;
-
-L_consume:
- mes "[Injured Mouboo]";
- mes "The mouboo " + @verb$ + " your " + getitemlink(@choice$) + ".";
- delitem @choice$, 1;
- next;
- if (@choice$ == "LargeHealingPotion")
- goto L_do_heal;
- mes "[Injured Mouboo]";
- mes "Unfortunately, it seems to have had no effect.";
- next;
- goto L_menu;
-
-L_do_heal:
- callfunc "QuestMoubooHeal";
- end;
-
-L_kill:
- mes "[Injured Mouboo]";
- if (BaseLevel > 44)
- goto L_kill_success;
- mes "The mouboo deflects your attack and counterattacks!";
- mes "It misses you only barely.";
- mes "Injured though it may be, this mouboo is still more than a match for you!";
- next;
- goto L_menu;
-
-L_kill_success:
- mes "After some wrestling, the mouboo succumbs to your attacks.";
- mes "[100 experience points]";
- getexp 100, 0;
- set @Q_status, @STATE_KILLED_MOUBOO;
- callsub S_update_var;
- next;
- goto L_dead;
-
-L_dead:
- mes "[Dead Mouboo]";
- mes "The dead mouboo is lying on top of a black T-neck sweater.";
- getinventorylist;
- if (@inventorylist_count == 100)
- goto L_nopickup;
- getitem "BlackTurtleneck", 1;
- mes "You pull out the sweater and stuff it into your backpack.";
- set @Q_status, @STATE_TOOK_KILL_REWARD;
- callsub S_update_var;
- close;
-
-L_took_reward:
- mes "[Dead Mouboo]";
- mes "You see a dead mouboo.";
- close;
-
-L_nopickup:
- mes "Unfortunately, you can't carry any more.";
- close;
-
-L_healed:
- mes "[Mouboo]";
- mes "The mouboo is sleeping soundly, smiling in its dreams.";
- close;
-
-L_Close:
- close;
-
-S_update_var:
- set @Q_wr_status, @Q_status | @Q_status_upper;
- set QUEST_MAGIC,
- (QUEST_MAGIC & ~(@Q_MASK)
- | (@Q_wr_status << @Q_SHIFT));
- return;
-}
diff --git a/world/map/npc/012-1/mapflags.txt b/world/map/npc/012-1/mapflags.txt
deleted file mode 100644
index 915346ad..00000000
--- a/world/map/npc/012-1/mapflags.txt
+++ /dev/null
@@ -1 +0,0 @@
-012-1|mapflag|resave|012-1,88,141
diff --git a/world/map/npc/012-1/shops.txt b/world/map/npc/012-1/shops.txt
deleted file mode 100644
index 3620b2c9..00000000
--- a/world/map/npc/012-1/shops.txt
+++ /dev/null
@@ -1,77 +0,0 @@
-//
-
-012-1,36,99,0|shop|#FlowerShop|32767,RedRose:*1,PinkRose:*1,YellowRose:*1,WhiteRose:*1,OrangeRose:*1,DarkRedRose:*1,RedTulip:*1,PinkTulip:*1,YellowTulip:*1,WhiteTulip:*1,OrangeTulip:*1
-
-012-1,36,99,0|script|Blossom|163
-{
- mes "[Blossom]";
- mes "\"Hello, would you like to buy some flowers?\"";
- menu
- "Sure.", L_Shop,
- "Not right now.", L_Close,
- "Can I trade this Rose Hat for a differently colored one?", L_RoseHat;
-
-L_Shop:
- close2;
- shop "#FlowerShop";
-
-L_RoseHat:
- set @base_id, 897;
- mes "[Blossom]";
- mes "\"Certainly, which color do you have?\"";
- menu
- "A red one.", L_MenuItems,
- "A white one.", L_MenuItems,
- "A pink one.", L_MenuItems,
- "A yellow one.", L_MenuItems,
- "An orange one.", L_MenuItems,
- "A blue one.", L_MenuItems;
-
-L_MenuItems:
- set @have_id, @base_id + @menu - 1;
-
- mes "[Blossom]";
- mes "\"And which color would you like?\"";
- menu
- "A red one.", L_MenuItems1,
- "A white one.", L_MenuItems1,
- "A pink one.", L_MenuItems1,
- "A yellow one.", L_MenuItems1,
- "An orange one.", L_MenuItems1,
- "A blue one.", L_MenuItems1;
-
-L_MenuItems1:
- set @receive_id, @base_id + @menu - 1;
-
- if (@have_id == @receive_id)
- goto L_SameColor;
- if (countitem(@have_id) < 1)
- goto L_NoItem;
- delitem @have_id, 1;
- getitem @receive_id, 1;
- mes "[Blossom]";
- mes "\"Here it is.\"";
- goto L_Close;
-
-L_NoItem:
- mes "[Blossom]";
- mes "\"Oh, you don't have a Rose Hat in that color.";
- mes "Did you mean a different color?\"";
- menu
- "Yes, I meant a different color.", L_RoseHat,
- "No, I changed my mind.", L_Close;
-
-L_SameColor:
- mes "[Blossom]";
- mes "\"Oh, you already have a hat in that color.";
- mes "Did you want something else?\"";
- menu
- "Yes, let me pick a different color.", L_RoseHat,
- "No, I changed my mind.", L_Close;
-
-L_Close:
- set @base_id, 0;
- set @have_id, 0;
- set @receive_id, 0;
- close;
-}