summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-19 10:38:28 +0000
committerJesusaves <cpntb1@ymail.com>2020-04-19 10:38:28 +0000
commitdd684b533cd535950f4e7d08c4173dfe4b6527db (patch)
treea4fabfc5a22c6c805126d2b0ae9f6443768b99ec
parent2b8cce201c629c119184198be9695575fe3e9e94 (diff)
downloadserverdata-dd684b533cd535950f4e7d08c4173dfe4b6527db.tar.gz
serverdata-dd684b533cd535950f4e7d08c4173dfe4b6527db.tar.bz2
serverdata-dd684b533cd535950f4e7d08c4173dfe4b6527db.tar.xz
serverdata-dd684b533cd535950f4e7d08c4173dfe4b6527db.zip
Cupid's Magic
“The highest expression of love.” ~ Aliytah, 2020 Also, fixes the @jail command.
-rw-r--r--npc/commands/python.txt24
-rw-r--r--npc/scripts.conf1
-rw-r--r--npc/sec_pri/_import.txt1
-rw-r--r--npc/sec_pri/redirect.txt12
4 files changed, 38 insertions, 0 deletions
diff --git a/npc/commands/python.txt b/npc/commands/python.txt
new file mode 100644
index 00000000..e2fdc5bf
--- /dev/null
+++ b/npc/commands/python.txt
@@ -0,0 +1,24 @@
+// The Mana World script
+// Author: Gumi <gumi@themanaworld.org>
+// Author: Jesusalva <jesusalva@themanaworld.org>
+//
+// Stomp stomp stomp (use with caution)
+
+- script @python 32767,{
+ end;
+
+// Soft Resync
+OnCall:
+ specialeffect(69, AREA, playerattached());
+ addtimer 380, .name$+"::OnKill";
+ end;
+
+OnKill:
+ percentheal -100, -100;
+ //dispbottom l("Oh look, it is Cupid!");
+ end;
+
+OnInit:
+ bindatcmd "python", "@python::OnCall", 20, 20, 1;
+ end;
+}
diff --git a/npc/scripts.conf b/npc/scripts.conf
index cce40899..f003912e 100644
--- a/npc/scripts.conf
+++ b/npc/scripts.conf
@@ -126,6 +126,7 @@
"npc/commands/debug.txt",
"npc/commands/super-menu.txt",
"npc/commands/resync.txt",
+"npc/commands/python.txt",
// config script
"npc/config/hairstyle_config.txt",
diff --git a/npc/sec_pri/_import.txt b/npc/sec_pri/_import.txt
index eb01ab3b..e6c274dd 100644
--- a/npc/sec_pri/_import.txt
+++ b/npc/sec_pri/_import.txt
@@ -1,2 +1,3 @@
// Map sec_pri: Jail
// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/sec_pri/redirect.txt",
diff --git a/npc/sec_pri/redirect.txt b/npc/sec_pri/redirect.txt
new file mode 100644
index 00000000..bd46b987
--- /dev/null
+++ b/npc/sec_pri/redirect.txt
@@ -0,0 +1,12 @@
+// The Mana World Script
+// Author:
+// Jesusalva
+// Controls additional jail cells
+
+sec_pri,49,75,0 script #JailIntWarp NPC_HIDDEN,0,0,{
+ end;
+
+OnTouch:
+ slide any(29, 33), 75;
+ end;
+}