In your code you use compliance check of two parameters: pricepoint from EconPriceScale.xml, and quantity from EconomyData.xml. and then set price with coefficient pricechange....
so that makes the problem that iron have the same price scaling like platina.
The way to change it i have a dicision. But im realy lost in your code, and afraid to break it.
You need to make a new xml with Stock prices and quantity, and then make coefficient ( Kq in exmp)
Kq = (quantity(market) / quantity(stock) ) 1000
so you do not need to change anything in EconPriceScale.xml
and make check if the Kq >= (<=) pricepoint then price=price ..........
In your code you use compliance check of two parameters: pricepoint from EconPriceScale.xml, and quantity from EconomyData.xml. and then set price with coefficient pricechange.... so that makes the problem that iron have the same price scaling like platina. The way to change it i have a dicision. But im realy lost in your code, and afraid to break it. You need to make a new xml with Stock prices and quantity, and then make coefficient ( Kq in exmp) Kq = (quantity(market) / quantity(stock) ) 1000 so you do not need to change anything in EconPriceScale.xml and make check if the Kq >= (<=) pricepoint then price=price ..........