summaryrefslogtreecommitdiff
path: root/npc/001-1/eventmaster.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/001-1/eventmaster.txt')
-rw-r--r--npc/001-1/eventmaster.txt456
1 files changed, 447 insertions, 9 deletions
diff --git a/npc/001-1/eventmaster.txt b/npc/001-1/eventmaster.txt
index 31b5edf7c..b3313fe71 100644
--- a/npc/001-1/eventmaster.txt
+++ b/npc/001-1/eventmaster.txt
@@ -1,8 +1,9 @@
// TMW2 Script
// Author:
-// Jesusalva
+// Jesusalva, Saulc
// Description:
// This GM NPC controls spawns and item drops on Aeros
+// Monsters are sorted alphabetically, except bif
001-1,250,20,0 script Mana Being#001-1 NPC_ALIGE_OUTSIDE_BARREL,{
function spawner { // (name, ID, amount)
@@ -25,6 +26,8 @@ L_Menu:
"Start/End Event", L_EventHandler,
"Spawn",L_Spawn,
rif(countitem(StrangeCoin) >= 10, "Drop a Toothbrush! (10x Coins)"),L_Drop,
+ "Drop a Bronze Gift", L_Bgif,
+ "Drop a Silver Gift", L_Sgif,
"Adjust coins drop rate",L_Rate;
L_Unauthorized:
@@ -45,8 +48,10 @@ L_Spawn:
"Abort", L_Menu,
"Presets", L_Preset,
"Normal", L_Norm,
+ "Slime", L_Sli,
"Plants", L_Plants,
"Aggressive", L_Agr,
+ "GM", L_Gm,
"Boss", L_Boss;
@@ -169,8 +174,47 @@ L_Preset:
L_Norm:
select
- "Abort",
- "Piou";
+ "Abort", // 1
+ "Alpha Mouboo", // 2
+ "Bat", // 3
+ "Bee", // 4
+ "Blub", // 5
+ "Candor Scorpion", // 6
+ "Cave Snake", // 7
+ "Crafty", // 8
+ "Croc", // 9
+ "Desert Loghead", // 10
+ "Desert Maggot", // 11
+ "Duck", // 12
+ "Fire Goblin", // 13
+ "Fluffy", // 14
+ "Forest Mushroom", // 15
+ "Little Blub", // 16
+ "Giant Maggot", // 17
+ "Golden Scorpion", // 18
+ "Iced Fluffy", // 19
+ "LogHead", // 20
+ "Maggot", // 21
+ "Magic Goblin", // 22
+ "Mana Bug", // 23
+ "Mana Ghost" // 24
+ "Moggun", // 25
+ "Mouboo", // 26
+ "Ocean Croc", // 27
+ "Pinkie", // 28
+ "Piou", // 29
+ "Piousse", // 30
+ "Poison Spiky Mushroom", // 31
+ "Ratto", // 32
+ "Red Butterfly", // 33
+ "Red Mushroom", // 34
+ "Red Scorpion", // 35
+ "Scorpion", // 36
+ "Silk Worm", // 37
+ "Squirrel", // 38
+ "Tipiou", // 39
+ "Toppy Blub", // 40
+ "Tortuga";
input .@c, 0, 100;
@@ -179,7 +223,83 @@ L_Norm:
goto L_Spawn;
break;
case 2:
+ spawner(l("AlphaMouboo"), AlphaMouboo, .@c);
+ case 3:
+ spawner(l("Bat"), Bat, .@c);
+ case 4:
+ spawner(l("Bee"), Bee, .@c);
+ case 5:
+ spawner(l(Blub""), Blub, .@c);
+ case 6:
+ spawner(l("CandorScorpion"), CandorScorpion, .@c);
+ case 7:
+ spawner(l("CaveSnake"), CaveSnake, .@c);
+ case 8:
+ spawner(l("Crafty"), Crafty, .@c);
+ case 9:
+ spawner(l("Croc"), Croc, .@c);
+ case 10:
+ spawner(l("DesertLoghead"), DesertLoghead, .@c);
+ case 11:
+ spawner(l("DesertMaggot"), DesertMaggot, .@c);
+ case 12:
+ spawner(l("Duck"), Duck, .@c);
+ case 13:
+ spawner(l("FireGoblin"), FireGoblin, .@c);
+ case 14:
+ spawner(l("Fluffy"), Fluffy, .@c);
+ case 15:
+ spawner(l("ForestMushroom"), ForestMushroom, .@c);
+ case 16:
+ spawner(l("LittleBlub"), LittleBlub, .@c);
+ case 17:
+ spawner(l("GiantMaggot"), GiantMaggot, .@c);
+ case 18:
+ spawner(l("GoldenScorpion"), GoldenScorpion, .@c);
+ case 19:
+ spawner(l("IcedFluffy"), IcedFluffy, .@c);
+ case 20:
+ spawner(l("LogHead"), LogHead, .@c);
+ case 21:
+ spawner(l(Maggot"), Maggot, .@c);
+ case 22:
+ spawner(l("MagicGoblin"), MagicGoblin, .@c);
+ case 23:
+ spawner(l("ManaBug"), ManaBug, .@c);
+ case 24:
+ spawner(l("ManaGhost"), ManaGhost, .@c);
+ case :25
+ spawner(l("Moggun"), Moggun, .@c);
+ case 26:
+ spawner(l("Mouboo"), Mouboo, .@c);
+ case 27:
+ spawner(l("OceanCroc"), OceanCroc, .@c);
+ case 28:
+ spawner(l("Pinkie"), Pinkie, .@c);
+ case 29:
spawner(l("Piou"), Piou, .@c);
+ case 30:
+ spawner(l("Piousse"), Piousse, .@c);
+ case 31:
+ spawner(l("PoisonSpikyMushroom"), PoisonSpikyMushroom, .@c);
+ case 32:
+ spawner(l("Ratto"), Ratto, .@c);
+ case 33:
+ spawner(l("RedButterfly"), RedButterfly, .@c);
+ case 34:
+ spawner(l("RedMushroom"), RedMushroom, .@c);
+ case 35:
+ spawner(l("RedScorpion"), RedScorpion, .@c);
+ case 36:
+ spawner(l("Squirrel"), Squirrel, .@c);
+ case 37:
+ spawner(l("Squirrel"), Squirrel, .@c);
+ case 38:
+ spawner(l("Tipiou"), Tipiou, .@c);
+ case 39:
+ spawner(l("ToppyBlub"), ToppyBlub, .@c);
+ case 40:
+ spawner(l("Tortuga"), Tortuga, .@c);
}
@log_spawns=@log_spawns+.@c;
@@ -189,21 +309,254 @@ L_Norm:
next;
goto L_Norm;
+L_Sli:
+ "Abort", // 1
+ "Azul Slime", // 2
+ "Blue Slime", // 3
+ "Candied Slime", // 4
+ "Copper Slime", // 5
+ "Green Slime", // 6
+ "Lava Slime", // 7
+ "Rudolph Slime", // 8
+ "Red Slime", // 9
+ "Santa Slime", // 10
+ "Sea Slime", // 11
+ "Slime Blast", // 12
+ "White Slime", // 13
+ "Yellow Slime"; // 14
+
+ input .@c, 0, 100;
+
+ switch (@menu) {
+ case 1:
+ goto L_Spawn;
+ break;
+ case 2:
+ spawner(l("AzulSlime"), AzulSlime, .@c);
+ case 3:
+ spawner(l("BlueSlime"), BlueSlime, .@c);
+ case 4:
+ spawner(l("CandiedSlime"), CandiedSlime, .@c);
+ case 5:
+ spawner(l("CopperSlime"), CopperSlime, .@c);
+ case 6:
+ spawner(l("GreenSlime"), GreenSlime, .@c);
+ case 7:
+ spawner(l("LavaSlime"), LavaSlime, .@c);
+ case 8:
+ spawner(l("RudolphSlime"), RudolphSlime, .@c);
+ case 9:
+ spawner(l("RedSlime"), RedSlime, .@c);
+ case 10:
+ spawner(l("SantaSlime"), SantaSlime, .@c);
+ case 11:
+ spawner(l("SeaSlime"), SeaSlime, .@c);
+ case 12:
+ spawner(l("SlimeBlast"), SlimeBlast, .@c);
+ case 13:
+ spawner(l("WhiteSlime"), WhiteSlime, .@c);
+ case 14:
+ spawner(l("YellowSlime"), YellowSlime, .@c);
+
+ }
+
+ @log_spawns=@log_spawns+.@c;
+ mes "";
+ mes "Completed.";
+ mes "Total spawns: "+str(@log_spawns);
+ next;
+ goto L_Sli;
+
L_Plants:
select
- "Abort";
+ "Abort", // 1
+ "Chagashroom Field", // 2
+ "Clover Patch", // 3
+ "Cobalt Plant", // 4
+ "Dummy", // 5
+ "Gamboge Plant", // 6
+ "Manana Tree", // 7
+ "Mauve Plant", // 8
+ "Plushroom Field", // 9
+ "Small Ruby Bif", // 10
+ "Small Topaz Bif", // 11
+ "Small Emerald Bif", // 12
+ "Small Diamond Bif", // 13
+ "Small Amethyst Bif", // 14
+ "Small Sapphire Bif", // 15
+ "Ruby Bif", // 16
+ "Topaz Bif", // 17
+ "Emerald Bif", // 18
+ "Diamond Bif", // 19
+ "Amethyst Bif", // 20
+ "Sapphire Bif", // 21
+ "Big Ruby Bif", // 22
+ "Big Topaz Bif", // 23
+ "Big Emerald Bif", // 24
+ "Big Diamond Bif", // 25
+ "Big Amethyst Bif", // 26
+ "Big Sapphire Bif"; // 27
+
+ input .@c, 0, 100;
- if (@menu == 1) goto L_Spawn;
+ switch (@menu) {
+ case 1:
+ goto L_Spawn;
+ break;
+ case 2:
+ spawner(l("ChagashroomField"), ChagashroomField, .@c);
+ case 3:
+ spawner(l("CloverPatch"), CloverPatch, .@c);
+ case 4:
+ spawner(l("CobaltPlant"), CobaltPlant, .@c);
+ case 5:
+ spawner(l("Dummy"), Dummy, .@c);
+ case 6:
+ spawner(l("GambogePlant"), GambogePlant, .@c);
+ case 7:
+ spawner(l("MananaTree"), MananaTree, .@c);
+ case 8:
+ spawner(l("MauvePlant"), MauvePlant, .@c);
+ case 9:
+ spawner(l("PlushroomField"), PlushroomField, .@c);
+ case 10:
+ spawner(l("SmallRubyBif"), SmallRubyBif, .@c);
+ case 11:
+ spawner(l("SmallTopazBif"), SmallTopazBif, .@c);
+ case 12:
+ spawner(l("SmallEmeraldBif"), SmallEmeraldBif, .@c);
+ case 13:
+ spawner(l("SmallDiamondBif"), SmallDiamondBif, .@c);
+ case 14:
+ spawner(l("SmallAmethystBif"), SmallAmethystBif, .@c);
+ case 15:
+ spawner(l("SmallSapphireBif"), SmallSapphireBif, .@c);
+ case 16:
+ spawner(l("RubyBif"), RubyBif, .@c);
+ case 17:
+ spawner(l("TopazBif"), TopazBif, .@c);
+ case 18:
+ spawner(l("EmeraldBif"), EmeraldBif, .@c);
+ case 19:
+ spawner(l("DiamondBif"), DiamondBif, .@c);
+ case 20:
+ spawner(l("AmethystBif"), AmethystBif, .@c);
+ case 21:
+ spawner(l("SapphireBif"), SapphireBif, .@c);
+ case 22:
+ spawner(l("BigRubyBif"), BigRubyBif, .@c);
+ case 23:
+ spawner(l("BigTopazBif"), BigTopazBif, .@c);
+ case 24:
+ spawner(l("BigEmeraldBif"), BigEmeraldBif, .@c);
+ case 25:
+ spawner(l("BigDiamondBif"), BigDiamondBif, .@c);
+ case 26:
+ spawner(l("BigAmethystBif"), BigAmethystBif, .@c);
+ case 27:
+ spawner(l("BigSapphireBif"), BigSapphireBif, .@c);
+
+ }
+
+ @log_spawns=@log_spawns+.@c;
mes "";
mes "Completed.";
mes "Total spawns: "+str(@log_spawns);
next;
- goto L_Plant;
+ goto L_Plant;
+
L_Agr:
select
- "Abort";
+ "Abort"; // 1
+ "Angry Red Scorpion", // 2
+ "Angry Scorpion", // 3
+ "Bandit", // 4
+ "Black Scorpion", // 5
+ "Cave Maggot", // 6
+ "Centaur", // 7
+ "Dark Lizard", // 8
+ "Desert Bandit", // 9
+ "Fallen Guard", // 10
+ "Forain", // 11
+ "Frostia Guard", // 12
+ "House Maggot", // 13
+ "Magic Goblin", // 14
+ "Mountain Snake", // 15
+ "Ocean Pirate", // 16
+ "Sarracenus", // 17
+ "Skeleton", // 18
+ "Snake", // 19
+ "Tipiu", // 20
+ "Vampire Bat", // 21
+ "Wolvern", // 22
+ "Yeti", // 23
+
+
+
+ input .@c, 0, 100;
+
+ switch (@menu) {
+ case 1:
+ goto L_Spawn;
+ break;
+ case 2:
+ spawner(l("AngryRedScorpion"), AngryRedScorpion, .@c);
+ case 3:
+ spawner(l("AngryScorpion"), AngryScorpion, .@c);
+ case 4:
+ spawner(l("Bandit"), Bandit, .@c);
+ case 5:
+ spawner(l("BlackScorpion"), BlackScorpion, .@c);
+ case 6:
+ spawner(l("CaveMaggot"), CaveMaggot, .@c);
+ case 7:
+ spawner(l("Centaur"), Centaur, .@c);
+ case 8:
+ spawner(l("DarkLizard"), DarkLizard, .@c);
+ case 9:
+ spawner(l("DesertBandit"), DesertBandit, .@c);
+ case 10:
+ spawner(l("FallenGuard"), FallenGuard, .@c);
+ case 11:
+ spawner(l("Forain"), Forain, .@c);
+ case 12:
+ spawner(l("FrostiaGuard"), FrostiaGuard, .@c);
+ case 13:
+ spawner(l("HouseMaggot"), HouseMaggot, .@c);
+ case 14:
+ spawner(l("MagicGoblin"), MagicGoblin, .@c);
+ case 15:
+ spawner(l("MountainSnake"), MountainSnake, .@c);
+ case 16:
+ spawner(l("OceanPirate"), OceanPirate, .@c);
+ case 17:
+ spawner(l("Sarracenus"), Sarracenus, .@c);
+ case 18:
+ spawner(l("Skeleton"), Skeleton, .@c);
+ case 19:
+ spawner(l("Snake"), Snake, .@c);
+ case 20:
+ spawner(l("Tipiu"), Tipiu, .@c);
+ case 21:
+ spawner(l("VampireBat"), VampireBat, .@c);
+ case 22:
+ spawner(l("Wolvern"), Wolvern, .@c);
+ case 23:
+ spawner(l("Yeti"), Yeti, .@c);
+
+ }
+
+ @log_spawns=@log_spawns+.@c;
+ mes "";
+ mes "Completed.";
+ mes "Total spawns: "+str(@log_spawns);
+ next;
+ goto L_Agr
+
+
+
if (@menu == 1) goto L_Spawn;
mes "";
@@ -212,11 +565,82 @@ L_Agr:
next;
goto L_Agr;
+L_Gm:
+ select
+ "Abort", // 1
+ "Bhop Fluffy", // 2
+ "Easter Mouboo", // 3
+ "Evil Scythe", // 4
+ "Jack'O", // 5
+ "Magic Ratto", // 6
+ "Moonshroom", // 7
+ "Small Magic Bif", // 8
+ "Magic Bif", // 9
+ "Big Magic Bif"; // 10
+
+
+ input .@c, 0, 1000;
+
+ switch (@menu) {
+ case 1:
+ goto L_Spawn;
+ break;
+ case 2:
+ spawner(l("BhopFluffy"), BhopFluffy, .@c);
+ case 3:
+ spawner(l("EasterMouboo"), EasterMouboo, .@c);
+ case 4:
+ spawner(l("EvilScythe"), EvilScythe, .@c);
+ case 5:
+ spawner(l("Jack'O"), Jack'O, .@c);
+ case 6:
+ spawner(l("MagicRatto"), MagicRatto, .@c);
+ case 7:
+ spawner(l("Moonshroom"), Moonshroom, .@c);
+ case 8:
+ spawner(l("SmallMagicBif"), SmallMagicBif, .@c);
+ case 9:
+ spawner(l("MagicBif"), MagicBif, .@c);
+ case 10:
+ spawner(l("BigMagicBif"), BigMagicBif, .@c);
+ }
+
+ @log_spawns=@log_spawns+.@c;
+ mes "";
+ mes "Completed.";
+ mes "Total spawns: "+str(@log_spawns);
+ next;
+ goto L_Gm;
+
L_Boss:
select
- "Abort";
+ "Abort"; // 1
+ "Giant Mutated Bat" // 2
+ "Murderer Scorpion", // 3
+ "Night Scorpion" // 4
+ "Saxso Ghost" // 5
+ "The Yeti King", // 6
- if (@menu == 1) goto L_Spawn;
+ input .@c, 0, 1000;
+
+ switch (@menu) {
+ case 1:
+ goto L_Spawn;
+ break;
+ case :
+ spawner(l("GiantMutatedBat"), GiantMutatedBat, .@c);
+ case :
+ spawner(l("MurdererScorpion"), MurdererScorpion, .@c);
+ case :
+ spawner(l("NightScorpion"), NightScorpion, .@c);
+ case :
+ spawner(l("SaxsoGhost"), SaxsoGhost, .@c);
+ case :
+ spawner(l("TheYetiKing"), TheYetiKing, .@c);
+
+ }
+
+ @log_spawns=@log_spawns+.@c;
mes "";
mes "Completed.";
mes "Total spawns: "+str(@log_spawns);
@@ -232,6 +656,20 @@ L_Drop:
next;
goto L_Menu;
+L_Bgif:
+ makeitem(BronzeGift, 1, "001-1", rand(171,319), rand(20,138));
+ mes "";
+ mes "Bronze Gift Dropped.";
+ next;
+ goto L_Menu;
+
+L_Sgif:
+ makeitem(SilverGift, 1, "001-1", rand(171,319), rand(20,138));
+ mes "";
+ mes "Silver Gift Dropped.";
+ next;
+ goto L_Menu;
+
L_Rate:
mes "";
mes "Current drop rate: " + str($coinsrate);