summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-21 22:32:44 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-21 22:32:44 -0300
commitc7cd68c3b08c3229184d677951331148b7df5a05 (patch)
tree133abf464e2999389d40a90db63fd57bb9702932 /npc
parente4179dd624cd36602c37921bbe505f18c426c4f3 (diff)
downloadserverdata-c7cd68c3b08c3229184d677951331148b7df5a05.tar.gz
serverdata-c7cd68c3b08c3229184d677951331148b7df5a05.tar.bz2
serverdata-c7cd68c3b08c3229184d677951331148b7df5a05.tar.xz
serverdata-c7cd68c3b08c3229184d677951331148b7df5a05.zip
Server-side: Accept The Academy Island
Diffstat (limited to 'npc')
-rw-r--r--npc/027-1/_import.txt5
-rw-r--r--npc/027-1/_mobs.txt12
-rw-r--r--npc/027-1/_warps.txt3
-rw-r--r--npc/027-1/statue.txt26
-rw-r--r--npc/_import.txt1
-rw-r--r--npc/functions/scoreboards.txt5
-rw-r--r--npc/functions/weather.txt1
7 files changed, 52 insertions, 1 deletions
diff --git a/npc/027-1/_import.txt b/npc/027-1/_import.txt
new file mode 100644
index 000000000..0a47df142
--- /dev/null
+++ b/npc/027-1/_import.txt
@@ -0,0 +1,5 @@
+// Map 027-1: The Academy Island
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/027-1/_mobs.txt",
+"npc/027-1/_warps.txt",
+"npc/027-1/statue.txt",
diff --git a/npc/027-1/_mobs.txt b/npc/027-1/_mobs.txt
new file mode 100644
index 000000000..e1f310359
--- /dev/null
+++ b/npc/027-1/_mobs.txt
@@ -0,0 +1,12 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 027-1: The Academy Island mobs
+027-1,77,95,4,3 monster Duck 1029,2,60000,30000
+027-1,29,146,10,10 monster Magic Ratto 1126,3,60000,30000
+027-1,57,127,9,3 monster Mana Piou 1155,3,60000,30000
+027-1,114,116,30,25 monster Red Butterfly 1025,7,60000,30000
+027-1,128,25,12,6 monster Duck 1029,2,60000,30000
+027-1,150,48,10,30 monster Croc 1006,6,60000,30000
+027-1,59,116,24,25 monster Mana Bug 1075,4,60000,30000
+027-1,100,152,60,7 monster Sea Slime 1093,12,60000,30000
+027-1,149,117,11,27 monster Piou 1002,4,60000,30000
+027-1,89,65,26,25 monster Cyan Butterfly 1172,6,60000,30000
diff --git a/npc/027-1/_warps.txt b/npc/027-1/_warps.txt
new file mode 100644
index 000000000..55b3f945f
--- /dev/null
+++ b/npc/027-1/_warps.txt
@@ -0,0 +1,3 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 027-1: The Academy Island warps
+027-1,90,156,0 warp #027-1_90_156 5,0,003-1,59,59
diff --git a/npc/027-1/statue.txt b/npc/027-1/statue.txt
new file mode 100644
index 000000000..dc21ef37a
--- /dev/null
+++ b/npc/027-1/statue.txt
@@ -0,0 +1,26 @@
+// TMW-2 Script
+// Author:
+// Jesusalva
+// Description:
+// These statues are of great honor to whoever have their name written in them!
+
+027-1,57,115,0 script Hero Statue#027-1 NPC_STATUE_ANDREI,{
+
+ mes l("In honor of %s, the greatest hero this world has even seen.", b("Andrei Sakar"));
+ mes "";
+ if ($MOST_HEROIC$ != "") {
+ mes l("In honor of %s, for their great deeds of recent bravery in face of impending doom.", $MOST_HEROIC$);
+ mes "";
+ }
+ mes l("In honor of %s, founder of this academy, whom built this academy WITH HIS OWN HANDS, WITH BLOOD SWEAT AND TEARS.", b("Jesusalva"));
+ mes "";
+ mes l("Also in honor of the other two sages, %s and %s. And finally, notable mention for the noble %s, %s and %s, for sponsoring this Academy.", b("Saulc"), b("Crazyfefe"), b("Micksha"), b("omatt"), b(rand_sponsor()));
+
+ close;
+
+OnInit:
+ .sex = G_OTHER;
+ .distance = 4;
+ end;
+}
+
diff --git a/npc/_import.txt b/npc/_import.txt
index 5a4b32f53..daab26939 100644
--- a/npc/_import.txt
+++ b/npc/_import.txt
@@ -175,6 +175,7 @@
@include "npc/024-9/_import.txt"
@include "npc/025-2-1/_import.txt"
@include "npc/025-2/_import.txt"
+@include "npc/027-1/_import.txt"
@include "npc/boss/_import.txt"
@include "npc/botcheck/_import.txt"
@include "npc/guilds/_import.txt"
diff --git a/npc/functions/scoreboards.txt b/npc/functions/scoreboards.txt
index 41e8078dd..fa1734ea4 100644
--- a/npc/functions/scoreboards.txt
+++ b/npc/functions/scoreboards.txt
@@ -306,7 +306,10 @@ function script HallOfSponsor {
}
return;
}
-
+// Returns the name of a random sponsor
+function script rand_sponsor {
+ return any("Saulc", "Woody", "Sharli");
+}
// HallOfGame()
function script HallOfGame {
diff --git a/npc/functions/weather.txt b/npc/functions/weather.txt
index 4c87c9627..561c6b596 100644
--- a/npc/functions/weather.txt
+++ b/npc/functions/weather.txt
@@ -88,6 +88,7 @@ OnInit:
htput(.wcore, "018-2", "woodland");
htput(.wcore, "018-4", "woodland");
htput(.wcore, "018-5", "woodland");
+ htput(.wcore, "027-1", "woodland");
// Icelands
htput(.wcore, "001-7", "iceland");