From dd684b533cd535950f4e7d08c4173dfe4b6527db Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 19 Apr 2020 10:38:28 +0000 Subject: Cupid's Magic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit “The highest expression of love.” ~ Aliytah, 2020 Also, fixes the @jail command. --- npc/commands/python.txt | 24 ++++++++++++++++++++++++ npc/scripts.conf | 1 + npc/sec_pri/_import.txt | 1 + npc/sec_pri/redirect.txt | 12 ++++++++++++ 4 files changed, 38 insertions(+) create mode 100644 npc/commands/python.txt create mode 100644 npc/sec_pri/redirect.txt (limited to 'npc') 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 +// Author: Jesusalva +// +// 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; +} -- cgit v1.2.3-70-g09d2