[DialogNode] ID=merchant1;
animations=;
statements=<font=scuri>Goy,<font=bigGeneric> anything you need?;

[DialogOption] text=Buy;
nodeToConnectTo=merchant_buy;
[DialogOption] text=Goodbye;
nodeToConnectTo=merchant_bye;
bottomOption=true;

----

[DialogNode] ID=merchant_buy;
animations=happy;
statements=Take a look!;
specialEffect=enterBuyMode;
[DialogOption] text=Goodbye;
nodeToConnectTo=merchant_bye;
bottomOption=true;

[DialogNode] ID=merchant_sell;
animations=;
statements=What have you got?;
specialEffect=enterSellMode;
[DialogOption] text=Buy;
nodeToConnectTo=merchant_buy;
[DialogOption] text=Goodbye;
nodeToConnectTo=merchant_bye;
bottomOption=true;


----
[DialogNode] ID=merchant_lostAlly;
nextNodeID=merchant_returnAlly;

animations=;
animations=;
animations=sigh;
animations=scared;
animations=chargePose;
statements=So you got separated? I can reunite you and your friends.;
statements=This only works because your friends are willing... magic can be strange that way. So, give me a moment...;
statements=...;
statements=... ...;
statements=...!!;

[DialogNode] ID=merchant_returnAlly;
nextNodeID=merchant1;

animations=spellcast;
animations=happy;
statements=!;
statements=There we go! All together and safe.;
specialEffect=returnMissingPartyMembers;

----
[DialogNode] ID=merchant_bye;
animations=happy;
statements=<font=scuri>Gowdby<font=bigGeneric>, farewell!;
nextNodeID=;

----
[DialogNode] ID=merchant_info;
animations=;
statements=What would you like to know about?;

[DialogOption] text=Tips & tricks;
nodeToConnectTo=merchant_info_tips;
[DialogOption] text=People;
newLineOfOptions=true;
nodeToConnectTo=merchant_info_people;
[DialogOption] text=Where to go next;
formulaReq=1-g:shipReady - g:sawGiven;
newLineOfOptions=true;
nodeToConnectTo=merchant_info_hint;
[DialogOption] text=Where to go next;
formulaReq=g:sawGiven;
newLineOfOptions=true;
nodeToConnectTo=merchant_info_hint_shipwheel;

[DialogOption] text=Back;
nodeToConnectTo=merchant1;
bottomOption=true;

----
[DialogNode] ID=merchant_info_tips;
animations=;
statements=What would you like some tips about?;

[DialogOption] text=General tips;
newLineOfOptions=true;
nodeToConnectTo=merchant_info_general_tips;
[DialogOption] text=Combat;
newLineOfOptions=true;
nodeToConnectTo=merchant_info_combat;
[DialogOption] text=Classes;
newLineOfOptions=true;
nodeToConnectTo=merchant_info_class;
[DialogOption] text=Crafting;
newLineOfOptions=true;
nodeToConnectTo=merchant_info_crafting;

[DialogOption] text=Back;
nodeToConnectTo=merchant_info;
bottomOption=true;

----
[DialogNode] ID=merchant_info_general_tips;
nextNodeID=merchant_info_tips;

animations=;
animations=happy;
animations=;
animations=sigh;
animations=;
statements=The most important thing is: don't forget to spend your <color=Gold>XP<color=White>! You won't get stronger otherwise.;
statements=Learning <color=Gold>Abilities<color=White> is essential. Some of them can help you travel too!;
statements=For example, you can freeze water with ice magic to walk on it. Or burn wood that's in your way with fire.;
statements=If you see something confusing, try <color=Gold>Look<color=White>ing at it. You might learn important secrets.;
statements=And if you want a refresher on the basics, there's a Help section in your <color=Gold>Journal<color=White>.;

----
[DialogNode] ID=merchant_info_combat;
nextNodeID=merchant_info_tips;

animations=;
animations=angry;
animations=sigh;
animations=happy;
statements=Make sure you're skilled with the weapon you equip - it makes a big difference. Your skills get bonuses based on what <color=Gold>Class<color=White> you are.;
statements=It's very important to cover your back. Attacks from behind are much more accurate.;
statements=Try not to get knocked out too often - it lowers your Max Health. But don't worry, you can always rest to fix that.;
statements=And remember, if it's too hard or too easy, you can always try a new difficulty setting!;

----
[DialogNode] ID=merchant_info_class;
nextNodeID=merchant_info_tips;

