jhaagsma / ee_npc

Earth Empires Non-Player-Country Project!
6 stars 7 forks source link

Update farmer_strat.php #36

Closed jobbish-sql closed 3 years ago

jobbish-sql commented 3 years ago

On the AI server, there's still cheap food getting sent to the market when bushel prices are high. This line:

$food_public_price = min($server_base_pm_bushel_sell_price + 7, PublicMarket::price('m_bu'));

should be

$food_public_price = max($server_base_pm_bushel_sell_price + 7, PublicMarket::price('m_bu'));