diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-11-02 10:10:51 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-11-02 10:10:51 -0300 |
commit | d047f3bc4a0a7ab4ac4edc3627f8ac1fbac48a5f (patch) | |
tree | 75b1ae2a9913cb1ca3988483e9bdb32dc8adb384 /npc | |
parent | e1e18f16c1c4988d5222dc815016070bf5fb9b48 (diff) | |
download | serverdata-d047f3bc4a0a7ab4ac4edc3627f8ac1fbac48a5f.tar.gz serverdata-d047f3bc4a0a7ab4ac4edc3627f8ac1fbac48a5f.tar.bz2 serverdata-d047f3bc4a0a7ab4ac4edc3627f8ac1fbac48a5f.tar.xz serverdata-d047f3bc4a0a7ab4ac4edc3627f8ac1fbac48a5f.zip |
Playtest utils
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); |