summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/042-1/hasan.txt6
-rw-r--r--npc/042-1/kaan.txt100
-rw-r--r--npc/042-1/valon.txt1
-rw-r--r--npc/042-2/sorfina.txt118
-rw-r--r--npc/042-2/tanisha.txt58
5 files changed, 275 insertions, 8 deletions
diff --git a/npc/042-1/hasan.txt b/npc/042-1/hasan.txt
index 1851ebc9..3caa47a5 100644
--- a/npc/042-1/hasan.txt
+++ b/npc/042-1/hasan.txt
@@ -2,6 +2,8 @@
set @toll, 10000;
+ if (hasan == 1) goto L_Toll;
+
mes "[Unfriendly Guy]";
mes "\"Hey! You can't pass here.\"";
menu
@@ -10,6 +12,8 @@
mes "[Unfriendly Guy]";
mes "\"Me, Hasan the mighty, decided to put a toll on this way.\"";
next;
+L_Toll:
+ mes "[Hasan]";
mes "\"Give me " + @toll + "GP, and I may let you pass.\"";
set hasan, 1;
if (zeny >= @toll)
@@ -56,5 +60,7 @@ L_Cheat:
//TODO: check variable
warp "042-1.gat", 110, 73;
message strcharinfo(0), "Hasan: \"Stop!\"";
+ // when scorpion is spawned:
+ // message strcharinfo(0), "Hasan: \"Please help me!\"";
end;
}
diff --git a/npc/042-1/kaan.txt b/npc/042-1/kaan.txt
index 9b002362..e9ad6b0c 100644
--- a/npc/042-1/kaan.txt
+++ b/npc/042-1/kaan.txt
@@ -1,5 +1,10 @@
042-1.gat,105,72,0 script Kaan 160,{
+ if (kaan == 4) goto L_Plan;
+ if (kaan == 3) goto L_Trick;
+ if (kaan == 2) goto L_Out;
+ if (kaan == 1) goto L_Tanisha;
+
mes "[Young Man]";
mes "\"You're the person Tanisha brought here, right?";
mes "My name is Kaan, I'm her brother.\"";
@@ -10,7 +15,100 @@
mes "[Kaan]";
mes "\"She hates maggots.\"";
next;
+ mes "\"Maybe you should go to see her, she was really upset about what happened with you.\"";
set kaan, 1;
close;
-end;
+
+L_Tanisha:
+ mes "[Kaan]";
+ mes "\"Did you already talk to Tanisha?\"";
+ if (tanisha < 3)
+ close;
+ menu
+ "Yes, I helped her with the maggots.",-,
+ "Yeah, and she's done with the maggots.",;
+ mes "[Kaan]";
+ mes "\"Ah, that are good news.";
+ mes "You know, we have a lot of problems with bugs here.\"";
+ next;
+ mes "\"If we don't watch out the maggots will eat all of our stocks.";
+ mes "And the desert is crawling with scorpions.";
+ mes "They also come here and you need to watch out not to step on them.\"";
+ next;
+ mes "\"But I took care about that problem.\"";
+ mes "He looks very proud.";
+ next;
+ mes "\"I build this fence to keep them out.\"";
+ menu
+ "Impressive! Just a bit... skew.",-,
+ "Wow, it looks very - ahm, unconventional.",-;
+ mes "[Kaan]";
+ mes "\"Well, it keeps the scorpions out. That's all that matters.\"";
+ next;
+ mes "\"Are you going to visit main Tulimshar?";
+ mes "The bazaar there is a wondeful place! Traders, entertainers, adventurers - it's very exciting there.\"";
+ set kaan, 2;
+ close;
+
+L_Out:
+ mes "[Kaan]";
+ mes "\"Hello! How are you? Did you already visit main Tulimshar?\"";
+ if (hasan)
+ menu
+ "A guy named Hasan doesn't let me enter main Tulimshar.",L_Hasan,
+ "Not yet.",L_Close;
+ menu
+ "Not yet.",L_Close;
+ close;
+
+L_Hasan:
+ mes "[Kaan]";
+ mes "\"Hasan! That's crazy. He becomes more cheekily with every day.";
+ mes "I'd like to help you, but - I won't risk an open confrontation with him.\"";
+ next;
+ mes "\"Sometimes he just freaks out and then he's dangerous.";
+ mes "We should think about some trick. Ah, if I'd now what's his weak point.\"";
+ next;
+ mes "\"He might listen to one of the adult men, but they're all off to work in main Tulimshar during the day.\"";
+ set kaan, 3;
+ next;
+L_Trick:
+ mes "[Kaan]";
+ mes "\"Do you have an idea what Hasans weakness could be?";
+ if (hasan < 2)
+ close;
+ menu
+ "He's afraid of scorpions",-,
+ "No idea.",L_Close;
+ mes "[Kaan]";
+ mes "\"Scorpions?! Right! How could I forget?";
+ mes "When he was a child, he nearly died because he felt in a scorpion nest.\"";
+ next;
+L_Explain:
+ mes "\"Ok, then here's the plan:";
+ mes "I will catch one of the scorpions from the desert that's coming to the fence.\"";
+ next;
+ mes "\"You'll go to Hasan and give me a sign when you're ready.";
+ mes "I'll watch you from this point.\"";
+ next;
+ mes "\"When you give me the sign, I'll throw the scorpion down on him.";
+ mes "While he's distracted with the scorpion, you can pass.\"";
+ next;
+ mes "\"How's that? We can start as soon as you're ready.\"";
+ if (kaan == 3)
+ set kaan, 4;
+ set hasan, 3;
+ close;
+
+L_Plan:
+ mes "[Kaan]";
+ mes "\"I'm ready. Just give me the sign when you're down there.";
+ mes "Or do you want me to explain the plan again?\"";
+ menu
+ "Yes please.",L_Explain,
+ "No, everything's alright.",-;
+ close;
+
+L_Close:
+ close;
}
diff --git a/npc/042-1/valon.txt b/npc/042-1/valon.txt
index 0e6a65c0..02e91590 100644
--- a/npc/042-1/valon.txt
+++ b/npc/042-1/valon.txt
@@ -10,6 +10,7 @@
next;
mes "\"If you really want to challenge the desert go to main Tulimshar first to prepare yourself.\"";
close;
+
OnTouch:
warp "042-1.gat", 17, 78;
mes "[Valon]";
diff --git a/npc/042-2/sorfina.txt b/npc/042-2/sorfina.txt
index 409d8c90..d82dc588 100644
--- a/npc/042-2/sorfina.txt
+++ b/npc/042-2/sorfina.txt
@@ -43,6 +43,8 @@ L_Naked:
mes "\"Then 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.\"";
+ next;
+ mes "\"If you want to talk to other adventurers, it's a bit different. In that case, press Enter, type your message and press Enter again.\"";
close;
L_Clothes:
@@ -67,7 +69,108 @@ L_Clothes:
L_Again:
mes "[Sorfina]";
- mes "\"TODO: put here a menu for explaining things again\"";
+ mes "\"Welcome back! Do you have any questions?\"";
+
+ if (hasan)
+ menu
+ "A guy named Hasan doesn't let me enter main Tulimshar.",L_Hasan,
+ "Yes, could you explain again about...",L_Explain,
+ "No, thanks.",L_Close;
+ menu
+ "Yes, could you explain again about...",L_Explain,
+ "No, thanks.",L_Close;
+ close;
+
+L_Explain:
+ menu
+ "... walking?",L_Walk,
+ "... talking?",L_Talk,
+ "... the inventory and items?",L_Items,
+ "... shortcuts?",L_Shortcut,
+ "... what to do in main Tulimshar?",L_Aidan,
+ "... nevermind.",L_Close;
+ close;
+
+L_Walk:
+ mes "[Sorfina]";
+ mes "\"You can use the arrow keys to walk around.";
+ mes "Or just click at the place you want to go to.";
+ mes "But this only works if that place is reachable and walkable.\"";
+ close;
+
+L_Talk:
+ mes "[Sorfina]";
+ mes "\"If you want to talk to a normal person, you can click at him or her.";
+ mes "Or you can press N to focus on the nearest person and then press T to talk.\"";
+ next;
+ mes "\"If you want to talk to other adventurers, press Enter to open your chat window.";
+ mes "Then type your message and press Enter to send.\"";
+ next;
+ mes "\"You may want to talk privately to another adventuerer sometimes. In that case you can whisper.";
+ mes "After pressing Enter, type '/whisper [name] [message]'.";
+ mes "Or you can right click on someone and choose the whisper option.\"";
+ next;
+ mes "\"Press F7 to show and hide your chat window.\"";
+ close;
+
+L_Items:
+ mes "[Sorfina]";
+ mes "\"There are three types of items.";
+ mes "They can be Consumables, Equipment, or Miscellaneous\"";
+ next;
+ mes "\"Consumable items such as Potions, can be used only once.";
+ mes "After use, they will disappear from your inventory.\"";
+ next;
+ mes "\"Equipment items like Armors, Weapons, Accessories";
+ mes "can be equipped for fashionable purposes or to raise your status.\"";
+ next;
+ mes "\"Miscellaneous items such as maggot slime, are used";
+ mes "in creating other items, or just to trade and sell.\"";
+ next;
+ mes "\"Press F3 to open your inventory.";
+ mes "When placing your cursor over an item there, you can see a box with some informations about that item.\"";
+ next;
+ mes "\"To use or equip an item, select it with clicking on it.";
+ mes "Then press Use or Equip.\"";
+ close;
+
+L_Shortcut:
+ mes "[Sorfina]";
+ mes "\"Press F8 to open your shortcut window.\"";
+ next;
+ mes "\"You can select the item you want to put on a shortcut with your mouse and then click on the position in the shortcut window you want to place it.\"";
+ next;
+ mes "\"Now you can use or equip/unequip it with pressing the number of the shortcut.\"";
+ close;
+
+L_Aidan:
+ mes "[Sorfina]";
+ mes "\"I suggest to go to the bazaar near the south gate.";
+ mes "We're in the north of Tulimshar here, so you have to walk across the town.\"";
+ next;
+ mes "\"When you leave this area to the Southeast, you'll come to the docks.";
+ mes "Follow the street to the south to pass the old towen gates.\"";
+ next;
+ mes "\"Turn West at the next intersection. You'll pass by the gates of Tulimshar's famos magic school there.";
+ mes "Just follow the street to the south and you'll reach the bazaar.\"";
+ next;
+ mes "\"I heard Aidan is looking for brave adventurers, you might want to talk to him.";
+ mes "Usually the bazaar is bustling with activity, there are many persons who might know something useful.\"";
+ close;
+
+L_Hasan:
+ mes "[Sorfina]";
+ mes "\"Ah, Hasan. He's causing trouble again?\"";
+ mes "She shakes her head.";
+ next;
+ mes "[Sorfina]";
+ mes "\This guy was a plague ever since. TODO: add story\"";
+ // some backstory, hasan living here as a child, always making trouble
+ // but unfortunately very strong
+ // player question: weak point
+ // answer: frightened of scropions
+ if (hasan == 1)
+ set hasan, 2;
close;
L_SkipTut:
@@ -79,11 +182,18 @@ L_SkipTut:
mes "[Sorfina]";
mes "\"If you think so. Good luck.\"";
//TODO:set flag
-close;
+ close;
+
+L_Close:
+ close;
}
-042-2.gat,45,31,0 script #DoorOut 127,1,1,{
- //TODO: add blocked door
+042-2.gat,45,31,0 script #DoorOut 127,2,2,{
+//TODO: check also flag for having finished the tutorial
+ if (sorfina < 2) goto L_Block;
warp "042-1.gat", 62, 63;
end;
+L_Block:
+ message strcharinfo(0), "Sorfina: Wait a moment! You're not ready to leave.";
+ end;
}
diff --git a/npc/042-2/tanisha.txt b/npc/042-2/tanisha.txt
index 255e30d7..b95d7ede 100644
--- a/npc/042-2/tanisha.txt
+++ b/npc/042-2/tanisha.txt
@@ -86,14 +86,66 @@ L_StatsRe:
L_Advice:
next;
mes "[Tanisha]";
- mes "\"Hey, when you go to main Tulmishar, you could see Bernard. He can make a delicious soup!";
+ mes "\"When you go to main Tulmishar, you could see Bernard. He can make a delicious soup!";
mes "Good luck!\"";
emotion 3;
- set tanisha, 3;
+ if (tanisha == 2)
+ set tanisha, 3;
close;
L_Again:
- mes "\"TODO: menu for fighting and stats explain again\"";
+ mes "[Tanisha]";
+ mes "\"Hi there! Is everything alright? Do you have questions?\"";
+
+ if (hasan)
+ menu
+ "A guy named Hasan doesn't let me enter main Tulimshar.",L_Hasan,
+ "Yes, could you explain again about...",L_Explain,
+ "No, thanks.",L_Close;
+ menu
+ "Yes, could you explain again about...",L_Explain,
+ "No, thanks.",L_Close;
+ close;
+
+L_Explain:
+ menu
+ "... how to fight?",L_Fight,
+ "... monsters?",L_Mob,
+ "... status points?",L_StatsRe,
+ "... what to do in main Tulimshar",L_Advice,
+ "... nevermind.",L_Close;
+
+L_Fight:
+ mes "[Tanisha]";
+ mes "\"Press A to focus on a monster. With X you can focus and attack.";
+ mes "But it also works to click on the monster with your mouse.\"";
+ next;
+ mes "\"If you press Shift, you can abort your attack.\"";
+ next;
+ mes "\"Sometimes dead monsters leave some useful things. You can pick them up with pressing Z or clicking with your mouse.\"";
+ close;
+
+L_Mob:
+ mes "[Tanisha]";
+ mes "\"I don't know much about monsters, I'm just a little girl. But I know a few things.";
+ mes "There a several types of monsters, Aggressive, Neutral, and Assistants.\"";
+ next;
+ mes "\"Aggressive monsters will attack you as soon as they see you.\"";
+ next;
+ mes "\"Neutral monsters are peacefully until they get attacked.\"";
+ next;
+ mes "\"Assistants are monsters who help each other.\"";
+ close;
+
+L_Hasan:
+ mes "[Tanisha]";
+ mes "\"Bah, Hasan. He's a jerk. But he's very strong.\"";
+ next;
+ mes "\"The only thing he's afraid of are scropions.";
+ mes "I'm not sure why, some bad experience when he was a child.";
+ mes "That was before I was born.\"";
+ if (hasan == 1)
+ set hasan, 2;
close;
L_Blocked: