description
featuredFeel free to take the code and use it for your own modding adventures, as I am currently inactive and probably will be for a long time.
Shows best prices for everything you can sell and the selling point for that price if you have those in your silo, train silo or tippers.
Press Left-Shift-t (default) to display.
Press Left-Shift-z (default) to change the display location.
Text is green if price is still going up.
Key binds can be changed in option menu->controlls, under "Price Watch:*".
Version 2 changes:
better data structure for mainly myself (to ease things)
text size now from ingame values, should help with different resolutions
now included every shop and everything that you can possibly sell (should work with modded fruits/maps/shops no problem)
added the train silos, trains and trailers to check if we have stuff
unfortunately this means if you have potatoe/etc in pallets/heaps price won't show up (for now)
you can change position of display with left-shift-z (will add more (aiming for the 8 possible corner), but currently there is 5 option)
also if you have sheep, wool price will be shown
Credits
Script: Sabzi
-
29 Nov 18:43Version 2.2
fixed every error reported and then some
added proper text for filltype names - thanks Alex30rus!
I used google translate for the german names, so if they are wrong, apologies
changed icon to .dds - thanks Alex30rus!
added remaining display positions -
25 Nov 12:12Version 2.1
Fixed prices not updating.
-
24 Nov 22:30Version 2.0
8 Comments for Price Watch
Silage too please? Always the one I miss because you have to scroll over to it in the menu.
Dosent work on the Sosnovska map for me.
Feature Request for next Version:
Save the highest ever price per fruittype. Even better when the script ignores greatDemands.
Or as an alternative save the price per fruittype, when I've last sold this fruittype.
Something that gives you a bit of orientation which price is good enough.
got this error when starting game
Warning (performance): Texture C:/Users/AceOfSpades/Documents/My Games/FarmingSimulator2017/mods/pricewatch_v2_1/priceicon.png raw format.
the _v2_1 is what I changed name to because of the decimal issue.
The zip name is different than previous, so some people may not catch that and end up with two versions of this mod in mod folder. You should probably keep the file name always the same and put version numbers inside on a txt file, imho. In addition the new name has a decimal in it , causing giants engine to not load it. So anyone downloading this needs to remove old version and rename this version in order for it to work.
Thanks for your mod though, I use it all the time.
It was still possible to make the text type "grass_windrow" in the form of "Grass" in modDesc.xml <l10n><text name="grass_windrow"> <en> Dry grass </en><de> Trockenes Gras </de><ru> ???? </ru></text></l10n>
hi. can add (quantity silo fruits * best price) ? so you can see in real time how much you can earn by selling. With this change becomes a super mod.
thanks so much
v 2.1
Error: Running LUA method 'update'.
D:/Documents/My Games/FarmingSimulator2017/mods/FS17_pricewatch/pricewatch.lua:189: attempt to index a nil value