diff options
Diffstat (limited to 'npc/019-2/guards.txt')
-rw-r--r-- | npc/019-2/guards.txt | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/npc/019-2/guards.txt b/npc/019-2/guards.txt index 8a37d468d..8e0c74447 100644 --- a/npc/019-2/guards.txt +++ b/npc/019-2/guards.txt @@ -75,9 +75,25 @@ L_Veteran: close; L_MK: - mesn; - mesq l("Today at 16:30 UTC we are going to attack the Monster King by surprise. There will be no delays, so be there."); + if (gettime(3) != 18) { + mesn; + mesq l("Today at 16:30 UTC we are going to attack the Monster King by surprise. There will be no delays, so be there."); + } else { + mesn; + mesq l("Do you want to go against the Monster King now? The event will start 16:30 UTC sharply."); + if (askyesno() == ASK_YES) { + // Control if you already found the Monster King + @QNL3=0; + // Begin quest. Logout/Death will cause loss of the current day. + setq1 Q_NivalisLibday, $NLIB_DAY; + setq3 Q_NivalisLibday, gettimetick(2); + warp "019-3", any(128, 129, 130, 131, 132), any(24, 25, 26, 27); + doevent("Guard#019-3.1::OnAdvise"); + closedialog; + } + } close; + // Misc L_Delay: mesn; @@ -97,10 +113,16 @@ OnHour00: $NLIB_DAY+=1; end; +OnClock1825: + if ($NLIB_DAY == 7) + announce "All players, Nivalis Liberation Day starting in five minutes.", bc_all | bc_npc; + end; + OnClock1830: if ($NLIB_DAY != 7) end; setmapflag("023-2",mf_bexp,200); + disablenpc "The Monster King#NLib"; end; } |