Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/localisation/en-US/alice.csv
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 +1516,7 @@ demand;Demand
supply_demand_ratio;Supply-demand ratio
balance;Balance
market_stockpiles;In stock
national_stockpile;Government Stockpile
national_stockpile;Stockpile
government_need;Government procurement
factory_need;Factory inputs
pop_need;Population needs
Expand Down
6 changes: 2 additions & 4 deletions src/economy/economy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5415,11 +5415,9 @@ void try_add_factory_to_state(sys::state& state, dcon::state_instance_id s, dcon
return; // can't build another of this type
}

auto urbanisation = state.world.province_get_advanced_province_building_max_private_size(province, advanced_province_buildings::list::local_cities_and_towns);
// do not limit it here because it feels bad to get factory reward from event not appearing at all

if(num_factories < int32_t(state.defines.factories_per_state * urbanisation / economy::factories_per_state_required_city_size)) {
add_factory_level_to_province(state, province, t);
}
add_factory_level_to_province(state, province, t);
}

command::budget_settings_data budget_minimums(sys::state& state, dcon::nation_id n) {
Expand Down
Loading