diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2011-08-28 16:58:30 +0200 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2011-08-28 16:58:30 +0200 |
commit | beea050d4600732d51d5a293f690b50f8cb9db94 (patch) | |
tree | 5691e5e10fa3a6b66936273e39565b71d299e588 /world/map/npc/033-1/yerrnk.txt | |
parent | b52f230eb0712c43b49767279921bb69a0f17a18 (diff) | |
download | serverdata-beea050d4600732d51d5a293f690b50f8cb9db94.tar.gz serverdata-beea050d4600732d51d5a293f690b50f8cb9db94.tar.bz2 serverdata-beea050d4600732d51d5a293f690b50f8cb9db94.tar.xz serverdata-beea050d4600732d51d5a293f690b50f8cb9db94.zip |
Barbarians: Birrod and Yerrnk changed to new scripting guidelines
and some dialogue about the Raging Skill added.
Diffstat (limited to 'world/map/npc/033-1/yerrnk.txt')
-rw-r--r-- | world/map/npc/033-1/yerrnk.txt | 139 |
1 files changed, 69 insertions, 70 deletions
diff --git a/world/map/npc/033-1/yerrnk.txt b/world/map/npc/033-1/yerrnk.txt index a951a8e4..a474a759 100644 --- a/world/map/npc/033-1/yerrnk.txt +++ b/world/map/npc/033-1/yerrnk.txt @@ -1,96 +1,95 @@ -033-1.gat,66,28,0 script Yerrnk 216, { +033-1.gat,66,28,0|script|Yerrnk|216,{ //TODO: minimum level for quests? - set @Q_Barbarians_MASK, NIBBLE_0_MASK; - set @Q_Barbarians_SHIFT, NIBBLE_0_SHIFT; + set @Q_Barbarians_MASK, NIBBLE_0_MASK; + set @Q_Barbarians_SHIFT, NIBBLE_0_SHIFT; - set @state, ((QUEST_Barbarians & @Q_Barbarians_MASK) >> @Q_Barbarians_SHIFT); + set @state, ((QUEST_Barbarians & @Q_Barbarians_MASK) >> @Q_Barbarians_SHIFT); - if (@state == 6) goto L_Warrior; - if (@state == 5) goto L_Birrod; - if (@state == 4) goto L_Sorrow; - if (@state == 3) goto L_Duty; - if (@state == 2) goto L_Kimarr; - if (@state == 1) goto L_Fluffy; + if (@state == 6) goto L_Warrior; + if (@state == 5) goto L_Birrod; + if (@state == 4) goto L_Sorrow; + if (@state == 3) goto L_Duty; + if (@state == 2) goto L_Kimarr; + if (@state == 1) goto L_Fluffy; - mes "[Barbarian]"; - mes "\"Hello. I'm Yerrnk, first warrior of the Mangarr.\""; - next; - mes "Yerrnk looks at you in a reserved way."; - mes "[Yerrnk]"; - mes "\"Please take care of your own business.\""; - close; + mes "[Barbarian]"; + mes "\"Hello. I'm Yerrnk, first warrior of the Mangarr.\""; + next; + mes "Yerrnk looks at you in a reserved way."; + mes "[Yerrnk]"; + mes "\"Please take care of your own business.\""; + close; L_Fluffy: - mes "[Yerrnk]"; - mes "\"Kimarr talks too much sometimes.\""; - mes "He sighs."; - next; - mes "[Yerrnk]"; - mes "\"Are you going to accept Kimarr's task? It's an ancient ceremony in our tribe. A young member is accepted as an adult when completing it.\""; - close; + mes "[Yerrnk]"; + mes "\"Kimarr talks too much sometimes.\""; + mes "He sighs."; + next; + mes "[Yerrnk]"; + mes "\"Are you going to accept Kimarr's task? It's an ancient ceremony in our tribe. A young member is accepted as an adult when completing it.\""; + close; L_Kimarr: - mes "[Yerrnk]"; - mes "\"I think Kimarr wants to give you something.\""; - close; + mes "[Yerrnk]"; + mes "\"I think Kimarr wants to give you something.\""; + close; L_Duty: - mes "[Yerrnk]"; - mes "\"I'm not sure if you are aware about the meaning of your actions.\""; - next; - mes "\"You passed the inition ritus for hunters of our tribe. That means now you are a hunter of our tribe, with all the rights and duties that come along with that.\""; - next; - mes "\"So you'll have to obey our laws and traditiones, protect and help any member of our tribe that is in need and never show weakness nor fear in battle.\""; - next; - mes "\"Keep this in mind. If you fail you'll have to recieve the elders judgement.\""; - close; + mes "[Yerrnk]"; + mes "\"I'm not sure if you are aware about the meaning of your actions.\""; + next; + mes "\"You passed the inition ritus for hunters of our tribe. That means now you are a hunter of our tribe, with all the rights and duties that come along with that.\""; + next; + mes "\"So you'll have to obey our laws and traditiones, protect and help any member of our tribe that is in need and never show weakness nor fear in battle.\""; + next; + mes "\"Keep this in mind. If you fail you'll have to recieve the elders judgement.\""; + close; L_Sorrow: - mes "[Yerrnk]"; - mes "\"I noticed that you're getting along with Kimarr and Birrod very well. That's good.\""; - mes "He smiles, but then an expression of worry gets back to his face."; - next; - mes "[Yerrnk]"; - mes "\"Our tribe is going through dire straits. We used to live in harmony with the mountain ever since."; - mes "Life is hard in the snowy mountains, but this life suits our nature.\""; - next; - mes "\"But some weeks ago the Yetis started to act very strange. Usually they are very shy, but now..."; - mes "They left the secluded areas high up in the mountains they used to live on and started roaming our hunting grounds.\""; - next; - mes "\"It became very dangerous to leave the village, so it's even harder to gather enough food to survive."; - mes "But not only this, the Yetis are getting more daring every day - they might attack the village itself sooner or later.\""; - next; - mes "\"Other wild animals got more aggressive as well, though the Yetis are the most dangerous."; - mes "Something like that has never happened before. We have no idea what could cause the animals to behave like this.\""; - next; - mes "\"That's why we were sent on a mission to find and talk to Santa, one of the Sages of Kazei."; - mes "The Sages are wizards of great power and wisdom, and we hope Santa might be able to give us advice.\""; - close; + mes "[Yerrnk]"; + mes "\"I noticed that you're getting along with Kimarr and Birrod very well. That's good.\""; + mes "He smiles, but then an expression of worry gets back to his face."; + next; + mes "[Yerrnk]"; + mes "\"Our tribe is going through dire straits. We used to live in harmony with the mountain ever since."; + mes "Life is hard in the snowy mountains, but this life suits our nature.\""; + next; + mes "\"But some weeks ago the Yetis started to act very strange. Usually they are very shy, but now..."; + mes "They left the secluded areas high up in the mountains they used to live on and started roaming our hunting grounds.\""; + next; + mes "\"It became very dangerous to leave the village, so it's even harder to gather enough food to survive."; + mes "But not only this, the Yetis are getting more daring every day - they might attack the village itself sooner or later.\""; + next; + mes "\"Other wild animals got more aggressive as well, though the Yetis are the most dangerous."; + mes "Something like that has never happened before. We have no idea what could cause the animals to behave like this.\""; + next; + mes "\"That's why we were sent on a mission to find and talk to Santa, one of the Sages of Kazei."; + mes "The Sages are wizards of great power and wisdom, and we hope Santa might be able to give us advice.\""; + close; L_Birrod: - mes "[Yerrnk]"; - mes "\"" + strcharinfo(0) + ", I have to admit that I'm surprised by your skills."; - mes "You've proved your braveness and strength.\""; -//TODO: find out the problem - if (getskilllv(SKILL_POOL) == 0) goto L_Not_Ready; - mes "\"Please talk to Birrod to receive the initiation ritual to become a warrior of the Mangarr.\""; - close; + mes "[Yerrnk]"; + mes "\"" + strcharinfo(0) + ", I have to admit that I'm surprised by your skills."; + mes "You've proved your braveness and strength.\""; + if (getskilllv(SKILL_POOL) == 0) goto L_Not_Ready; + mes "\"Please talk to Birrod to receive the initiation ritual to become a warrior of the Mangarr.\""; + close; L_Not_Ready: - mes "[Yerrnk]"; - mes "\"But you're not yet ready to become a fully accepted warrior of our tribe."; - mes "You should travel the world to gain the ability to focus on your inner strength.\""; - close; + mes "[Yerrnk]"; + mes "\"But you're not yet ready to become a fully accepted warrior of our tribe."; + mes "You should travel the world to gain the ability to focus on your inner strength.\""; + close; L_Warrior: //TODO: player is now fully accepted warrior of the tribe, gets a task: bring yeti claws // reason: claws can be used to craft spears which are effective to use against the yetis - mes "TODO: add story about bringing yeti claw (probably final quest)"; - close; + mes "TODO: add story about bringing yeti claw (probably final quest)"; + close; S_Update_Mask: set QUEST_Barbarians, - (QUEST_Barbarians & ~(@Q_Barbarians_MASK)) + (QUEST_Barbarians & ~(@Q_Barbarians_MASK)) | (@state << @Q_Barbarians_SHIFT); return; } |