summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusalva Jesusalva <jesusalva@themanaworld.org>2024-02-05 01:05:24 +0000
committerLed Mitz <smoothshifter@tuta.io>2024-02-05 01:05:24 +0000
commit3c5f500b942ccb82ea1a780bc8d28610b2c1e300 (patch)
tree01283cbb359c5a5cb0f65f0d8b5411d9cccd280a
parente0f8b58104482fbb871d5ca84d1f5888a14a2d8a (diff)
downloadserverdata-3c5f500b942ccb82ea1a780bc8d28610b2c1e300.tar.gz
serverdata-3c5f500b942ccb82ea1a780bc8d28610b2c1e300.tar.bz2
serverdata-3c5f500b942ccb82ea1a780bc8d28610b2c1e300.tar.xz
serverdata-3c5f500b942ccb82ea1a780bc8d28610b2c1e300.zip
Rodium (untested)
-rw-r--r--world/map/npc/069-2/wizard.txt31
1 files changed, 26 insertions, 5 deletions
diff --git a/world/map/npc/069-2/wizard.txt b/world/map/npc/069-2/wizard.txt
index d9d0464a..c94258ec 100644
--- a/world/map/npc/069-2/wizard.txt
+++ b/world/map/npc/069-2/wizard.txt
@@ -137,18 +137,39 @@ L_Doomsday:
mes "\"...The Doomsday was a fierce battle. If you go there alone, you definitely will die. You should make a party and bring them all here, then I'll consider helping you.\"";
next;
mes "[Rodium]";
- mes "\"##1##BBut... not yet. The time wheel is broken again! Oh dear, these things happen, so I guess that to see the past... You must wait for the future...##b##0\"";
- if (debug) goto L_Warp;
- if (GM >= G_EVENT) goto L_Warp;
- goto L_Menu2;
+ mes "\"I'll require 2× [@@"+BlackRose+"|@@] and 500 GP to warp everyone here back in time. The events, however, are already fixed; time travel cannot change the past, and you are too weak to make a parallel universe with only that. Ah! There are no refunds, if you're alone then it is your loss.\"";
+ next;
+ mes "[Rodium]";
+ mes "\"So? What will you do?\"";
+ menu "Nothing for now, thanks for the info and sorry for the bother.", L_Close,
+ "Please, bring me to Keshlam!", L_Fine;
+
+L_Fine:
+ if (countitem(BlackRose) < 2) goto L_Close;
+ if (Zeny < 500) goto L_Close;
+ delitem BlackRose, 2;
+ set Zeny, Zeny - 500;
+ set $@RODIUM$, strcharinfo(0);
+ // centered in Rodium (107,90) visible radius: 15 tiles
+ areatimer 0, "069-2", 92, 75, 122, 105, 10, "Mclecht Rodium::OnWarp";
+ goto L_Close;
L_Warp:
- // TODO: Require some sort of payment
// TODO: Revive all mobs from 099-1/-2/-3 (they do not respawn, iirc)
// TODO: Reduce amount of mobs >.<
warp "099-1", 34, 34;
close;
+OnWarp:
+ if (strcharinfo(0) == $@RODIUM$) goto L_Warp;
+ mes "[Rodium]";
+ mes "\"Hey, "+$@RODIUM$+" is inviting you to time-trip to Keshlam. If they didn't explain you any detail, then don't bother. Otherwise, do you want me to warp you, too?\"";
+ next;
+ mes "[Rodium]";
+ mes "\"Please make your decision.\"";
+ menu "I don't know what you're talking about, old man!", L_Close,
+ "Yeah, they're my friend, please warp me!", L_Warp;
+
L_Close:
close;
}