summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/034-4/exit.txt31
1 files changed, 17 insertions, 14 deletions
diff --git a/npc/034-4/exit.txt b/npc/034-4/exit.txt
index b321f7b8f..11d756cdc 100644
--- a/npc/034-4/exit.txt
+++ b/npc/034-4/exit.txt
@@ -195,37 +195,40 @@ OnSick:
034-4,146,83,0 script Chest#gemini NPC_CHEST,{
if (instance_id() < 0 || getcharid(1) < 1) end;
GeminiCheck(15);
- // TODO: Prizes
+ // Already taken
if (@mystatus > 20) {
dispbottom l("I already took my share from this chest.");
end;
}
+ // One prize per person
inventoryplace Iten, 1;
@mystatus = 99;
+ // Non party leaders receive "less"
+ if (strcharinfo(0) != getpartyleader(.@p)) {
+ Mobpt+=7500;
+ getexp 96000, 900;
+ dispbottom l("I found %s and %s!", "7,500 "+l("monster points"), "96,000 "+l("experience points"));
+ end;
+ }
+ // Party leaders receive "more"
.@q = getq(HurnscaldQuest_Gemini);
setq HurnscaldQuest_Gemini, .@q + 1;
//getitem RentCart, 1; // Not rented
switch (.@q) {
case 1:
getitem SarabArmlet, 1;
- dispbottom l("I found %s!", getitemlink(SarabArmlet));
+ dispbottom l("I found %s!", l("a(n) ")+getitemlink(SarabArmlet));
break;
case 2:
- getitem StrangeCoin, 250;
- dispbottom l("I found %s!", "250 "+getitemlink(StrangeCoin));
- break;
- case 3:
+ getitem StrangeCoin, 150;
getitem MysteriousFruit, 1;
- dispbottom l("I found %s!", getitemlink(MysteriousFruit));
+ dispbottom l("I found %s and %s!", "150 "+getitemlink(StrangeCoin), ("a(n) ")+getitemlink(MysteriousFruit));
break;
default:
- if (.@q % 2) {
- Mobpt+=7500;
- dispbottom l("I found %s!", "7,500 "+l("monster points"));
- } else {
- getexp 96000, 900;
- dispbottom l("I found %s!", "96,000 "+l("experience points"));
- }
+ Mobpt+=7500;
+ getexp 96000, 900;
+ dispbottom l("I found %s and %s!", "7,500 "+l("monster points"), "96,000 "+l("experience points"));
+ end;
}
end;