summaryrefslogtreecommitdiff
path: root/npc/003-2/eistein.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-11 21:57:41 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-11 21:57:41 -0300
commit7472e43e00318edc374e033d8d52a11a7c763bec (patch)
tree8f18e0bd4d506e1a59e1fc938d29f2cdbc22355b /npc/003-2/eistein.txt
parentb6e13a2f9103993c2df110cf1c9292996019a279 (diff)
downloadserverdata-7472e43e00318edc374e033d8d52a11a7c763bec.tar.gz
serverdata-7472e43e00318edc374e033d8d52a11a7c763bec.tar.bz2
serverdata-7472e43e00318edc374e033d8d52a11a7c763bec.tar.xz
serverdata-7472e43e00318edc374e033d8d52a11a7c763bec.zip
Eistein: Double rewards - fix gift order and give Graduation Robe
Diffstat (limited to 'npc/003-2/eistein.txt')
-rw-r--r--npc/003-2/eistein.txt17
1 files changed, 11 insertions, 6 deletions
diff --git a/npc/003-2/eistein.txt b/npc/003-2/eistein.txt
index 2b88aa499..31dd985ab 100644
--- a/npc/003-2/eistein.txt
+++ b/npc/003-2/eistein.txt
@@ -7,13 +7,18 @@
003-2,35,34,0 script Eistein NPC_UKAR,{
- // Level, Reward
+ // Level, Reward{, Reward2}
function is_level {
if (BaseLevel >= getarg(0)) {
getitem getarg(1),1;
+ if (getarg(2, 0))
+ getitem getarg(2),1;
setq TulimsharQuest_Eistein, getq(TulimsharQuest_Eistein)+1;
- speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("Congrats you passed the level cap of @@! Here is a(n) @@, you deserve it.",getarg(0), getitemlink(getarg(1)));
+ mes "";
+ mesn;
+ mesq l("Congrats you passed the level cap of @@! Here is a(n) @@, you deserve it.",getarg(0), getitemlink(getarg(1)));
+ if (getarg(2,0))
+ mesc l("Item obtained: @@", getitemlink(getarg(2)));
} else {
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("You are level @@/@@. Keep building levels, you need them!", BaseLevel, getarg(0));
@@ -27,11 +32,11 @@
case 0:
is_level(25, BronzeGift); break;
case 1:
- is_level(50, GraduationCap); break;
+ is_level(50, SilverGift, GraduationCap); break;
case 2:
- is_level(75, SilverGift); break;
+ is_level(75, GoldenGift, GraduationRobe); break;
case 3:
- is_level(100, GoldenGift); break;
+ is_level(100, PrismGift); break;
case 4:
is_level(125, PrismGift); break;
case 5: