summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-05-02 18:29:12 -0300
committerJesusaves <cpntb1@ymail.com>2022-05-02 18:29:12 -0300
commitb89fb40b9d93857479662215c7ee338f0816dece (patch)
treed2d423c0ddd77ae96e90f85abe5ee74508cbb591
parentf7ac042018ce864f6c30be3c7050e83e360e4353 (diff)
downloadserverdata-b89fb40b9d93857479662215c7ee338f0816dece.tar.gz
serverdata-b89fb40b9d93857479662215c7ee338f0816dece.tar.bz2
serverdata-b89fb40b9d93857479662215c7ee338f0816dece.tar.xz
serverdata-b89fb40b9d93857479662215c7ee338f0816dece.zip
Add the chest with rewards to those whom triumph over Gemini Quest.
-rw-r--r--npc/001-1/rewards.txt2
-rw-r--r--npc/014-2-2/gemini.txt2
-rw-r--r--npc/034-4/exit.txt31
-rw-r--r--npc/034-4/intro.txt8
4 files changed, 39 insertions, 4 deletions
diff --git a/npc/001-1/rewards.txt b/npc/001-1/rewards.txt
index c646d323d..9fb6bbd90 100644
--- a/npc/001-1/rewards.txt
+++ b/npc/001-1/rewards.txt
@@ -102,7 +102,7 @@ OnInit:
sellitem WhiskeyAle,28;
sellitem YerbaMate,22;
sellitem CelestiaTea,17;
- sellitem BottleOfDivineWater, 15;
+ sellitem BottleOfDivineWater, 15;
sellitem PrecisionPotion,9;
sellitem DodgePotion,9;
sellitem Curshroom,6;
diff --git a/npc/014-2-2/gemini.txt b/npc/014-2-2/gemini.txt
index c4def5627..6153fed5b 100644
--- a/npc/014-2-2/gemini.txt
+++ b/npc/014-2-2/gemini.txt
@@ -22,7 +22,7 @@ OnCore:
instance_attach($@VALIA_INST[.@p]);
// Always true on first interaction
// This handles new stages for person
- if (@mystatus != $@VALIA_STATUS[.@p]) {
+ if (@mystatus < $@VALIA_STATUS[.@p]) {
// No retroaction!
@mystatus = $@VALIA_STATUS[.@p];
switch ($@VALIA_STATUS[.@p]) {
diff --git a/npc/034-4/exit.txt b/npc/034-4/exit.txt
index 8b1be0fc5..b321f7b8f 100644
--- a/npc/034-4/exit.txt
+++ b/npc/034-4/exit.txt
@@ -196,6 +196,37 @@ OnSick:
if (instance_id() < 0 || getcharid(1) < 1) end;
GeminiCheck(15);
// TODO: Prizes
+ if (@mystatus > 20) {
+ dispbottom l("I already took my share from this chest.");
+ end;
+ }
+ inventoryplace Iten, 1;
+ @mystatus = 99;
+ .@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));
+ break;
+ case 2:
+ getitem StrangeCoin, 250;
+ dispbottom l("I found %s!", "250 "+getitemlink(StrangeCoin));
+ break;
+ case 3:
+ getitem MysteriousFruit, 1;
+ dispbottom l("I found %s!", 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"));
+ }
+ }
end;
OnInit:
diff --git a/npc/034-4/intro.txt b/npc/034-4/intro.txt
index 734c49a1f..3615c0c91 100644
--- a/npc/034-4/intro.txt
+++ b/npc/034-4/intro.txt
@@ -146,8 +146,12 @@ OnTouch:
if (instance_id() < 0 || getcharid(1) < 1) end;
GeminiCheck(8);
.@p=getcharid(1);
- if (mobcount(getmap(), "all") > 0 || $@VALIA_STATUS[.@p] < 10) {
- dispbottom l("Uh? I can't pass. I wonder why.");
+ if ($@VALIA_STATUS[.@p] < 10) {
+ dispbottom l("Uh? I can't pass. I wonder why, maybe I need to wait?");
+ end;
+ }
+ if (mobcount(getmap(), "all") > 0) {
+ dispbottom l("I should defeat all mobs before passing.");
end;
}
if (mobcount(getmap(), "all") <= 0 && $@VALIA_STATUS[.@p] == 10) {