diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/023-2/mk.txt | 1 | ||||
-rw-r--r-- | npc/commands/super-menu.txt | 14 |
2 files changed, 12 insertions, 3 deletions
diff --git a/npc/023-2/mk.txt b/npc/023-2/mk.txt index 39e7a979a..9253f679f 100644 --- a/npc/023-2/mk.txt +++ b/npc/023-2/mk.txt @@ -17,6 +17,7 @@ OnInit: .distance = 5; OnHour00: +OnReprocess: if (!$NLIB_DAY) { disablenpc .name$; end; diff --git a/npc/commands/super-menu.txt b/npc/commands/super-menu.txt index 5e477b77f..beda92941 100644 --- a/npc/commands/super-menu.txt +++ b/npc/commands/super-menu.txt @@ -14,6 +14,7 @@ function script SuperMenu { rif(is_admin() && !getcharid(2), l("Join teh Guild")), rif(is_staff(), l("Referral Program Report")), rif(is_admin(), "Broken checks"), + rif(is_admin() && $@GM_OVERRIDE && !$NIVALIS_LIBDATE && $NLIB_DAY, "Flush NLIB"), rif(is_gm(), l("Seasonal Drop Control")), "Debug", "Quit"; @@ -27,14 +28,21 @@ function script SuperMenu { query_sql("UPDATE `char` SET `guild_id`=1 WHERE `char_id`="+getcharid(0)); break; case 5: HallOfReferral; break; - case 6: + case 6: delitem Aquada, 1; delitem Bread, 100; mes("Either delitem is not working, or you had 1 aquada and 100 bread."); next; break; - case 7: SeasonControl; break; - case 8: GlobalDebugMenu 1; break; + case 7: + donpcevent("The Monster King#NLib::OnReprocess"); + if ($NLIB_DAY == 7) { + setmapflag("023-2",mf_bexp,200); + donpcevent("The Monster King#NLib::OnBegin"); + } + break; + case 8: SeasonControl; break; + case 9: GlobalDebugMenu 1; break; default: close; break; } } while (1); |