From c351742b3647b1f62ea74fa53e5de38d254e336b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 22 Jul 2019 10:43:24 -0300 Subject: Easter Egg --- npc/003-0-1/_import.txt | 1 + npc/003-0-1/hiddenwarp.txt | 21 +++++++++++++++++++++ npc/003-0/recepcionist.txt | 2 +- npc/003-1/_warps.txt | 2 ++ 4 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 npc/003-0-1/hiddenwarp.txt (limited to 'npc') diff --git a/npc/003-0-1/_import.txt b/npc/003-0-1/_import.txt index 5aa9264e7..0d04be190 100644 --- a/npc/003-0-1/_import.txt +++ b/npc/003-0-1/_import.txt @@ -3,6 +3,7 @@ "npc/003-0-1/_warps.txt", "npc/003-0-1/audsbel.txt", "npc/003-0-1/guards.txt", +"npc/003-0-1/hiddenwarp.txt", "npc/003-0-1/maxime.txt", "npc/003-0-1/professor.txt", "npc/003-0-1/researcher.txt", diff --git a/npc/003-0-1/hiddenwarp.txt b/npc/003-0-1/hiddenwarp.txt new file mode 100644 index 000000000..d6f339b58 --- /dev/null +++ b/npc/003-0-1/hiddenwarp.txt @@ -0,0 +1,21 @@ +// TMW2 Script +// Author: +// Jesusalva +// Easter Egg for Hello World player +// TODO: In future, check player direction + +003-0-1,21,24,0 script #MSchoolRoof NPC_HIDDEN,0,0,{ + end; + +OnTouch: + warp "003-1", 49, 24; + .@q=getq(General_EasterEggs); + + if (!(.@q & EE_MAGICSCHOOL)) { + setq General_EasterEggs, .@q|EE_MAGICSCHOOL; + dispbottom l("For finding an Easter Egg, you got Strange Coins!"); + getitem StrangeCoin, 3; + } + + end; +} diff --git a/npc/003-0/recepcionist.txt b/npc/003-0/recepcionist.txt index 3cb3e89de..db2ae6d98 100644 --- a/npc/003-0/recepcionist.txt +++ b/npc/003-0/recepcionist.txt @@ -2,7 +2,7 @@ // Author: // Jesusalva // Description: -// Magic School recepcionist +// Magic School recepcionist (TODO: Give S. Badge) 003-0,47,44,4 script Recepcionist#003-0 NPC_FEMALE,{ if (getskilllv(TMW2_SKILLPERMIT) == 2 && MAGIC_LVL >= 3 && ST_TIER >= 1) goto L_T3_S0; diff --git a/npc/003-1/_warps.txt b/npc/003-1/_warps.txt index 07b38bbfc..e552f7c33 100644 --- a/npc/003-1/_warps.txt +++ b/npc/003-1/_warps.txt @@ -20,3 +20,5 @@ 003-1,58,54,0 warp #003-1_58_54 0,0,003-1-3,82,82 003-1,25,45,0 warp #003-1_25_45 0,0,003-1-3,37,85 003-1,52,35,0 warp #003-1_52_35 1,0,003-0-1,48,51 +003-1,49,23,0 warp #003-1_49_23 0,0,003-0-1,22,25 +003-1,54,23,0 warp #003-1_54_23 0,0,003-0-1,69,24 -- cgit v1.2.3-60-g2f50