diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-04-26 00:50:51 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-04-26 00:50:51 -0300 |
commit | b7e223c55e272e99cd0a01a60979e3e79a888f62 (patch) | |
tree | f500637a77c21dd8b5f4258fd976f1ae0315b4ed /npc/commands | |
parent | 808378d0e4f6615b6ac55bd76c17e4ff507398c1 (diff) | |
download | serverdata-b7e223c55e272e99cd0a01a60979e3e79a888f62.tar.gz serverdata-b7e223c55e272e99cd0a01a60979e3e79a888f62.tar.bz2 serverdata-b7e223c55e272e99cd0a01a60979e3e79a888f62.tar.xz serverdata-b7e223c55e272e99cd0a01a60979e3e79a888f62.zip |
Game Storyline Interface, past event transitions accounted!
Diffstat (limited to 'npc/commands')
-rw-r--r-- | npc/commands/kami.txt | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/npc/commands/kami.txt b/npc/commands/kami.txt index fa17bc442..a9ff6656d 100644 --- a/npc/commands/kami.txt +++ b/npc/commands/kami.txt @@ -30,3 +30,46 @@ OnInit: bindatcmd "k", "@k::OnCall", 80, 80, 1; bindatcmd "servmsg", "@k::OnServMsg", 99, 99, 1; } + +// kamibroadcast( message{, sender} ) +function script kamibroadcast { + .@msg$=getarg(0); + .@snd$=getarg(1, ""); + + // Send to #world + if (.@snd$ == "") + channelmes("#world", .@msg$); + else + channelmes("#world", "[ "+.@snd$+" ] : "+.@msg$); + + // Make an announce + if (.@snd$ == "") + announce .@msg$, bc_all|bc_npc; + else + announce .@snd$+": "+.@msg$, bc_all|bc_npc; + + return; +} + +// Required for GM use in 2019-04-27 +- script @mkdbg 32767,{ + end; +OnMsg1to2: + detachrid(); + // Game Story Change: Idle MK -> Active MK + kamibroadcast("I can't handle it anymore! NO MORE!", "Monster King"); + sleep(2500); + kamibroadcast("Come, my minions! Lay siege to towns! LEAVE NO OPPOSITION TO ME!", "Monster King"); + sleep(2500); + kamibroadcast("Burn, destroy, do whatever you need, until your last breath, my lieutenants and colonels!", "Monster King"); + sleep(2500); + kamibroadcast("##4 .:: Game Story Instructions on #world ::."); + channelmes("#world", "##1 **GAME STORY CHANGE** - The Monster King minions will now attack cities and lay waste to them."); + channelmes("#world", "##1 Players must defeat the lieutenants and colonels in order to prevent sieges from continuing."); + end; + +OnInit: + bindatcmd "mkdbgjesus", "@mkdbg::OnMsg1to2", 99, 100, 0; + end; +} + |