This should be available in OXCE 7.12.6
extended:
scripts:
sellCostItem:
- offset: 12
code: |
var ptr Time t;
geoscape_game.getTime t;
t.getDaysPastEpoch cost_current;
mod cost_current 100;
add cost_current 100;
return cost_current;
This is very dumb version that set all items cost to values from 100 to 200 based on current day.
Thanks. Is it possible to define the price reduction effect, for only a specific list of items (defined via strings in the script), and sell price reduction is then handled depending on difficultylevel, via a defined percentage?
Is there any description or help in regard of scripting parameters and valid syntax??