diff options
Diffstat (limited to 'npc/001-3')
-rw-r--r-- | npc/001-3/_import.txt | 4 | ||||
-rw-r--r-- | npc/001-3/_warps.txt | 11 | ||||
-rw-r--r-- | npc/001-3/ctrl.txt | 23 |
3 files changed, 38 insertions, 0 deletions
diff --git a/npc/001-3/_import.txt b/npc/001-3/_import.txt new file mode 100644 index 0000000..3a2cb29 --- /dev/null +++ b/npc/001-3/_import.txt @@ -0,0 +1,4 @@ +// Map 001-3: Saulc's Home +// This file is generated automatically. All manually added changes will be removed when running the Converter. +"npc/001-3/_warps.txt", +"npc/001-3/ctrl.txt", diff --git a/npc/001-3/_warps.txt b/npc/001-3/_warps.txt new file mode 100644 index 0000000..732ca93 --- /dev/null +++ b/npc/001-3/_warps.txt @@ -0,0 +1,11 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Map 001-3: Saulc's Home warps +001-3,80,123,0 warp #001-3_80_123 0,0,001-3-1,24,61 +001-3,127,124,0 warp #001-3_127_124 0,0,001-3-1,117,61 +001-3,104,80,0 warp #001-3_104_80 3,0,001-3-1,45,126 +001-3,106,65,0 warp #001-3_106_65 0,0,001-3-1,116,126 +001-3,101,65,0 warp #001-3_101_65 0,0,001-3-1,97,126 +001-3,117,138,0 warp #001-3_117_138 0,0,000-1,22,22 +001-3,72,103,0 warp #001-3_72_103 0,0,001-3-1,24,30 +001-3,135,103,0 warp #001-3_135_103 0,0,001-3-1,117,30 +001-3,66,121,0 warp #001-3_66_121 0,2,004-2,50,61 diff --git a/npc/001-3/ctrl.txt b/npc/001-3/ctrl.txt new file mode 100644 index 0000000..99c6d1f --- /dev/null +++ b/npc/001-3/ctrl.txt @@ -0,0 +1,23 @@ +// TMW2 Script. +// Author: +// Jesusalva +// Description: +// None + +001-3,127,64,0 script #PatreonTower NPC_HIDDEN,0,0,{ + end; +OnTouch: + if (is_sponsor()) warp "003-0-2", 35, 42; + end; +} + +001-3,103,69,0 script Copper Chest#Saulc NPC_CHEST,{ + // Like common chest but up to +3% bonus + TreasureBox(rand2(150, 300), CopperKey); + specialeffect(.dir == 0 ? 24 : 25, AREA, getnpcid()); // closed ? opening : closing + close; +OnInit: + .distance=2; + end; +} + |