summaryrefslogtreecommitdiff
path: root/npc/003-1/events.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-18 07:56:17 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-18 07:56:17 -0300
commitd4b6ef35782c2dececbe77734321d7e15eec5d48 (patch)
treeca2089dce032ac143009d71332d6f432c8053fc0 /npc/003-1/events.txt
parentfd69e8ac1be8d4a811d3bdaf5096dba0e1500e98 (diff)
downloadserverdata-d4b6ef35782c2dececbe77734321d7e15eec5d48.tar.gz
serverdata-d4b6ef35782c2dececbe77734321d7e15eec5d48.tar.bz2
serverdata-d4b6ef35782c2dececbe77734321d7e15eec5d48.tar.xz
serverdata-d4b6ef35782c2dececbe77734321d7e15eec5d48.zip
Aurora Events: You may now submit the items.
If you don't have anything to submit, worry not - You'll still receive the dailies.
Diffstat (limited to 'npc/003-1/events.txt')
-rw-r--r--npc/003-1/events.txt16
1 files changed, 10 insertions, 6 deletions
diff --git a/npc/003-1/events.txt b/npc/003-1/events.txt
index efbc745ae..09cc3da43 100644
--- a/npc/003-1/events.txt
+++ b/npc/003-1/events.txt
@@ -22,7 +22,7 @@
// Aurora Event functions
function auroraRankings;
function auroraCurrentRankings;
- function auroraClaimRewards;
+ function auroraSubmit;
function auroraListRewards;
// Handle annuals
@@ -341,8 +341,8 @@ L_Aurora:
l("Event Details"),
l("Event Ranking Rewards"),
rif(FYEventUsesRanking(), l("Current Rankings")),
- rif(FYEventUsesRanking(), l("List rewards")),
- rif(FYEventUsesRanking(), l("Claim rewards")),
+ rif(FYEventUsesRanking(), l("List & Claim rewards")),
+ rif(FYEventUsesRanking(), l("Submit to ranking")),
l("That's all, thanks!");
mes "";
switch (@menu) {
@@ -371,7 +371,7 @@ L_Aurora:
break;
case 5:
- auroraClaimRewards();
+ auroraSubmit();
break;
default:
@@ -427,11 +427,14 @@ function auroraCurrentRankings {
}
// TODO
-function auroraClaimRewards {
+function auroraListRewards {
return;
}
-function auroraListRewards {
+function auroraSubmit {
+ .@q2=getq2(Q_AuroraEvent);
+ FYE_Submit();
+ mesc l("Event score: %d -> %d", .@q2, getq2(Q_AuroraEvent));
return;
}
@@ -456,6 +459,7 @@ function auroraListRewards {
+
// DO NOT REMOVE
}