summaryrefslogtreecommitdiff
path: root/npc/003-2
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-2')
-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: