diff options
Diffstat (limited to 'npc/001-2-34')
-rw-r--r-- | npc/001-2-34/_import.txt | 6 | ||||
-rw-r--r-- | npc/001-2-34/_warps.txt | 3 | ||||
-rw-r--r-- | npc/001-2-34/doors.txt | 29 | ||||
-rw-r--r-- | npc/001-2-34/mapflags.txt | 1 | ||||
-rw-r--r-- | npc/001-2-34/samantha.txt | 21 |
5 files changed, 60 insertions, 0 deletions
diff --git a/npc/001-2-34/_import.txt b/npc/001-2-34/_import.txt new file mode 100644 index 000000000..326973e61 --- /dev/null +++ b/npc/001-2-34/_import.txt @@ -0,0 +1,6 @@ +// Map 001-2-34: unnamed +// This file is generated automatically. All manually added changes will be removed when running the Converter. +"npc/001-2-34/_warps.txt", +"npc/001-2-34/doors.txt", +"npc/001-2-34/mapflags.txt", +"npc/001-2-34/samantha.txt", diff --git a/npc/001-2-34/_warps.txt b/npc/001-2-34/_warps.txt new file mode 100644 index 000000000..1311f071d --- /dev/null +++ b/npc/001-2-34/_warps.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Map 001-2-34: unnamed warps +001-2-34,29,33,0 warp #001-2-34_29_33 0,0,001-2-33,29,33 diff --git a/npc/001-2-34/doors.txt b/npc/001-2-34/doors.txt new file mode 100644 index 000000000..3e4fef7bd --- /dev/null +++ b/npc/001-2-34/doors.txt @@ -0,0 +1,29 @@ +// Evol scripts. +// Author: +// Reid +// Description: +// Doors NPCs. + +001-2-34,23,29,0 script ToTrainingRoom#001-2-34 NPC_HIDDEN,0,0,{ + +OnTouch: + if ((getmapusers($@MAP_NAME$) == 0) && ($@FightingIsActive > 0)) + { + set $@FightingIsActive, 0; + killmonsterall "001-2-36"; + } + + if (mobcount("001-2-36","all") > 0 && $@FightingIsActive > 0) + { + narrator + l("You hear some sound behind the door."), + l("Somebody is probably training, better wait for him to finish."); + } + else + { + warp "001-2-36", 36, 30; + } + + closedialog; + close; +} diff --git a/npc/001-2-34/mapflags.txt b/npc/001-2-34/mapflags.txt new file mode 100644 index 000000000..b632f6fe6 --- /dev/null +++ b/npc/001-2-34/mapflags.txt @@ -0,0 +1 @@ +001-2-34 mapflag town diff --git a/npc/001-2-34/samantha.txt b/npc/001-2-34/samantha.txt new file mode 100644 index 000000000..f49e15aa4 --- /dev/null +++ b/npc/001-2-34/samantha.txt @@ -0,0 +1,21 @@ +// Evol scripts. +// Author: +// Reid +// Description: +// Artis's Legion of Aemil officier of the training room. + +001-2-34,29,27,0 script Samantha NPC_SAMANTHA,{ + mesn; + mesq lg("Look who we have here, did you come for a training session?"); + + goto L_Close; + +L_Close: + close; + +OnInit: + .sex = G_FEMALE; + .distance = 3; + end; +} + |