summaryrefslogtreecommitdiff
path: root/npc/042-2
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2011-06-12 21:41:04 +0200
committerJessica Tölke <jtoelke@mail.upb.de>2011-06-12 21:41:04 +0200
commitcd340c55d12dcd62e81fb3d6d0d9f02333c1e65e (patch)
treed3612f132228bc4b9b8f534cd2aa8692e909afa0 /npc/042-2
parentdd5a1ed7e2e1e93bb74908ba4068350966e541b0 (diff)
downloadserverdata-cd340c55d12dcd62e81fb3d6d0d9f02333c1e65e.tar.gz
serverdata-cd340c55d12dcd62e81fb3d6d0d9f02333c1e65e.tar.bz2
serverdata-cd340c55d12dcd62e81fb3d6d0d9f02333c1e65e.tar.xz
serverdata-cd340c55d12dcd62e81fb3d6d0d9f02333c1e65e.zip
sorfina explains how to interact with npcs seperated and shirt is in a chest
Diffstat (limited to 'npc/042-2')
-rw-r--r--npc/042-2/sorfina.txt53
1 files changed, 45 insertions, 8 deletions
diff --git a/npc/042-2/sorfina.txt b/npc/042-2/sorfina.txt
index 33c67e06..b3160155 100644
--- a/npc/042-2/sorfina.txt
+++ b/npc/042-2/sorfina.txt
@@ -1,8 +1,9 @@
042-2.gat,28,26,0 script Sorfina 154,4,4{
if (FLAGS & FLAG_TUTORIAL_DONE) goto L_Again;
- if (sorfina == 3) goto L_Again;
- if (sorfina == 2) goto L_Clothes;
+ if (sorfina == 4) goto L_Again;
+ if (sorfina == 3) goto L_Clothes;
+ if (sorfina == 2) goto L_Chest;
if (sorfina == 1) goto L_Carpet;
callfunc "GameRules";
@@ -48,6 +49,15 @@ L_Carpet:
set sorfina, 1;
close;
+L_Chest:
+ mes "[Sorfina]";
+ mes "\"In that chest there is a shirt you can have.\"";
+ next;
+ mes "\"To interact with things in your environment or talk to NPCs you can either click on it or press N to focus and T to talk/activate.\"";
+ next;
+ mes "\"Now get the shirt out of the chest.\"";
+ close;
+
L_Naked:
mes "\"Press F3 or click at the button for your equipment in the bar at the upper right corner to open your inventory.\"";
next;
@@ -68,7 +78,7 @@ L_Clothes:
next;
mes "\"Oh, and if you're looking for work, you should talk to Aidan when you go to main Tulimshar. They're giving rewards for monster hunting.";
mes "You can find him near the south gate. Well, good luck.\"";
- set sorfina, 3;
+ set sorfina, 4;
close;
L_Again:
@@ -224,22 +234,49 @@ OnTouch:
end;
mes "[Sorfina]";
mes "\"Very good! I'm glad you're recovering.";
- mes "Now you should get dressed again. Here is an old shirt from my son.\"";
+ mes "Now you should get dressed again.\"";
+ next;
+ mes "Sorfina unlocks the chest behind her.";
+ next;
+ mes "[Sorfina]";
+ mes "\"In that chest there is a shirt you can have.\"";
+ next;
+ mes "\"To interact with things in your environment or talk to NPCs you can either click on it or press N to focus and T to talk/activate.\"";
+ next;
+ mes "\"Now get the shirt out of the chest.\"";
+ set sorfina, 2;
+ close;
+}
+
+042-2.gat,27,23,0 script Chest 111,{
+
+ if (sorfina > 2) goto L_Empty;
+ if (sorfina == 2) goto L_Shirt;
+
+ mes "The chest is locked.";
+ close;
+L_Shirt:
+ mes "You take a simple Cotton Shirt out of the chest.";
getitem "CottonShirt", 1;
next;
+ mes "[Sorfina]";
+ mes "\"Great! Now you can equip it.\"";
+ next;
mes "\"You can open your inventory with pressing F3 or clicking at the button 'Inventory' in the bar at the upper right corner.\"";
next;
mes "\"After we finished talking click on the shirt and press the equip button.\"";
- next;
- mes "\"Talk to me again when you got dressed. You can either click on me, or press N to focus on me and T to talk.\"";
- set sorfina, 2;
+ set sorfina, 3;
+ close;
+
+L_Empty:
+ mes "The chest is empty.";
close;
}
042-2.gat,44,31,0 script #DoorOut 45,0,0{
end;
OnTouch:
- if ((sorfina < 3) && !(FLAGS & FLAG_TUTORIAL_DONE)) goto L_Block;
+ if ((sorfina < 4) && !(FLAGS & FLAG_TUTORIAL_DONE)) goto L_Block;
warp "042-1.gat", 37, 57;
end;
L_Block: