Hi.
I am making a game to sell fished fish.
The price changes depending on the random size of the fish caught.
The formula is
The basic price of the fish * It is size (0.1 to 3.0).
I tried this from a script or [Shop] - [Sell price modifier], but it does not work.
Is this possible?
Could you tell me how to do it?
[Add fish's script]
var addItem = new ItemShortcut(fishId, 1);
addItem.Variables.Set("FishSize",fishSize);
//var newSellPrice = Mathf.FloorToInt(addItem.BuyPrice * fishSize);
ORK.Game.ActiveGroup.Leader.Inventory.Add (addItem,true,true,true);
[Trying screen shot Sell price modifier]
https://www.evernote.com/l/AAPSgDL_8QpBz4Mm3zR9UBCE70kNbLyg3Mo
I'll look into it.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Did it come to be able to do with Ver.2.15.0?
Or can not you do it now?
I tried sell price with Fomula, but I do not know how to build a node.
■iOS
https://itunes.apple.com/us/app/id679133055
■Android
https://play.google.com/store/apps/details?id=com.WabiPlant.SAMURAI100SlashLite
New ORK Battle Game
■iOS
https://itunes.apple.com/jp/app/id1403510381
■Android
https://play.google.com/store/apps/details?id=com.Company.AgentFight
I resolved this price settings.
thank you changing sell price to float for 2.15.0!
setting screen shot
https://www.evernote.com/l/AAPSgDL_8QpBz4Mm3zR9UBCE70kNbLyg3Mo
■iOS
https://itunes.apple.com/us/app/id679133055
■Android
https://play.google.com/store/apps/details?id=com.WabiPlant.SAMURAI100SlashLite
New ORK Battle Game
■iOS
https://itunes.apple.com/jp/app/id1403510381
■Android
https://play.google.com/store/apps/details?id=com.Company.AgentFight
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!