diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-10-30 22:38:57 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-10-30 22:38:57 -0200 |
commit | 087ad55b3293290750fd4fc3c31e7c141d53d307 (patch) | |
tree | 8552ff1a64459e432189132c50475dde1676cc32 /npc/023-2 | |
parent | c2c6d03c9a39cefd093f124472e049127b1c2fd6 (diff) | |
download | serverdata-087ad55b3293290750fd4fc3c31e7c141d53d307.tar.gz serverdata-087ad55b3293290750fd4fc3c31e7c141d53d307.tar.bz2 serverdata-087ad55b3293290750fd4fc3c31e7c141d53d307.tar.xz serverdata-087ad55b3293290750fd4fc3c31e7c141d53d307.zip |
Triggers, and now is bed time. Later I code the main event, and test.
And the noobs event too...
Diffstat (limited to 'npc/023-2')
-rw-r--r-- | npc/023-2/mk.txt | 101 |
1 files changed, 97 insertions, 4 deletions
diff --git a/npc/023-2/mk.txt b/npc/023-2/mk.txt index c3007e185..b88e67633 100644 --- a/npc/023-2/mk.txt +++ b/npc/023-2/mk.txt @@ -4,9 +4,14 @@ // Description: // Nivalis Liberation Day +// The Walking Monster King 023-2,121,35,0 script The Monster King#NLib NPC_MONSTERKING,{ end; +OnTouch: + percentheal -100, -100; + end; + OnInit: .sex = G_MALE; .distance = 5; @@ -26,12 +31,10 @@ OnHour00: case 4: movenpc(.name$, 102, 63, DIR_WEST); break; case 5: - movenpc(.name$, 81, 59, DIR_EAST); break; + movenpc(.name$, 81, 59, DIR_NORTH); break; case 6: - movenpc(.name$, 76, 48, DIR_WEST); break; - case 7: movenpc(.name$, 53, 53, DIR_SOUTH); break; - case 8: + case 7: movenpc(.name$, 36, 99, DIR_SOUTH); break; default: channelmes("#world", "A bug happened: Monster King # Nivalis Liberation Day - Value Out of Range."); disablenpc .name$; break; @@ -40,3 +43,93 @@ OnHour00: end; } + +// Floor triggers +023-2,121,35,0 script #NLIB_T01 NPC_HIDDEN,1,2,{ + +OnTouch: + if ($NLIB_DAY == 1) { + @QNL3=1; + dispbottom l("I've found the Monster King."); + } + end; +} + + +023-2,110,36,0 script #NLIB_T02 NPC_HIDDEN,2,2,{ + +OnTouch: + if ($NLIB_DAY == 2) { + @QNL3=1; + dispbottom l("I've found the Monster King."); + } else if ($NLIB_DAY < 2) { + slide 114, 36; + dispbottom l("I should not veer off too much the path."); + } + end; +} + +023-2,105,50,0 script #NLIB_T03 NPC_HIDDEN,2,2,{ + +OnTouch: + if ($NLIB_DAY == 3) { + @QNL3=1; + dispbottom l("I've found the Monster King."); + } else if ($NLIB_DAY < 3) { + slide 104, 48; + dispbottom l("I should not veer off too much the path."); + } + end; +} + +023-2,104,62,0 script #NLIB_T04 NPC_HIDDEN,0,0,{ + +OnTouch: + if ($NLIB_DAY == 4) { + @QNL3=1; + dispbottom l("I've found the Monster King."); + } else if ($NLIB_DAY < 4) { + slide 104, 61; + dispbottom l("I should not veer off too much the path."); + } + end; +} + +023-2,86,59,0 script #NLIB_T05 NPC_HIDDEN,2,5,{ + +OnTouch: + if ($NLIB_DAY == 5) { + @QNL3=1; + dispbottom l("I've found the Monster King."); + } else if ($NLIB_DAY < 5) { + slide 91, 61; + dispbottom l("I should not veer off too much the path."); + } + end; +} + +023-2,53,49,0 script #NLIB_T06 NPC_HIDDEN,0,5,{ + +OnTouch: + if ($NLIB_DAY == 6) { + @QNL3=1; + dispbottom l("I've found the Monster King."); + } else if ($NLIB_DAY < 6) { + slide 55, 48; + dispbottom l("I should not veer off too much the path."); + } + end; +} + +023-2,35,90,0 script #NLIB_T07 NPC_HIDDEN,0,2,{ + +OnTouch: + if (gettime(2) < 25 || gettime(2) > 35) { + slide 39, 89; + dispbottom l("I should not go ahead... yet."); + } + end; +} + + +// Event |