3#include "dcon_generated.hpp"
uint32_t get_remapped_flag_type(sys::state const &state, flag_type type)
void discover_inventions(sys::state &state)
void apply_invention(sys::state &state, dcon::nation_id target_nation, dcon::invention_id i_id)
float effective_technology_cost(sys::state &state, uint32_t current_year, dcon::nation_id target_nation, dcon::technology_id tech_id)
void fix_slaves_in_province(sys::state &state, dcon::nation_id owner, dcon::province_id p)
void replace_cores(sys::state &state, dcon::national_identity_id old_tag, dcon::national_identity_id new_tag)
void clear_existing_tech_effects(sys::state &state)
void repopulate_technology_effects(sys::state &state)
void update_all_nations_issue_rules(sys::state &state)
void set_default_issue_and_reform_options(sys::state &state)
void remove_invention(sys::state &state, dcon::nation_id target_nation, dcon::invention_id i_id)
void repopulate_invention_effects(sys::state &state)
void update_research(sys::state &state, uint32_t current_year)
flag_type get_current_flag_type(sys::state const &state, dcon::nation_id target_nation)
void restore_unsaved_values(sys::state &state)
void remove_technology(sys::state &state, dcon::nation_id target_nation, dcon::technology_id t_id)
void create_initial_ideology_and_issues_distribution(sys::state &state)
constexpr uint64_t to_bits(dcon::ideology_id id)
void apply_technology(sys::state &state, dcon::nation_id target_nation, dcon::technology_id t_id)
std::string get_tech_category_name(tech_category t)
void update_nation_issue_rules(sys::state &state, dcon::nation_id n_id)
constexpr uint32_t pop_open_factory_invest
constexpr uint32_t pop_expand_factory_invest
constexpr uint32_t open_factory_invest
constexpr uint32_t pop_open_factory
constexpr uint32_t build_railway
constexpr uint32_t pop_build_factory_invest
constexpr uint32_t open_factory
constexpr uint32_t same_as_ruling_party
constexpr uint32_t state_vote
constexpr uint32_t can_invest_in_pop_projects
constexpr uint32_t build_factory
constexpr uint32_t build_railway_invest
constexpr uint32_t can_subsidise
constexpr uint32_t pop_expand_factory
constexpr uint32_t delete_factory_if_no_input
constexpr uint32_t culture_voting
constexpr uint32_t destroy_factory
constexpr uint32_t slavery_allowed
constexpr uint32_t build_bank
constexpr uint32_t rich_only
constexpr uint32_t build_university
constexpr uint32_t all_voting
constexpr uint32_t allow_foreign_investment
constexpr uint32_t pop_build_factory
constexpr uint32_t largest_share
constexpr uint32_t primary_culture_voting
constexpr uint32_t build_factory_invest
constexpr uint32_t factory_priority
constexpr uint32_t sainte_laque
constexpr uint32_t expand_factory_invest
constexpr uint32_t population_vote
constexpr uint32_t expand_factory
dcon::trigger_key trigger
dcon::modifier_id modifier
bool available_by_default
uint64_t promotion_chance_fn
std::vector< dcon::issue_id > political_issues
uint64_t emigration_chance_fn
dcon::value_modifier_key conversion_chance
uint64_t colonialmigration_chance_fn
std::vector< dcon::reform_id > military_issues
dcon::pop_type_id farmers
dcon::value_modifier_key migration_chance
dcon::value_modifier_key colonialmigration_chance
std::vector< dcon::pop_type_id > rgo_workers
tagged_vector< crime_info, dcon::crime_id > crimes
dcon::value_modifier_key demotion_chance
std::vector< dcon::reform_id > economic_issues
dcon::pop_type_id secondary_factory_worker
int32_t officer_leadership_points
uint64_t assimilation_chance_fn
dcon::pop_type_id bureaucrat
dcon::pop_type_id artisans
std::vector< folder_info > tech_folders
std::vector< dcon::issue_id > party_issues
std::vector< dcon::issue_id > social_issues
float bureaucrat_tax_efficiency
dcon::pop_type_id soldiers
dcon::pop_type_id primary_factory_worker
uint64_t conversion_chance_fn
dcon::value_modifier_key assimilation_chance
dcon::pop_type_id officers
dcon::pop_type_id aristocrat
uint64_t demotion_chance_fn
dcon::issue_option_id jingoism
dcon::pop_type_id capitalists
dcon::ideology_id conservative
dcon::value_modifier_key promotion_chance
dcon::pop_type_id laborers
uint64_t migration_chance_fn
dcon::value_modifier_key emigration_chance