summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-03 02:10:08 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-03 02:10:08 -0300
commit77aa0c65fd6f0e10ea691d3079c8dc4590ad8a33 (patch)
treea5ef9dcbc40c2d7e1550056a5bf1ebe006ed8276 /npc
parentd0507c2901a105027003a4e10a0eb8aea33219c4 (diff)
downloadserverdata-77aa0c65fd6f0e10ea691d3079c8dc4590ad8a33.tar.gz
serverdata-77aa0c65fd6f0e10ea691d3079c8dc4590ad8a33.tar.bz2
serverdata-77aa0c65fd6f0e10ea691d3079c8dc4590ad8a33.tar.xz
serverdata-77aa0c65fd6f0e10ea691d3079c8dc4590ad8a33.zip
Add @python for LOLZ
Diffstat (limited to 'npc')
-rw-r--r--npc/commands/python.txt23
-rw-r--r--npc/scripts.conf1
2 files changed, 24 insertions, 0 deletions
diff --git a/npc/commands/python.txt b/npc/commands/python.txt
new file mode 100644
index 000000000..542b5cb54
--- /dev/null
+++ b/npc/commands/python.txt
@@ -0,0 +1,23 @@
+// The Mana World script
+// Author: Gumi <gumi@themanaworld.org>
+// Author: Jesusalva <jesusalva@themanaworld.org>
+//
+// Stomp stomp stomp (use with caution)
+
+- script @python 32767,{
+ end;
+
+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", 60, 60, 1;
+ end;
+}
diff --git a/npc/scripts.conf b/npc/scripts.conf
index 36d8f1dc1..31da48aa0 100644
--- a/npc/scripts.conf
+++ b/npc/scripts.conf
@@ -107,6 +107,7 @@
"npc/commands/language.txt",
"npc/commands/mobinfo.txt",
"npc/commands/motd.txt",
+"npc/commands/python.txt",
"npc/commands/rate-management.txt",
"npc/commands/resync.txt",
"npc/commands/scheduled-broadcasts.txt",