diff options
author | gumi <git@gumi.ca> | 2019-07-29 14:57:35 -0400 |
---|---|---|
committer | gumi <git@gumi.ca> | 2020-03-08 16:06:35 -0400 |
commit | 4a1834f6ac09e23a1e634aeef29cca4a56434df4 (patch) | |
tree | 5382e7f70ec248eb1d662cacacabe3348e711526 | |
parent | 6e4491532daf12607093ad493a070f78aa7756d9 (diff) | |
download | serverdata-4a1834f6ac09e23a1e634aeef29cca4a56434df4.tar.gz serverdata-4a1834f6ac09e23a1e634aeef29cca4a56434df4.tar.bz2 serverdata-4a1834f6ac09e23a1e634aeef29cca4a56434df4.tar.xz serverdata-4a1834f6ac09e23a1e634aeef29cca4a56434df4.zip |
fix sorfina
-rw-r--r-- | world/map/npc/029-2/sorfina.txt | 19 |
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; +} |