summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2012-09-15 01:28:18 +0200
committerReid <reidyaro@gmail.com>2012-09-15 01:28:18 +0200
commit4ffec61b052cb735967de5608124708497d618b3 (patch)
treed4f14bcfcaebe5cad216030d59ea145bc1e2db6c /npc
parent39d03c0ab3443569129610994bb012067566ff86 (diff)
downloadserverdata-4ffec61b052cb735967de5608124708497d618b3.tar.gz
serverdata-4ffec61b052cb735967de5608124708497d618b3.tar.bz2
serverdata-4ffec61b052cb735967de5608124708497d618b3.tar.xz
serverdata-4ffec61b052cb735967de5608124708497d618b3.zip
Merge sailordialogue function on gulukan and adapt the dialogues with some personnal expression. (tritan NPC)
Diffstat (limited to 'npc')
-rw-r--r--npc/000-1/gulukan.txt44
1 files changed, 42 insertions, 2 deletions
diff --git a/npc/000-1/gulukan.txt b/npc/000-1/gulukan.txt
index 4b7cfd33..6fcafbf9 100644
--- a/npc/000-1/gulukan.txt
+++ b/npc/000-1/gulukan.txt
@@ -13,8 +13,48 @@
setq ShipQuests_Gulukan, 1;
// And here too.
-l_CallFunc:
- callfunc "SailorFood";
+ mesn;
+
+ set @q, rand(0,400)/100;
+ if (@q == 0) goto l_RandomA;
+ if (@q == 1) goto l_RandomB;
+ if (@q > 1) goto l_RandomC;
+
+l_RandomA:
+ mesq l("Hey.");
+ next;
+ mesq l("What does Gugli yayaid about the box? Was it ok?");
+ next;
+
+ menu
+ l("It's ok."), l_Fine,
+ l("He needs more food."), -;
+
+ mes "";
+ mesn;
+ mesq l("Yeye is sure? I'll yaye some more foods on the next box then.");
+
+ close;
+
+l_Fine:
+ mes "";
+ mesn;
+ mesq l("It's alright! Yeye one more box and it'll be ok.");
+
+ close;
+
+l_RandomB:
+ mesq l("Thanks for the help!");
+ next;
+ mesq l("These yeye box are way too yeavy to be brought alone to the ship.");
+
+ close;
+
+l_RandomC:
+ mesq l("I think that yeye's soon done, yeye'll soon got a box full of @@s!", getitemlink("CrocClaw"));
+ next;
+ mesq l("And you? How's it yaying on your side?");
+ next;
menu
rif(getq(ShipQuests_Gulukan) == 1, l("I'm still busy, I need to find the other sailors.")), -,