-stranded 2
-time
2.First create new text file and name it "shop" (with no "")
3.Edit the text and write this:
page=start
title=My title
text=start
My text
text=end
button=wherego,button text.
button=action,Close !
page=wherego
title=trading title
### Hempleaf -> Cookie ///This is optional
trade=start
sell=83,5 ///What we give ( we must give item id !)
buy=66,1 ///What we obtain (itemid,amount items )
trade=end
/// We sell 5 hempleafs for 1 cookie
button=action,Close
4.Place this txt file in mods\Stranded II\sys\scripts
5.Open Stranded 2
6.Go to editor
7.Create new unit chieftain
8.Click on him
9.Write this script :
on:start {
ai_stay "self";
}
on:use {
dialogue "start","sys\scripts\shop.txt";
}
10.Save or click F12 to test map
Enjoy !