summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--world/map/npc/029-2/sorfina.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/world/map/npc/029-2/sorfina.txt b/world/map/npc/029-2/sorfina.txt
index e6f40c1b..35c096b0 100644
--- a/world/map/npc/029-2/sorfina.txt
+++ b/world/map/npc/029-2/sorfina.txt
@@ -20,6 +20,8 @@ L_Start:
mes "";
mes "If you die you may start over by creating a new character.";
+ if (QL_BEGIN >= 8) goto L_Close;
+
getitem "Knife", 1;
getitem "SlingShot", 1;
getitem "SlingBullet", 500;
@@ -30,8 +32,25 @@ L_Start:
set QL_BEGIN, 8;
close;
+L_Close:
+ close;
+
OnTouch:
if (QL_BEGIN > 0)
end;
goto L_Start;
}
+
+029-2,44,31,0|script|#DoorOutTut1|45,0,0
+{
+ if (QL_BEGIN < 4)
+ goto L_Block;
+ mapmask getmask();
+ warp "029-2", 112, 85;
+ end;
+
+L_Block:
+ message strcharinfo(0), "Sorfina : ##BWait a moment! ##bYou're not ready to leave.";
+ // FIXME: this should be changed to npctalk with strcharinfo(0) once we increase the view area
+ end;
+}