summaryrefslogtreecommitdiff
path: root/npc/commands/event.txt
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-02-28 02:39:52 -0300
committerjesusalva <cpntb1@ymail.com>2018-02-28 02:39:52 -0300
commit055347e187e119dd3018af0bcccc5ee490c7bc26 (patch)
tree4e429166a5fd02c45786b0eb271c2c8d472566b1 /npc/commands/event.txt
parent251aa913a4f31be4970241e0cc7638c8b87a6d47 (diff)
downloadserverdata-055347e187e119dd3018af0bcccc5ee490c7bc26.tar.gz
serverdata-055347e187e119dd3018af0bcccc5ee490c7bc26.tar.bz2
serverdata-055347e187e119dd3018af0bcccc5ee490c7bc26.tar.xz
serverdata-055347e187e119dd3018af0bcccc5ee490c7bc26.zip
Function to GMs change drop rates
Diffstat (limited to 'npc/commands/event.txt')
-rw-r--r--npc/commands/event.txt18
1 files changed, 17 insertions, 1 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index a78be0f83..898db8331 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -14,6 +14,20 @@ function script GlobalEventMenu {
return;
}
+ function dropManagement {
+ clear;
+ mes l("To get the current rate:");
+ mes col(" @rates", 7);
+ next;
+ mes l("To set the drop rate:");
+ mes col(" @droprate ##Brate##b hours", 7);
+ next;
+ mes l("To reset back to normal:");
+ mes col(" @droprate default", 7); // note to translators: any non-numerical value will reset so "default" is safe to translate
+ next;
+ return;
+ }
+
do
{
clear;
@@ -23,7 +37,8 @@ function script GlobalEventMenu {
mes l("What do you want to access?");
select
- l("Rate management"),
+ l("Experience Rate management"),
+ l("Drop Rate management"),
rif(getarg(0,0), menuimage("actions/home", l("Return to Super Menu")));
//.@c = getarg(0,0) ? 2 : 1; // 1 = back to event menu, 2 = back to super menu
@@ -31,6 +46,7 @@ function script GlobalEventMenu {
switch (@menu)
{
case 1: rateManagement; break;
+ case 2: dropManagement; break;
default: return;
}