From 57ef3fe8d33b90ec28fd1e108dd64208500f234c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 11 Dec 2021 21:28:51 -0300 Subject: Some utilities --- npc/081-1/_import.txt | 1 + npc/081-1/extra.txt | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 npc/081-1/extra.txt diff --git a/npc/081-1/_import.txt b/npc/081-1/_import.txt index 9d0112e7..a71acf41 100644 --- a/npc/081-1/_import.txt +++ b/npc/081-1/_import.txt @@ -2,3 +2,4 @@ // This file is generated automatically. All manually added changes will be removed when running the Converter. "npc/081-1/_warps.txt", "npc/081-1/dungeon.txt", +"npc/081-1/extra.txt", diff --git a/npc/081-1/extra.txt b/npc/081-1/extra.txt new file mode 100644 index 00000000..33250358 --- /dev/null +++ b/npc/081-1/extra.txt @@ -0,0 +1,31 @@ +// TMW Script. +// Author: +// Jesusalva +// Notes: +// Christmas 2021 - Extra NPCs & Code Injection + +081-1,82,68,0 script Nut Cracker NPC330,{ + @npcname$ = "Nut Cracker"; + Banker(); + close; + +OnInit: + .distance=5; + end; +} + +081-1,57,49,0 script Soul Menhir#Aethyr NPC346,{ + @map$ = "081-1"; + setarray @Xs, 54, 54, 54, 55, 55, 55, 56; + setarray @Ys, 52, 53, 54, 52, 53, 54, 54; + @x = 0; + @y = 0; + callfunc "SoulMenhir"; + @map$ = ""; + cleararray @Xs[0], 0, 7; + cleararray @Ys[0], 0, 7; + @x = 0; + @y = 0; + close; +} + -- cgit v1.2.3-60-g2f50