animations=;
animations=happy;
animations=;
animations=;
statements=Your current <color=Gold>Class<color=White> gives you stat bonuses and determines what <color=Gold>Abilities<color=White> you can use.;
statements=<color=Gold>XP<color=White> you gain can only be spent on the Abilities and Passives of your current Class.;
statements=<color=Gold>Stars *<color=White> you gain are spent on improving your Stats. Every 200 XP you gain gets you a new *.;
statements=And don't forget to equip a secondary Class to use a second set of skills! ...your secondary Class doesn't affect Stats or XP though.;


----
[DialogNode] ID=merchant_info_crafting;
nextNodeID=merchant_info_tips;

animations=;
animations=happy;
animations=;
statements=Some items can be combined into something new. To combine them, drag one onto the other.;
statements=Shears on cloth makes Bandages, for example. And a Bottle on a Keg fills it with beer.;
statements=You can also find Kits that will let you craft weapons and armor out of basic materials, like Iron or Bone.;

----
[DialogNode] ID=merchant_info_hint;
nextNodeID=merchant_info;

animations=happy;
animations=;
statements=Keep exploring!;
statements=You might find someone who can help you. The only way to find out is to keep looking for new locations.;

[DialogNode] ID=merchant_info_hint_shipwheel;
nextNodeID=merchant_info;

animations=;
animations=;
statements=You're looking for a Ship's Wheel?;
statements=I believe there was one above this cathedral. If you head east, you should find one eventually.;



---
[DialogNode] ID=merchant_info_people;
animations=;
statements=Who would you like to hear about?;

[DialogOption] text=Celia;
nodeToConnectTo=merchant_info_people_celia;
[DialogOption] text=Ekrast;
newLineOfOptions=true;
formulaReq=g:metEkrast;
nodeToConnectTo=merchant_info_people_ekrast;
[DialogOption] text=Liss;
newLineOfOptions=true;
formulaReq=g:metLiss;
nodeToConnectTo=merchant_info_people_liss;
[DialogOption] text=Morin;
newLineOfOptions=true;
nodeToConnectTo=merchant_info_people_morin;

[DialogOption] text=Back;
nodeToConnectTo=merchant_info;
bottomOption=true;

---
[DialogNode] ID=merchant_info_people_celia;
nextNodeID=merchant_info_people;

animations=;
animations=;
animations=sigh;
statements=So that is the name of the red ones' leader?;
statements=I've seen the red mercenaries many times. They seem to have very thorough knowledge of this place.;
statements=I suspect they work for the stealer of realms. They are very well equipped, but always refuse my offers to trade.;

--
[DialogNode] ID=merchant_info_people_liss;
nextNodeID=merchant_info_people;

animations=;
animations=;
animations=happy;
statements=I've passed by that building many times.;
statements=I once tried to trade with her, but she was too scared to talk to me.;
statements=Maybe I'll try again now that she is willing to make friends.;


---
[DialogNode] ID=merchant_info_people_ekrast;
nextNodeID=merchant_info_people;

animations=scared;
animations=angry;
animations=sigh;
animations=;
animations=;
animations=sigh;
statements=You met him?;
statements=He must be the one responsible for all this. There's no doubt.;
statements=I have actually heard the name Ekrast before... Before I came here, that is.;
statements=Back in Seartial, he was a respected mage and researcher working for the Council (that is the government of Seartial).;
statements=Two month ago, he was branded as a traitor by the Council. They said he committed treason and stole government property. ...that was all they said.;
statements=That's all I know, as I was stolen to this place not long after.;


---
[DialogNode] ID=merchant_info_people_morin;
nextNodeID=merchant_info_people;

animations=happy;
animations=;
animations=happy;
statements=Oh, I'm no one important.;
statements=I just like to trade and travel, that's all.; 
statements=Anytime you need a good deal, I'm here!;


---
[DialogNode] ID=merchant0;
animations=;
animations=sigh;
animations=happy;
statements=<font=scuri>Goy<font=bigGeneric>!<p=2> My name is Morin - a traveling merchant.;
statements=I heard that you found an interesting place...<p=2> dangerous, too.;
statements=You could use my services,<p=> I'm sure!;
specialEffect=incDefaultNode;

[DialogOption] text=Buy;
nodeToConnectTo=merchant_buy;
[DialogOption] text=Goodbye;
nodeToConnectTo=merchant_bye;
bottomOption=true;