10#include "unordered_dense.h"
37 ankerl::unordered_dense::map<std::string, dcon::gfx_object_id>
map_of_names;
68 std::optional<int32_t>
size;
231 std::vector<scripted_children>
sc;
277 dcon::ideology_id
id;
281 dcon::issue_option_id
id;
285 dcon::reform_option_id
id;
301 dcon::rebel_type_id
id;
309 dcon::modifier_id
id;
314 dcon::technology_id
id;
318 dcon::invention_id
id;
322 dcon::national_event_id
id;
345 dcon::stored_trigger_id
id;
352 dcon::provincial_event_id
id;
396 ankerl::unordered_dense::map<std::string, pending_crime_content>
map_of_crimes;
468 dcon::religion_id
id;
478void make_religion(std::string_view name, token_generator& gen, error_handler& err, scenario_building_context& context);
500 dcon::culture_group_id
id;
545 dcon::commodity_id
id;
570#define MOD_PROV_FUNCTION(X) \
571 template<typename T> \
572 void X(association_type, float v, error_handler& err, int32_t line, T& context) { \
573 if(v == 0.0f) return; \
574 if(next_to_add_p >= sys::provincial_modifier_definition::modifier_definition_size) { \
575 err.accumulated_errors += "Too many modifier values; " + err.file_name + " line " + std::to_string(line) + "\n"; \
577 constructed_definition_p.offsets[next_to_add_p] = sys::provincial_mod_offsets::X; \
578 constructed_definition_p.values[next_to_add_p] = v; \
582#define MOD_NAT_FUNCTION(X) \
583 template<typename T> \
584 void X(association_type, float v, error_handler& err, int32_t line, T& context) { \
585 if(v == 0.0f) return; \
586 if(next_to_add_n >= sys::national_modifier_definition::modifier_definition_size) { \
587 err.accumulated_errors += "Too many modifier values; " + err.file_name + " line " + std::to_string(line) + "\n"; \
589 constructed_definition_n.offsets[next_to_add_n] = sys::national_mod_offsets::X; \
590 constructed_definition_n.values[next_to_add_n] = v; \
628 if(v == 0.0f)
return;
669 if(v == 0.0f)
return;
712 if(v == 0.0f)
return;
741 if(v == 0.0f)
return;
770 if(v == 0.0f)
return;
781 if(v == 0.0f)
return;
792 if(v == 0.0f)
return;
844 if(v == 0.0f)
return;
858 land_unit_start_experience(type, v, err, line, context);
859 naval_unit_start_experience(type, v, err, line, context);
882 temp.offsets[temp_next] = sys::national_mod_offsets::poor_life_needs;
888 temp.offsets[temp_next] = sys::national_mod_offsets::middle_life_needs;
894 temp.offsets[temp_next] = sys::national_mod_offsets::rich_life_needs;
900 temp.offsets[temp_next] = sys::national_mod_offsets::poor_everyday_needs;
906 temp.offsets[temp_next] = sys::national_mod_offsets::middle_everyday_needs;
912 temp.offsets[temp_next] = sys::national_mod_offsets::rich_everyday_needs;
918 temp.offsets[temp_next] = sys::national_mod_offsets::poor_luxury_needs;
924 temp.offsets[temp_next] = sys::national_mod_offsets::middle_luxury_needs;
930 temp.offsets[temp_next] = sys::national_mod_offsets::rich_luxury_needs;
936 temp.offsets[temp_next] = sys::national_mod_offsets::goods_demand;
942 temp.offsets[temp_next] = sys::national_mod_offsets::farm_rgo_eff;
948 temp.offsets[temp_next] = sys::national_mod_offsets::mine_rgo_eff;
954 temp.offsets[temp_next] = sys::national_mod_offsets::farm_rgo_size;
960 temp.offsets[temp_next] = sys::national_mod_offsets::mine_rgo_size;
966 temp.offsets[temp_next] = sys::national_mod_offsets::rich_income_modifier;
972 temp.offsets[temp_next] = sys::national_mod_offsets::middle_income_modifier;
978 temp.offsets[temp_next] = sys::national_mod_offsets::poor_income_modifier;
984 temp.offsets[temp_next] = sys::national_mod_offsets::combat_width;
990 temp.offsets[temp_next] = sys::national_mod_offsets::global_assimilation_rate;
996 temp.offsets[temp_next] = sys::national_mod_offsets::global_pop_militancy_modifier;
1002 temp.offsets[temp_next] = sys::national_mod_offsets::global_pop_consciousness_modifier;
1008 temp.offsets[temp_next] = sys::national_mod_offsets::supply_limit;
1014 temp.offsets[temp_next] = sys::national_mod_offsets::global_conversion_rate;
1024#undef MOD_PROV_FUNCTION
1025#undef MOD_NAT_FUNCTION
1029 template<
typename T>
1033 template<
typename T>
1046 "Unknown commodity " + std::string(name) +
" in file " + err.
file_name +
" line " + std::to_string(line) +
"\n";
1078 dcon::ideology_group_id
id;
1088void register_ideology(std::string_view name, token_generator& gen, error_handler& err, ideology_group_context& context);
1121void make_issues_group(std::string_view name, token_generator& gen, error_handler& err, scenario_building_context& context);
1122void make_issue(std::string_view name, token_generator& gen, error_handler& err, issue_group_context& context);
1123void register_option(std::string_view name, token_generator& gen, error_handler& err, issue_context& context);
1124void register_option(std::string_view name, token_generator& gen, error_handler& err, reform_context& context);
1128 dcon::government_type_id
id;
1145void make_government(std::string_view name, token_generator& gen, error_handler& err, scenario_building_context& context);
1152void register_cb_type(std::string_view name, token_generator& gen, error_handler& err, scenario_building_context& context);
1161 dcon::leader_trait_id
id;
1184void make_trait(std::string_view name, token_generator& gen, error_handler& err, scenario_building_context& context);
1185void personality_traits_set(token_generator& gen, error_handler& err, scenario_building_context& context);
1186void background_traits_set(token_generator& gen, error_handler& err, scenario_building_context& context);
1188void register_crime(std::string_view name, token_generator& gen, error_handler& err, scenario_building_context& context);
1210void register_trigger(token_generator& gen, error_handler& err, triggered_modifier_context& context);
1211void make_triggered_modifier(std::string_view name, token_generator& gen, error_handler& err, scenario_building_context& context);
1213void make_national_value(std::string_view name, token_generator& gen, error_handler& err, scenario_building_context& context);
1219void m_very_easy_player(token_generator& gen, error_handler& err, scenario_building_context& context);
1220void m_easy_player(token_generator& gen, error_handler& err, scenario_building_context& context);
1221void m_hard_player(token_generator& gen, error_handler& err, scenario_building_context& context);
1222void m_very_hard_player(token_generator& gen, error_handler& err, scenario_building_context& context);
1223void m_very_easy_ai(token_generator& gen, error_handler& err, scenario_building_context& context);
1224void m_easy_ai(token_generator& gen, error_handler& err, scenario_building_context& context);
1225void m_hard_ai(token_generator& gen, error_handler& err, scenario_building_context& context);
1226void m_very_hard_ai(token_generator& gen, error_handler& err, scenario_building_context& context);
1227void m_overseas(token_generator& gen, error_handler& err, scenario_building_context& context);
1228void m_coastal(token_generator& gen, error_handler& err, scenario_building_context& context);
1229void m_non_coastal(token_generator& gen, error_handler& err, scenario_building_context& context);
1230void m_coastal_sea(token_generator& gen, error_handler& err, scenario_building_context& context);
1231void m_sea_zone(token_generator& gen, error_handler& err, scenario_building_context& context);
1232void m_land_province(token_generator& gen, error_handler& err, scenario_building_context& context);
1233void m_blockaded(token_generator& gen, error_handler& err, scenario_building_context& context);
1235void m_core(token_generator& gen, error_handler& err, scenario_building_context& context);
1236void m_has_siege(token_generator& gen, error_handler& err, scenario_building_context& context);
1237void m_occupied(token_generator& gen, error_handler& err, scenario_building_context& context);
1238void m_nationalism(token_generator& gen, error_handler& err, scenario_building_context& context);
1239void m_infrastructure(token_generator& gen, error_handler& err, scenario_building_context& context);
1240void m_base_values(token_generator& gen, error_handler& err, scenario_building_context& context);
1241void m_war(token_generator& gen, error_handler& err, scenario_building_context& context);
1242void m_peace(token_generator& gen, error_handler& err, scenario_building_context& context);
1243void m_disarming(token_generator& gen, error_handler& err, scenario_building_context& context);
1244void m_war_exhaustion(token_generator& gen, error_handler& err, scenario_building_context& context);
1245void m_badboy(token_generator& gen, error_handler& err, scenario_building_context& context);
1246void m_debt_default_to(token_generator& gen, error_handler& err, scenario_building_context& context);
1247void m_bad_debter(token_generator& gen, error_handler& err, scenario_building_context& context);
1248void m_great_power(token_generator& gen, error_handler& err, scenario_building_context& context);
1249void m_second_power(token_generator& gen, error_handler& err, scenario_building_context& context);
1250void m_civ_nation(token_generator& gen, error_handler& err, scenario_building_context& context);
1251void m_unciv_nation(token_generator& gen, error_handler& err, scenario_building_context& context);
1252void m_average_literacy(token_generator& gen, error_handler& err, scenario_building_context& context);
1253void m_plurality(token_generator& gen, error_handler& err, scenario_building_context& context);
1255void m_total_occupation(token_generator& gen, error_handler& err, scenario_building_context& context);
1256void m_total_blockaded(token_generator& gen, error_handler& err, scenario_building_context& context);
1257void m_in_bankrupcy(token_generator& gen, error_handler& err, scenario_building_context& context);
1263void make_event_modifier(std::string_view name, token_generator& gen, error_handler& err, scenario_building_context& context);
1269void register_rebel_type(std::string_view name, token_generator& gen, error_handler& err, scenario_building_context& context);
1316void make_terrain_modifier(std::string_view name, token_generator& gen, error_handler& err, scenario_building_context& context);
1332void make_state_definition(std::string_view name, token_generator& gen, error_handler& err, scenario_building_context& context);
1355 scenario_building_context& context);
1371void make_climate_definition(std::string_view name, token_generator& gen, error_handler& err, scenario_building_context& context);
1398void make_tech_folder_list(std::string_view name, token_generator& gen, error_handler& err, scenario_building_context& context);
1399void read_school_modifier(std::string_view name, token_generator& gen, error_handler& err, scenario_building_context& context);
1400void register_technology(std::string_view name, token_generator& gen, error_handler& err, scenario_building_context& context);
1406void register_invention(std::string_view name, token_generator& gen, error_handler& err, tech_group_context& context);
1420 else if(
is_fixed_token_ci(value.data(), value.data() + value.length(),
"big_ship"))
1422 else if(
is_fixed_token_ci(value.data(), value.data() + value.length(),
"cavalry"))
1424 else if(
is_fixed_token_ci(value.data(), value.data() + value.length(),
"transport"))
1426 else if(
is_fixed_token_ci(value.data(), value.data() + value.length(),
"light_ship"))
1428 else if(
is_fixed_token_ci(value.data(), value.data() + value.length(),
"special"))
1430 else if(
is_fixed_token_ci(value.data(), value.data() + value.length(),
"infantry"))
1433 err.
accumulated_errors += std::string(value) +
" is not a valid unit type (" + err.
file_name +
" line " + std::to_string(line) +
")\n";
1439 }
else if(
is_fixed_token_ci(value.data(), value.data() + value.length(),
"naval")) {
1442 err.
accumulated_errors += std::string(value) +
" is not a valid land/naval type (" + err.
file_name +
" line " + std::to_string(line) +
")\n";
1453void make_unit(std::string_view name, token_generator& gen, error_handler& err, scenario_building_context& context);
1457 dcon::national_identity_id
id;
1462 dcon::political_party_id
id;
1466 dcon::national_identity_id
id;
1494void make_party(token_generator& gen, error_handler& err, country_file_context& context);
1495void make_unit_names_list(std::string_view name, token_generator& gen, error_handler& err, country_file_context& context);
1511 std::string(
text) +
" is not a valid ideology name (" + err.
file_name +
" line " + std::to_string(line) +
")\n";
1518 dcon::factory_type_id
id;
1525 std::string(
text) +
" is not a valid factory name (" + err.
file_name +
" line " + std::to_string(line) +
")\n";
1561void enter_dated_block(std::string_view name, token_generator& gen, error_handler& err, province_file_context& context);
1595void make_pop_province_list(std::string_view name, token_generator& gen, error_handler& err, scenario_building_context& context);
1618 if(
is_fixed_token_ci(value.data(), value.data() + value.length(),
"administration"))
1620 else if(
is_fixed_token_ci(value.data(), value.data() + value.length(),
"military"))
1622 else if(
is_fixed_token_ci(value.data(), value.data() + value.length(),
"education"))
1624 else if(
is_fixed_token_ci(value.data(), value.data() + value.length(),
"reforms"))
1628 "Invalid income type " + std::string(value) +
" (" + err.
file_name +
" line " + std::to_string(line) +
")\n";
1785 dcon::issue_option_id
id;
1790 dcon::reform_option_id
id;
1890void make_issue_vote_modifier(std::string_view name, token_generator& gen, error_handler& err, individual_option_context& context);
1891void make_issue_vote_modifier(std::string_view name, token_generator& gen, error_handler& err, individual_roption_context& context);
1924 dcon::national_focus_id
id;
1946dcon::trigger_key
make_focus_limit(token_generator& gen, error_handler& err, national_focus_context& context);
1947void make_focus(std::string_view name, token_generator& gen, error_handler& err, national_focus_context& context);
1948void make_focus_group(std::string_view name, token_generator& gen, error_handler& err, scenario_building_context& context);
1962dcon::value_modifier_key
make_poptype_pop_chance(token_generator& gen, error_handler& err, scenario_building_context& context);
1974 template<
typename T>
2277void scan_province_event(token_generator& gen, error_handler& err, scenario_building_context& context);
2278void scan_country_event(token_generator& gen, error_handler& err, scenario_building_context& context);
2298 std::array<sys::event_option, sys::max_event_options>
options;
2326dcon::trigger_key
make_event_trigger(token_generator& gen, error_handler& err, event_building_context& context);
2327dcon::effect_key
make_immediate_effect(token_generator& gen, error_handler& err, event_building_context& context);
2328dcon::value_modifier_key
make_event_mtth(token_generator& gen, error_handler& err, event_building_context& context);
2384 "Invalid leader trait " + std::string(value) +
" (" + err.
file_name +
" line " + std::to_string(line) +
")\n";
2393 "Invalid leader trait " + std::string(value) +
" (" + err.
file_name +
" line " + std::to_string(line) +
")\n";
2434oob_leader
make_army_leader(token_generator& gen, error_handler& err, oob_file_army_context& context);
2435oob_leader
make_navy_leader(token_generator& gen, error_handler& err, oob_file_navy_context& context);
2436void make_oob_relationship(std::string_view tag, token_generator& gen, error_handler& err, oob_file_context& context);
2437void make_oob_army(token_generator& gen, error_handler& err, oob_file_context& context);
2438void make_oob_navy(token_generator& gen, error_handler& err, oob_file_context& context);
2439void make_oob_regiment(token_generator& gen, error_handler& err, oob_file_army_context& context);
2440void make_oob_ship(token_generator& gen, error_handler& err, oob_file_navy_context& context);
2442struct production_type;
2446 ankerl::unordered_dense::map<std::string, production_type>
templates;
2500 "Invalid commodity name " + std::string(v) +
" (" + err.
file_name +
" line " + std::to_string(line) +
")\n";
2515 "Invalid production type " + std::string(v) +
" (" + err.
file_name +
" line " + std::to_string(line) +
")\n";
2518 if(
auto it = context.
templates.find(std::string(v)); it != context.
templates.end()) {
2522 "Invalid production template " + std::string(v) +
" (" + err.
file_name +
" line " + std::to_string(line) +
")\n";
2531void make_production_type(std::string_view name, token_generator& gen, error_handler& err, production_context& context);
2559void make_alliance(token_generator& gen, error_handler& err, scenario_building_context& context);
2560void make_vassal(token_generator& gen, error_handler& err, scenario_building_context& context);
2561void make_substate(token_generator& gen, error_handler& err, scenario_building_context& context);
2584 std::to_string(line) +
")\n";
2633 country_history_context& context);
2635struct war_history_context;
2691 template<
typename T>
2693 names.push_back(std::string(value));
2695 template<
typename T>
2713 for(
auto& s : value.names)
2803 err.
accumulated_errors +=
"Unknown news pattern " + std::string(name) +
" in file " + err.
file_name +
" line " + std::to_string(line) +
"\n";
2844struct bookmark_context;
2854 name_ = std::string(value);
2894void add_locale(
sys::state& state, std::string_view locale_name,
char const* data_start,
char const* data_end);
2901#include "parser_defs_generated.hpp"
2902#include "tutorial_parser_defs_generated.hpp"
2903#include "news_parser_defs_generated.hpp"
2904#include "gui_parser_defs_generated.hpp"
2905#include "trigger_parser_defs_generated.hpp"
2906#include "effect_parser_defs_generated.hpp"
std::string accumulated_errors
value_type & safe_get(tag_type t)
void read_pop_ideology(std::string_view name, token_generator &gen, error_handler &err, poptype_context &context)
void register_crime(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
void m_disarming(token_generator &gen, error_handler &err, scenario_building_context &context)
bool province_button_allow(token_generator &gen, error_handler &err, building_gfx_context &context)
void m_infrastructure(token_generator &gen, error_handler &err, scenario_building_context &context)
void parse_csv_pop_history_file(sys::state &state, const char *start, const char *end, error_handler &err, scenario_building_context &context)
void make_issues_group(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
void m_hard_ai(token_generator &gen, error_handler &err, scenario_building_context &context)
dcon::trigger_key cb_allowed_substates(token_generator &gen, error_handler &err, individual_cb_context &context)
commodity_array stub_commodity_array(token_generator &gen, error_handler &err, poptype_context &context)
void register_technology(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
void personality_traits_set(token_generator &gen, error_handler &err, scenario_building_context &context)
void m_land_province(token_generator &gen, error_handler &err, scenario_building_context &context)
void make_climate_definition(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
void read_map_adjacency(char const *start, char const *end, error_handler &err, scenario_building_context &context)
void read_pending_rebel_type(dcon::rebel_type_id id, token_generator &gen, error_handler &err, scenario_building_context &context)
void make_oob_relationship(std::string_view tag, token_generator &gen, error_handler &err, oob_file_context &context)
dcon::effect_key cb_on_add(token_generator &gen, error_handler &err, individual_cb_context &context)
void m_no_adjacent_controlled(token_generator &gen, error_handler &err, scenario_building_context &context)
void read_pop_issue(std::string_view name, token_generator &gen, error_handler &err, poptype_context &context)
void register_trigger(token_generator &gen, error_handler &err, triggered_modifier_context &context)
dcon::trigger_key read_triggered_modifier_condition(token_generator &gen, error_handler &err, scenario_building_context &context)
dcon::trigger_key make_inv_limit(token_generator &gen, error_handler &err, invention_context &context)
void m_badboy(token_generator &gen, error_handler &err, scenario_building_context &context)
dcon::effect_key cb_on_po_accepted(token_generator &gen, error_handler &err, individual_cb_context &context)
dcon::trigger_key cb_allowed_states(token_generator &gen, error_handler &err, individual_cb_context &context)
dcon::value_modifier_key make_reb_will_rise(token_generator &gen, error_handler &err, rebel_context &context)
std::string lowercase_str(std::string_view sv)
void m_total_occupation(token_generator &gen, error_handler &err, scenario_building_context &context)
oob_leader make_army_leader(token_generator &gen, error_handler &err, oob_file_army_context &context)
void m_civ_nation(token_generator &gen, error_handler &err, scenario_building_context &context)
void register_ideology(std::string_view name, token_generator &gen, error_handler &err, ideology_group_context &context)
void make_alliance(token_generator &gen, error_handler &err, scenario_building_context &context)
void make_goods_group(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
void read_c_migration_target(token_generator &gen, error_handler &err, poptype_context &context)
void make_unit_names_list(std::string_view name, token_generator &gen, error_handler &err, country_file_context &context)
void m_base_values(token_generator &gen, error_handler &err, scenario_building_context &context)
void m_has_siege(token_generator &gen, error_handler &err, scenario_building_context &context)
dcon::value_modifier_key ideology_condition(token_generator &gen, error_handler &err, individual_ideology_context &context)
void parse_csv_province_history_file(sys::state &state, const char *start, const char *end, error_handler &err, scenario_building_context &context)
void scan_province_event(token_generator &gen, error_handler &err, scenario_building_context &context)
dcon::trigger_key make_production_bonus_trigger(token_generator &gen, error_handler &err, production_context &context)
void make_triggered_modifier(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
void make_oob_ship(token_generator &gen, error_handler &err, oob_file_navy_context &context)
void m_second_power(token_generator &gen, error_handler &err, scenario_building_context &context)
void m_non_coastal(token_generator &gen, error_handler &err, scenario_building_context &context)
void register_invention(std::string_view name, token_generator &gen, error_handler &err, tech_group_context &context)
void m_easy_ai(token_generator &gen, error_handler &err, scenario_building_context &context)
dcon::trigger_key make_event_trigger(token_generator &gen, error_handler &err, event_building_context &context)
void read_pending_technology(dcon::technology_id id, token_generator &gen, error_handler &err, scenario_building_context &context)
void enter_war_dated_block(std::string_view label, token_generator &gen, error_handler &err, war_history_context &context)
void make_religion(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
bool province_button_effect(token_generator &gen, error_handler &err, building_gfx_context &context)
void make_opt_allow(token_generator &gen, error_handler &err, individual_option_context &context)
void commit_pending_events(error_handler &err, scenario_building_context &context)
oob_leader make_navy_leader(token_generator &gen, error_handler &err, oob_file_navy_context &context)
void m_easy_player(token_generator &gen, error_handler &err, scenario_building_context &context)
void m_overseas(token_generator &gen, error_handler &err, scenario_building_context &context)
dcon::trigger_key make_reb_enforced_trigger(token_generator &gen, error_handler &err, rebel_context &context)
dcon::trigger_key make_reb_s_won_trigger(token_generator &gen, error_handler &err, rebel_context &context)
dcon::trigger_key cb_can_use(token_generator &gen, error_handler &err, individual_cb_context &context)
dcon::effect_key make_reb_s_won_effect(token_generator &gen, error_handler &err, rebel_context &context)
void register_option(std::string_view name, token_generator &gen, error_handler &err, issue_context &context)
void make_event_modifier(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
dcon::trigger_key make_focus_limit(token_generator &gen, error_handler &err, national_focus_context &context)
void make_oob_navy(token_generator &gen, error_handler &err, oob_file_context &context)
dcon::value_modifier_key make_poptype_pop_chance(token_generator &gen, error_handler &err, scenario_building_context &context)
void make_issue(std::string_view name, token_generator &gen, error_handler &err, issue_group_context &context)
void make_trait(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
void make_oob_regiment(token_generator &gen, error_handler &err, oob_file_army_context &context)
dcon::effect_key make_decision_effect(token_generator &gen, error_handler &err, decision_context &context)
void enter_country_file_dated_block(std::string_view label, token_generator &gen, error_handler &err, country_history_context &context)
void read_pending_reform(dcon::reform_option_id id, token_generator &gen, error_handler &err, scenario_building_context &context)
dcon::value_modifier_key make_ai_chance(token_generator &gen, error_handler &err, tech_context &context)
void m_coastal_sea(token_generator &gen, error_handler &err, scenario_building_context &context)
void make_good(std::string_view name, token_generator &gen, error_handler &err, good_group_context &context)
void make_focus_group(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
void read_pending_invention(dcon::invention_id id, token_generator &gen, error_handler &err, scenario_building_context &context)
dcon::value_modifier_key make_event_mtth(token_generator &gen, error_handler &err, event_building_context &context)
void read_migration_target(token_generator &gen, error_handler &err, poptype_context &context)
void make_oob_army(token_generator &gen, error_handler &err, oob_file_context &context)
void m_peace(token_generator &gen, error_handler &err, scenario_building_context &context)
void read_pending_option(dcon::issue_option_id id, token_generator &gen, error_handler &err, scenario_building_context &context)
void make_issue_vote_modifier(std::string_view name, token_generator &gen, error_handler &err, individual_option_context &context)
dcon::value_modifier_key make_reb_movement_eval(token_generator &gen, error_handler &err, rebel_context &context)
void background_traits_set(token_generator &gen, error_handler &err, scenario_building_context &context)
void scan_country_event(token_generator &gen, error_handler &err, scenario_building_context &context)
void read_pending_crime(dcon::crime_id id, token_generator &gen, error_handler &err, scenario_building_context &context)
void m_very_easy_ai(token_generator &gen, error_handler &err, scenario_building_context &context)
void make_party(token_generator &gen, error_handler &err, country_file_context &context)
void m_average_literacy(token_generator &gen, error_handler &err, scenario_building_context &context)
bool is_fixed_token_ci(char const *start, char const *end, char const (&t)[N])
dcon::trigger_key make_decision_trigger(token_generator &gen, error_handler &err, decision_context &context)
void make_vassal(token_generator &gen, error_handler &err, scenario_building_context &context)
void m_plurality(token_generator &gen, error_handler &err, scenario_building_context &context)
void make_leader_images(scenario_building_context &outer_context)
sys::event_option make_event_option(token_generator &gen, error_handler &err, event_building_context &context)
void make_state_definition(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
void register_cb_type(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
void make_ln_list(token_generator &gen, error_handler &err, culture_context &context)
dcon::effect_key make_execute_effect(token_generator &gen, error_handler &err, individual_option_context &context)
void make_decision(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
void m_great_power(token_generator &gen, error_handler &err, scenario_building_context &context)
void m_hard_player(token_generator &gen, error_handler &err, scenario_building_context &context)
void add_locale(sys::state &state, std::string_view locale_name, char const *data_start, char const *data_end)
void make_tech_folder_list(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
dcon::trigger_key make_execute_trigger(token_generator &gen, error_handler &err, individual_option_context &context)
bool nation_button_allow(token_generator &gen, error_handler &err, building_gfx_context &context)
void make_culture_group(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
void make_pop_province_list(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
void make_terrain_modifier(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
void read_school_modifier(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
void make_fn_list(token_generator &gen, error_handler &err, culture_context &context)
void m_very_hard_player(token_generator &gen, error_handler &err, scenario_building_context &context)
void make_national_value(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
void m_debt_default_to(token_generator &gen, error_handler &err, scenario_building_context &context)
void make_production_type(std::string_view name, token_generator &gen, error_handler &err, production_context &context)
void m_unciv_nation(token_generator &gen, error_handler &err, scenario_building_context &context)
void m_occupied(token_generator &gen, error_handler &err, scenario_building_context &context)
void m_very_easy_player(token_generator &gen, error_handler &err, scenario_building_context &context)
void read_promotion_target(std::string_view name, token_generator &gen, error_handler &err, poptype_context &context)
dcon::effect_key make_immediate_effect(token_generator &gen, error_handler &err, event_building_context &context)
void m_core(token_generator &gen, error_handler &err, scenario_building_context &context)
dcon::trigger_key cb_allowed_countries(token_generator &gen, error_handler &err, individual_cb_context &context)
dcon::effect_key make_reb_enforce_effect(token_generator &gen, error_handler &err, rebel_context &context)
void m_generalised_debt_default(token_generator &gen, error_handler &err, scenario_building_context &context)
void make_substate(token_generator &gen, error_handler &err, scenario_building_context &context)
void make_continent_definition(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
dcon::value_modifier_key make_decision_ai_choice(token_generator &gen, error_handler &err, decision_context &context)
dcon::value_modifier_key make_reb_spawn_chance(token_generator &gen, error_handler &err, rebel_context &context)
void enter_dated_block(std::string_view name, token_generator &gen, error_handler &err, province_file_context &context)
void m_bad_debter(token_generator &gen, error_handler &err, scenario_building_context &context)
dcon::trigger_key make_party_trigger(token_generator &gen, error_handler &err, party_context &context)
void make_ideology_group(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
void make_unit(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
void m_total_blockaded(token_generator &gen, error_handler &err, scenario_building_context &context)
dcon::trigger_key cb_allowed_crisis_states(token_generator &gen, error_handler &err, individual_cb_context &context)
dcon::value_modifier_key make_inv_chance(token_generator &gen, error_handler &err, invention_context &context)
void m_nationalism(token_generator &gen, error_handler &err, scenario_building_context &context)
void m_war_exhaustion(token_generator &gen, error_handler &err, scenario_building_context &context)
void m_very_hard_ai(token_generator &gen, error_handler &err, scenario_building_context &context)
void make_base_units(scenario_building_context &context)
void gfx_add_obj(parsers::token_generator &gen, parsers::error_handler &err, building_gfx_context &context)
void make_focus(std::string_view name, token_generator &gen, error_handler &err, national_focus_context &context)
void m_sea_zone(token_generator &gen, error_handler &err, scenario_building_context &context)
void register_rebel_type(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
bool nation_button_effect(token_generator &gen, error_handler &err, building_gfx_context &context)
void make_government(std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
void m_in_bankrupcy(token_generator &gen, error_handler &err, scenario_building_context &context)
dcon::trigger_key make_crime_trigger(token_generator &gen, error_handler &err, scenario_building_context &context)
void m_blockaded(token_generator &gen, error_handler &err, scenario_building_context &context)
void m_coastal(token_generator &gen, error_handler &err, scenario_building_context &context)
void read_map_colors(char const *start, char const *end, error_handler &err, scenario_building_context &context)
void make_culture(std::string_view name, token_generator &gen, error_handler &err, culture_group_context &context)
commodity_array make_prod_commodity_array(token_generator &gen, error_handler &err, production_context &context)
void m_war(token_generator &gen, error_handler &err, scenario_building_context &context)
#define MOD_NAT_FUNCTION(X)
#define MOD_PROV_FUNCTION(X)
void second(association_type, std::string_view tag, error_handler &err, int32_t line, scenario_building_context &context)
void end_date(association_type, sys::year_month_day ymd, error_handler &err, int32_t line, scenario_building_context &context)
void first(association_type, std::string_view tag, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &)
void start_date(association_type, sys::year_month_day ymd, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &context)
void finish(scenario_building_context &context)
std::vector< bookmark_definition > bookmark_dates
void finish(bookmark_context &)
void name(association_type, std::string_view value, error_handler &err, int32_t line, bookmark_context &)
void date(association_type, sys::year_month_day value, error_handler &err, int32_t line, bookmark_context &)
sys::year_month_day date_
void bookmark(bookmark_definition const &value, error_handler &err, int32_t line, bookmark_context &context)
void finish(bookmark_context &context)
std::string_view production_type
int_vector colonial_points
commodity_array goods_cost
void type(association_type, std::string_view value, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &context)
economy::province_building_type stored_type
void result(std::string_view name, building_definition &&res, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &context)
std::vector< pending_button_script > province_buttons_allow
ui::definitions & ui_defs
std::vector< pending_button_script > nation_buttons_allow
std::vector< pending_button_script > nation_buttons_effect
std::vector< simple_fs::file > gui_files
std::vector< pending_button_script > province_buttons_effect
ankerl::unordered_dense::map< std::string, dcon::gfx_object_id > map_of_names
ankerl::unordered_dense::map< std::string, dcon::texture_id > map_of_texture_names
building_gfx_context(sys::state &full_state, ui::definitions &ui_defs)
void months(association_type, int32_t value, error_handler &err, int32_t line, individual_cb_context &context)
void po_status_quo(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void good_relation_prestige_factor(association_type, float value, error_handler &err, int32_t line, individual_cb_context &context)
void break_truce_infamy_factor(association_type, float value, error_handler &err, int32_t line, individual_cb_context &context)
void po_demand_state(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void allowed_substate_regions(dcon::trigger_key value, error_handler &err, int32_t line, individual_cb_context &context)
void allowed_states(dcon::trigger_key value, error_handler &err, int32_t line, individual_cb_context &context)
void po_make_puppet(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void break_truce_prestige_factor(association_type, float value, error_handler &err, int32_t line, individual_cb_context &context)
void truce_months(association_type, int32_t value, error_handler &err, int32_t line, individual_cb_context &context)
void crisis(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void po_destroy_forts(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void po_gunboat(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void po_install_communist_gov_type(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void po_remove_prestige(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void po_annex(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void on_add(dcon::effect_key value, error_handler &err, int32_t line, individual_cb_context &context)
void po_destroy_naval_bases(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void is_civil_war(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void construction_speed(association_type, float value, error_handler &err, int32_t line, individual_cb_context &context)
void good_relation_infamy_factor(association_type, float value, error_handler &err, int32_t line, individual_cb_context &context)
void allowed_states_in_crisis(dcon::trigger_key value, error_handler &err, int32_t line, individual_cb_context &context)
void badboy_factor(association_type, float value, error_handler &err, int32_t line, individual_cb_context &context)
void constructing_cb(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void po_transfer_provinces(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void all_allowed_states(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void sprite_index(association_type, int32_t value, error_handler &err, int32_t line, individual_cb_context &context)
void po_clear_union_sphere(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void po_disarmament(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void good_relation_militancy_factor(association_type, float value, error_handler &err, int32_t line, individual_cb_context &context)
void po_remove_cores(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void penalty_factor(association_type, float value, error_handler &err, int32_t line, individual_cb_context &context)
void tws_battle_factor(association_type, float value, error_handler &err, int32_t line, individual_cb_context &context)
void po_reparations(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void always(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void allowed_countries(dcon::trigger_key value, error_handler &err, int32_t line, individual_cb_context &context)
void on_po_accepted(dcon::effect_key value, error_handler &err, int32_t line, individual_cb_context &context)
void finish(individual_cb_context &context)
void po_release_puppet(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void break_truce_militancy_factor(association_type, float value, error_handler &err, int32_t line, individual_cb_context &context)
void peace_cost_factor(association_type, float value, error_handler &err, int32_t line, individual_cb_context &context)
void prestige_factor(association_type, float value, error_handler &err, int32_t line, individual_cb_context &context)
void po_colony(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void is_triggered_only(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void war_name(association_type, std::string_view value, error_handler &err, int32_t line, individual_cb_context &context)
void po_add_to_sphere(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void po_uninstall_communist_gov_type(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void great_war_obligatory(association_type, bool value, error_handler &err, int32_t line, individual_cb_context &context)
void can_use(dcon::trigger_key value, error_handler &err, int32_t line, individual_cb_context &context)
void finish(scenario_building_context &)
void free_value(std::string_view text, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &)
scenario_building_context & outer_context
void free_value(int32_t value, error_handler &err, int32_t line, climate_building_context &context)
void finish(climate_building_context &)
void finish(scenario_building_context &)
void free_value(float v, error_handler &err, int32_t line, T &context)
void free_value(int32_t v, error_handler &err, int32_t line, T &context)
tagged_vector< float, dcon::commodity_id > data
void finish(scenario_building_context &context)
void any_value(std::string_view name, association_type, float value, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &)
void any_value(std::string_view name, association_type, float value, error_handler &err, int32_t line, scenario_building_context &context)
scenario_building_context & outer_context
void free_value(int32_t value, error_handler &err, int32_t line, continent_building_context &context)
continent_provinces provinces
void finish(continent_building_context &)
void finish(scenario_building_context &)
void free_value(int32_t value, error_handler &err, int32_t line, continent_building_context &context)
void finish(continent_building_context &)
dcon::national_identity_id id
scenario_building_context & outer_context
unit_names_collection unit_names
void any_group(std::string_view name, color_from_3i, error_handler &err, int32_t line, country_file_context &context)
void finish(country_file_context &)
void template_(association_type, std::string_view value, error_handler &err, int32_t line, country_file_context &context)
void color(color_from_3i cvalue, error_handler &err, int32_t line, country_file_context &context)
dcon::nation_id holder_id
dcon::national_identity_id nat_ident
scenario_building_context & outer_context
std::vector< std::pair< dcon::nation_id, dcon::decision_id > > & pending_decisions
void is_releasable_vassal(association_type, bool value, error_handler &err, int32_t line, country_history_context &context)
void ruling_party(association_type, std::string_view value, error_handler &err, int32_t line, country_history_context &context)
void prestige(association_type, float value, error_handler &err, int32_t line, country_history_context &context)
void govt_flag(govt_flag_block const &value, error_handler &err, int32_t line, country_history_context &context)
void remove_culture(association_type, std::string_view value, error_handler &err, int32_t line, country_history_context &context)
void set_country_flag(association_type, std::string_view value, error_handler &err, int32_t line, country_history_context &context)
void non_state_culture_literacy(association_type, float value, error_handler &err, int32_t line, country_history_context &context)
void religion(association_type, std::string_view value, error_handler &err, int32_t line, country_history_context &context)
void literacy(association_type, float value, error_handler &err, int32_t line, country_history_context &context)
void any_value(std::string_view label, association_type, std::string_view value, error_handler &err, int32_t line, country_history_context &context)
void civilized(association_type, bool value, error_handler &err, int32_t line, country_history_context &context)
void consciousness(association_type, float value, error_handler &err, int32_t line, country_history_context &context)
void set_global_flag(association_type, std::string_view value, error_handler &err, int32_t line, country_history_context &context)
void nationalvalue(association_type, std::string_view value, error_handler &err, int32_t line, country_history_context &context)
void finish(country_history_context &)
upper_house_block upper_house
void plurality(association_type, float value, error_handler &err, int32_t line, country_history_context &context)
void capital(association_type, int32_t value, error_handler &err, int32_t line, country_history_context &context)
foreign_investment_block foreign_investment
void primary_culture(association_type, std::string_view value, error_handler &err, int32_t line, country_history_context &context)
void schools(association_type, std::string_view value, error_handler &err, int32_t line, country_history_context &context)
void government(association_type, std::string_view value, error_handler &err, int32_t line, country_history_context &context)
void nonstate_consciousness(association_type, float value, error_handler &err, int32_t line, country_history_context &context)
void colonial_points(association_type, int32_t value, error_handler &err, int32_t line, country_history_context &context)
dcon::trigger_key trigger
void finish(scenario_building_context &)
scenario_building_context & outer_context
void finish(scenario_building_context &context)
dcon::culture_group_id id
scenario_building_context & outer_context
void leader(association_type, std::string_view name, error_handler &err, int32_t line, culture_group_context &context)
void union_tag(association_type, uint32_t v, error_handler &err, int32_t line, culture_group_context &context)
void finish(culture_group_context &context)
void is_overseas(association_type, bool v, error_handler &err, int32_t line, culture_group_context &context)
void color(color_from_3i v, error_handler &err, int32_t line, culture_context &context)
void finish(culture_context &context)
void radicalism(association_type, int32_t v, error_handler &err, int32_t line, culture_context &context)
scenario_building_context & outer_context
void finish(scenario_building_context &)
decision_list political_decisions
void finish(scenario_building_context &)
void ai_will_do(dcon::value_modifier_key value, error_handler &err, int32_t line, decision_context &context)
void potential(dcon::trigger_key value, error_handler &err, int32_t line, decision_context &context)
void finish(decision_context &)
void picture(association_type, std::string_view value, error_handler &err, int32_t line, decision_context &context)
void allow(dcon::trigger_key value, error_handler &err, int32_t line, decision_context &context)
void finish(scenario_building_context &)
void max_provinces(association_type, int32_t value, error_handler &err, int32_t line, scenario_building_context &context)
void free_value(std::string_view value, error_handler &err, int32_t line, T &context)
std::vector< std::string > names
void finish(scenario_building_context &)
scenario_building_context & outer_context
trigger::slot_contents this_slot
trigger::slot_contents main_slot
trigger::slot_contents from_slot
void finish(scenario_building_context &)
void finish(scenario_building_context &)
void finish(national_focus_context &)
void finish(country_history_context &)
void any_value(std::string_view tag, association_type, float v, error_handler &err, int32_t line, country_history_context &context)
void finish(event_building_context &context)
void option(sys::event_option const &value, error_handler &err, int32_t line, event_building_context &context)
void picture(association_type, std::string_view value, error_handler &err, int32_t line, event_building_context &context)
std::array< sys::event_option, sys::max_event_options > options
int32_t last_option_added
dcon::effect_key immediate_
dcon::value_modifier_key mean_time_to_happen
dcon::issue_id issue_group_
void title(association_type, std::string_view value, error_handler &err, int32_t line, event_building_context &context)
void desc(association_type, std::string_view value, error_handler &err, int32_t line, event_building_context &context)
bool allow_multiple_instances
dcon::trigger_key trigger
dcon::gfx_object_id picture_
void immediate(dcon::effect_key value, error_handler &err, int32_t line, event_building_context &context)
void issue_group(association_type, std::string_view value, error_handler &err, int32_t line, event_building_context &context)
void finish(building_gfx_context &context)
void textspritetype(gfx_object const &obj, parsers::error_handler &err, int32_t line, building_gfx_context &context)
void linecharttype(gfx_object const &obj, parsers::error_handler &err, int32_t line, building_gfx_context &context)
void progressbartype(gfx_object const &obj, parsers::error_handler &err, int32_t line, building_gfx_context &context)
void piecharttype(gfx_object const &obj, parsers::error_handler &err, int32_t line, building_gfx_context &context)
void corneredtilespritetype(gfx_object const &obj, parsers::error_handler &err, int32_t line, building_gfx_context &context)
void maskedshieldtype(gfx_object const &obj, parsers::error_handler &err, int32_t line, building_gfx_context &context)
void barcharttype(gfx_object const &obj, parsers::error_handler &err, int32_t line, building_gfx_context &context)
void spritetype(gfx_object const &obj, parsers::error_handler &err, int32_t line, building_gfx_context &context)
void finish(building_gfx_context const &context)
void tilespritetype(gfx_object const &obj, parsers::error_handler &err, int32_t line, building_gfx_context &context)
void clicksound(parsers::association_type, std::string_view, parsers::error_handler &err, int32_t line, building_gfx_context &context)
void finish(building_gfx_context &context)
std::optional< gfx_xy_pair > size_obj
std::string_view secondary_texture
std::optional< int32_t > size
std::string_view primary_texture
std::optional< gfx_xy_pair > bordersize
void finish(building_gfx_context &context)
void free_value(int32_t v, error_handler &err, int32_t line, building_gfx_context &context)
scenario_building_context & outer_context
sys::commodity_group group
scenario_building_context & outer_context
void overseas_penalty(association_type, bool b, error_handler &err, int32_t line, good_context &context)
void available_from_start(association_type, bool b, error_handler &err, int32_t line, good_context &context)
void cost(association_type, float v, error_handler &err, int32_t line, good_context &context)
void finish(good_context &context)
void color(color_from_3i v, error_handler &err, int32_t line, good_context &context)
void money(association_type, bool v, error_handler &err, int32_t line, good_context &context)
void finish(scenario_building_context &context)
void finish(good_group_context &context)
dcon::government_type_id id
scenario_building_context & outer_context
void duration(association_type, int32_t value, error_handler &err, int32_t line, government_type_context &context)
void any_value(std::string_view text, association_type, bool value, error_handler &err, int32_t line, government_type_context &context)
void appoint_ruling_party(association_type, bool value, error_handler &err, int32_t line, government_type_context &context)
void finish(government_type_context &)
void election(association_type, bool value, error_handler &err, int32_t line, government_type_context &context)
void flagtype(association_type, std::string_view value, error_handler &err, int32_t line, government_type_context &context)
void finish(scenario_building_context &)
dcon::government_type_id government_
void flag(association_type, std::string_view value, error_handler &err, int32_t line, country_history_context &context)
::culture::flag_type flag_
void government(association_type, std::string_view value, error_handler &err, int32_t line, country_history_context &context)
void finish(country_history_context &)
void extends(association_type, std::string_view txt, error_handler &err, int32_t line, building_gfx_context &context)
void rotation(association_type, std::string_view txt, error_handler &err, int32_t line, building_gfx_context &context)
void maxsize(gfx_xy_pair const &pr, error_handler &err, int32_t line, building_gfx_context &context)
void orientation(association_type, std::string_view txt, error_handler &err, int32_t line, building_gfx_context &context)
void finish(building_gfx_context &context)
void table_layout(gfx_xy_pair const &pr, error_handler &err, int32_t line, building_gfx_context &context)
void position(gfx_xy_pair const &pr, error_handler &err, int32_t line, building_gfx_context &context)
void add_position(gfx_xy_pair const &pr, error_handler &err, int32_t line, building_gfx_context &context)
void maxwidth(association_type, int32_t v, error_handler &err, int32_t line, building_gfx_context &context)
void name(association_type, std::string_view txt, error_handler &err, int32_t line, building_gfx_context &context)
void maxheight(association_type, int32_t v, error_handler &err, int32_t line, building_gfx_context &context)
void size(gfx_xy_pair const &pr, error_handler &err, int32_t line, building_gfx_context &context)
void add_size(gfx_xy_pair const &pr, error_handler &err, int32_t line, building_gfx_context &context)
void finish(building_gfx_context &context)
void positiontype(gui_element_common const &v, error_handler &err, int32_t line, building_gfx_context &context)
void editboxtype(textbox const &v, error_handler &err, int32_t line, building_gfx_context &context)
void windowtype(window const &v, error_handler &err, int32_t line, building_gfx_context &context)
void checkboxtype(button const &v, error_handler &err, int32_t line, building_gfx_context &context)
void textboxtype(textbox const &v, error_handler &err, int32_t line, building_gfx_context &context)
void listboxtype(listbox const &v, error_handler &err, int32_t line, building_gfx_context &context)
void overlappingelementsboxtype(overlapping const &v, error_handler &err, int32_t line, building_gfx_context &context)
void shieldtype(image const &v, error_handler &err, int32_t line, building_gfx_context &context)
void finish(building_gfx_context &context)
void provincescriptbuttontype(province_script_button const &v, error_handler &err, int32_t line, building_gfx_context &context)
void scrollbartype(scrollbar const &v, error_handler &err, int32_t line, building_gfx_context &context)
void eu3dialogtype(window const &v, error_handler &err, int32_t line, building_gfx_context &context)
void icontype(image const &v, error_handler &err, int32_t line, building_gfx_context &context)
void instanttextboxtype(textbox const &v, error_handler &err, int32_t line, building_gfx_context &context)
void guibuttontype(button const &v, error_handler &err, int32_t line, building_gfx_context &context)
void nationscriptbuttontype(nation_script_button const &v, error_handler &err, int32_t line, building_gfx_context &context)
void country(association_type, std::string_view tag, error_handler &err, int32_t line, war_history_context &context)
void casus_belli(association_type, std::string_view value, error_handler &err, int32_t line, war_history_context &context)
void actor(association_type, std::string_view tag, error_handler &err, int32_t line, war_history_context &context)
void receiver(association_type, std::string_view tag, error_handler &err, int32_t line, war_history_context &context)
dcon::nation_id secondary_
dcon::province_id state_province_id_
void state_province_id(association_type t, int32_t value, error_handler &err, int32_t line, war_history_context &context)
dcon::nation_id receiver_
dcon::cb_type_id casus_belli_
void finish(war_history_context &)
void finish(scenario_building_context &context)
scenario_building_context & outer_context
dcon::ideology_group_id id
void finish(ideology_group_context &context)
void frame(association_type, uint32_t v, error_handler &err, int32_t line, building_gfx_context &context)
void spritetype(association_type, std::string_view txt, error_handler &err, int32_t line, building_gfx_context &context)
void scale(association_type, float v, error_handler &err, int32_t line, building_gfx_context &context)
::culture::income_type itype
void finish(poptype_context &)
void type(association_type, std::string_view value, error_handler &err, int32_t line, poptype_context &context)
scenario_building_context & outer_context
scenario_building_context & outer_context
void remove_social_reform(dcon::value_modifier_key value, error_handler &err, int32_t line, individual_ideology_context &context)
void color(color_from_3i cvalue, error_handler &err, int32_t line, individual_ideology_context &context)
void can_reduce_militancy(association_type, bool value, error_handler &err, int32_t line, individual_ideology_context &context)
void date(association_type, sys::year_month_day ymd, error_handler &err, int32_t line, individual_ideology_context &context)
void add_social_reform(dcon::value_modifier_key value, error_handler &err, int32_t line, individual_ideology_context &context)
void uncivilized(association_type, bool value, error_handler &err, int32_t line, individual_ideology_context &context)
void remove_political_reform(dcon::value_modifier_key value, error_handler &err, int32_t line, individual_ideology_context &context)
void add_military_reform(dcon::value_modifier_key value, error_handler &err, int32_t line, individual_ideology_context &context)
void civilized(association_type, bool value, error_handler &err, int32_t line, individual_ideology_context &context)
void finish(individual_ideology_context &)
void add_economic_reform(dcon::value_modifier_key value, error_handler &err, int32_t line, individual_ideology_context &context)
void add_political_reform(dcon::value_modifier_key value, error_handler &err, int32_t line, individual_ideology_context &context)
scenario_building_context & outer_context
dcon::reform_option_id id
scenario_building_context & outer_context
std::vector< int32_t > data
void free_value(int32_t v, error_handler &err, int32_t line, T &context)
void plurality(association_type, float value, error_handler &err, int32_t line, invention_context &context)
void gas_attack(association_type, bool value, error_handler &err, int32_t line, invention_context &context)
void shared_prestige(association_type, float value, error_handler &err, int32_t line, invention_context &context)
inv_fac_goods_output factory_goods_output
inv_rgo_goods_output rgo_goods_output
void activate_unit(association_type, std::string_view value, error_handler &err, int32_t line, invention_context &context)
inv_fac_goods_throughput factory_goods_throughput
void activate_building(association_type, std::string_view value, error_handler &err, int32_t line, invention_context &context)
void gas_defence(association_type, bool value, error_handler &err, int32_t line, invention_context &context)
void any_group(std::string_view label, unit_modifier_body const &value, error_handler &err, int32_t line, invention_context &context)
void rebel_org_gain(inv_rebel_org_gain const &value, error_handler &err, int32_t line, invention_context &context)
void enable_crime(association_type, std::string_view value, error_handler &err, int32_t line, invention_context &context)
void any_value(std::string_view name, association_type, int32_t value, error_handler &err, int32_t line, invention_context &context)
void colonial_points(association_type, int32_t value, error_handler &err, int32_t line, invention_context &context)
void finish(invention_context &)
void any_value(std::string_view label, association_type, float value, error_handler &err, int32_t line, invention_context &context)
void any_value(std::string_view label, association_type, float value, error_handler &err, int32_t line, invention_context &context)
void finish(invention_context &)
dcon::rebel_type_id faction_
void finish(invention_context &)
void faction(association_type, std::string_view v, error_handler &err, int32_t line, invention_context &context)
void finish(invention_context &)
void any_value(std::string_view label, association_type, float value, error_handler &err, int32_t line, invention_context &context)
void limit(dcon::trigger_key value, error_handler &err, int32_t line, invention_context &context)
void shared_prestige(association_type, float value, error_handler &err, int32_t line, invention_context &context)
void chance(dcon::value_modifier_key value, error_handler &err, int32_t line, invention_context &context)
scenario_building_context & outer_context
void finish(tech_group_context &)
scenario_building_context & outer_context
scenario_building_context & outer_context
issue_group_context(scenario_building_context &outer_context, ::culture::issue_category issue_cat)
::culture::issue_category issue_cat
void technology_cost(association_type, int32_t value, error_handler &err, int32_t line, individual_option_context &context)
void is_jingoism(association_type, bool value, error_handler &err, int32_t line, individual_roption_context &context)
void administrative_multiplier(association_type, float value, error_handler &err, int32_t line, individual_option_context &context)
void on_execute(on_execute_body const &value, error_handler &err, int32_t line, individual_option_context &context)
void war_exhaustion_effect(association_type, float value, error_handler &err, int32_t line, individual_option_context &context)
void is_jingoism(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void vote_modifiers(vote_modifiers_body const &value, error_handler &err, int32_t line, individual_option_context &context)
void vote_modifiers(vote_modifiers_body const &value, error_handler &err, int32_t line, individual_roption_context &context)
void finish(reform_context &)
void administrative(association_type, bool value, error_handler &err, int32_t line, issue_context &context)
void next_step_only(association_type, bool value, error_handler &err, int32_t line, issue_context &context)
void finish(issue_context &)
void finish(scenario_building_context &)
void finish(issue_group_context &)
void offset(gfx_xy_pair const &pr, error_handler &err, int32_t line, building_gfx_context &context)
void bordersize(gfx_xy_pair const &pr, error_handler &err, int32_t line, building_gfx_context &context)
void background(association_type, std::string_view txt, error_handler &err, int32_t line, building_gfx_context &context)
void spacing(association_type, uint32_t v, error_handler &err, int32_t line, building_gfx_context &context)
void finish(sys::state &context)
std::vector< uint32_t > map_features
std::vector< uint32_t > header_features
std::vector< uint32_t > body_features
void body_feature(association_type, std::string_view value, error_handler &err, int32_t line, sys::state &)
void header_feature(association_type, std::string_view value, error_handler &err, int32_t line, sys::state &)
void map_feature(association_type, std::string_view value, error_handler &err, int32_t line, sys::state &)
bool prevent_map_letterspacing
void promotion_chance(dcon::value_modifier_key value, error_handler &err, int32_t line, scenario_building_context &context)
void conversion_chance(dcon::value_modifier_key value, error_handler &err, int32_t line, scenario_building_context &context)
void emigration_chance(dcon::value_modifier_key value, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &)
void assimilation_chance(dcon::value_modifier_key value, error_handler &err, int32_t line, scenario_building_context &context)
void demotion_chance(dcon::value_modifier_key value, error_handler &err, int32_t line, scenario_building_context &context)
void migration_chance(dcon::value_modifier_key value, error_handler &err, int32_t line, scenario_building_context &context)
void colonialmigration_chance(dcon::value_modifier_key value, error_handler &err, int32_t line, scenario_building_context &context)
void finish(mod_file_context &context)
void dependencies(dependencies_list const &value, error_handler &err, int32_t line, mod_file_context &context)
std::vector< std::string > dependent_mods
void path(association_type, std::string_view value, error_handler &err, int32_t line, mod_file_context &context)
void name(association_type, std::string_view value, error_handler &err, int32_t line, mod_file_context &context)
void replace_path(association_type, std::string_view value, error_handler &err, int32_t line, mod_file_context &context)
void add_to_file_system(simple_fs::file_system &fs)
void user_dir(association_type, std::string_view value, error_handler &err, int32_t line, mod_file_context &context)
std::vector< std::string > replace_paths
void global_population_growth(association_type, float v, error_handler &err, int32_t line, T &context)
void icon(association_type, uint32_t v, error_handler &err, int32_t line, T &context)
void defence(association_type, float v, error_handler &err, int32_t line, T &context)
void immigration(association_type, float v, error_handler &err, int32_t line, T &context)
void pop_growth(association_type, float v, error_handler &err, int32_t line, T &context)
void m_rgo_size(association_type, float v, error_handler &err, int32_t line, T &context)
sys::national_modifier_definition const & peek_national_mod() const
sys::provincial_modifier_definition constructed_definition_p
void defender(association_type, float v, error_handler &err, int32_t line, T &context)
void tax_efficiency(association_type, float v, error_handler &err, int32_t line, T &context)
void attacker(association_type, float v, error_handler &err, int32_t line, T &context)
sys::provincial_modifier_definition const & peek_province_mod() const
void unit_start_experience(association_type type, float v, error_handler &err, int32_t line, T &context)
sys::national_modifier_definition constructed_definition_n
sys::national_modifier_definition force_national_mod() const
scenario_building_context & outer_context
void free_value(std::string_view text, error_handler &err, int32_t line, names_context &context)
void finish(names_context &context)
::nations::focus_type type
dcon::national_focus_id id
scenario_building_context & outer_context
void finish(scenario_building_context &)
void has_flashpoint(association_type, bool value, error_handler &err, int32_t line, national_focus_context &context)
void flashpoint_tension(association_type, float value, error_handler &err, int32_t line, national_focus_context &context)
void railroads(association_type, float value, error_handler &err, int32_t line, national_focus_context &context)
void finish(national_focus_context &)
void ideology(association_type, std::string_view value, error_handler &err, int32_t line, national_focus_context &context)
void limit(dcon::trigger_key value, error_handler &err, int32_t line, national_focus_context &context)
void any_value(std::string_view label, association_type, float value, error_handler &err, int32_t line, national_focus_context &context)
void loyalty_value(association_type, float value, error_handler &err, int32_t line, national_focus_context &context)
void finish(scenario_building_context &context)
void any_value(std::string_view tag, association_type, std::string_view txt, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &)
int32_t construction_complete
int32_t goods_price_change
void finish(news_context &context)
int32_t province_change_owner
int32_t province_change_controller
int32_t rebel_break_country
int32_t peace_offer_accept
int32_t crisis_side_joined
int32_t ai_likes_very_much
int32_t research_complete
void finish(news_context &context)
news_context(scenario_building_context &outer_context)
scenario_building_context & outer_context
ankerl::unordered_dense::map< std::string, int32_t > map_of_news_pattern_names
void finish(news_context &context)
void any_group(std::string_view name, news_pattern_instance, error_handler &err, int32_t line, news_context &context)
void finish(news_context &context)
void finish(news_context &context)
void finish(news_context &context)
void finish(news_context &context)
void finish(news_context &context)
void finish(news_context &context)
void name(association_type, std::string_view value, error_handler &err, int32_t line, news_context &context)
void finish(news_context &context)
void finish(news_context &context)
void finish(news_context &context)
void finish(news_context &context)
void finish(news_context &context)
void finish(news_context &context)
void finish(news_context &context)
void finish(news_context &context)
s_on_yearly_pulse on_yearly_pulse
void finish(scenario_building_context &)
s_on_election_tick on_election_tick
s_on_quarterly_pulse on_quarterly_pulse
s_on_my_factories_nationalized on_my_factories_nationalized
s_on_surrender on_surrender
s_on_civilize on_civilize
s_on_battle_won on_battle_won
s_on_colony_to_state on_colony_to_state
s_on_colony_to_state_free_slaves on_colony_to_state_free_slaves
s_on_lost_great_nation on_lost_great_nation
s_on_state_conquest on_state_conquest
s_on_battle_lost on_battle_lost
s_on_debtor_default_second on_debtor_default_second
s_on_election_finished on_election_finished
s_on_debtor_default on_debtor_default
s_on_crisis_declare_interest on_crisis_declare_interest
s_on_new_great_nation on_new_great_nation
s_on_debtor_default_small on_debtor_default_small
s_on_election_started on_election_started
dcon::trigger_key trigger
void finish(individual_roption_context &)
void finish(individual_option_context &)
void location(association_type, int32_t value, error_handler &err, int32_t line, oob_file_army_context &context)
void name(association_type, std::string_view value, error_handler &err, int32_t line, oob_file_army_context &context)
void leader(oob_leader const &value, error_handler &err, int32_t line, oob_file_army_context &context)
void finish(oob_file_army_context &)
scenario_building_context & outer_context
dcon::nation_id nation_for
scenario_building_context & outer_context
dcon::nation_id nation_for
scenario_building_context & outer_context
dcon::nation_id nation_for
scenario_building_context & outer_context
dcon::nation_id nation_with
scenario_building_context & outer_context
dcon::nation_id nation_for
scenario_building_context & outer_context
void finish(oob_file_context &)
void leader(oob_leader const &value, error_handler &err, int32_t line, oob_file_context &context)
dcon::leader_trait_id background_
void background(association_type, std::string_view value, error_handler &err, int32_t line, oob_file_context &context)
void date(association_type, sys::year_month_day value, error_handler &err, int32_t line, oob_file_context &context)
void name(association_type, std::string_view value, error_handler &err, int32_t line, oob_file_context &context)
void finish(oob_file_context &)
dcon::leader_trait_id personality_
void type(association_type, std::string_view value, error_handler &err, int32_t line, oob_file_context &context)
void personality(association_type, std::string_view value, error_handler &err, int32_t line, oob_file_context &context)
void finish(oob_file_navy_context &)
void leader(oob_leader const &value, error_handler &err, int32_t line, oob_file_navy_context &context)
void location(association_type, int32_t value, error_handler &err, int32_t line, oob_file_navy_context &context)
void name(association_type, std::string_view value, error_handler &err, int32_t line, oob_file_navy_context &context)
void type(association_type, std::string_view value, error_handler &err, int32_t line, oob_file_regiment_context &context)
void name(association_type, std::string_view value, error_handler &err, int32_t line, oob_file_regiment_context &context)
void finish(oob_file_regiment_context &)
void home(association_type, int32_t value, error_handler &err, int32_t line, oob_file_regiment_context &context)
void value(association_type, int32_t v, error_handler &err, int32_t line, oob_file_relation_context &context)
void level(association_type, int32_t v, error_handler &err, int32_t line, oob_file_relation_context &context)
void truce_until(association_type, sys::year_month_day v, error_handler &err, int32_t line, oob_file_relation_context &context)
void finish(oob_file_relation_context &)
void influence_value(association_type, float v, error_handler &err, int32_t line, oob_file_relation_context &context)
void type(association_type, std::string_view value, error_handler &err, int32_t line, oob_file_ship_context &context)
void finish(oob_file_ship_context &)
void name(association_type, std::string_view value, error_handler &err, int32_t line, oob_file_ship_context &context)
void open_factory(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void primary_culture_voting(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void pop_open_factory(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void build_railway_invest(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void destroy_factory(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void delete_factory_if_no_input(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void build_university(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void open_factory_invest(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void rich_only(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void largest_share(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void can_subsidise(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void finish(individual_roption_context &)
void population_vote(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void factory_priority(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void pop_expand_factory(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void pop_build_factory_invest(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void finish(individual_option_context &)
void expand_factory(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void can_invest_in_pop_projects(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void slavery_allowed(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void build_factory_invest(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void dhont(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void expand_factory_invest(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void build_railway(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void all_voting(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void same_as_ruling_party(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void pop_open_factory_invest(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void culture_voting(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void pop_build_factory(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void sainte_laque(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void allow_foreign_investment(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void pop_expand_factory_invest(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void build_factory(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void build_bank(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void state_vote(association_type, bool value, error_handler &err, int32_t line, individual_option_context &context)
void spacing(association_type, float v, error_handler &err, int32_t line, building_gfx_context &context)
void format(association_type, std::string_view txt, error_handler &err, int32_t line, building_gfx_context &context)
void finish(scenario_building_context &context)
dcon::political_party_id id
scenario_building_context & outer_context
void name(association_type, std::string_view text, error_handler &err, int32_t line, party_context &context)
void any_value(std::string_view issue, association_type, std::string_view option, error_handler &err, int32_t line, party_context &context)
dcon::trigger_key trigger
void end_date(association_type, sys::year_month_day ymd, error_handler &err, int32_t line, party_context &context)
void ideology(association_type, std::string_view text, error_handler &err, int32_t line, party_context &context)
void finish(party_context &context)
void start_date(association_type, sys::year_month_day ymd, error_handler &err, int32_t line, party_context &context)
token_generator generator_state
token_generator generator_state
token_generator generator_state
token_generator generator_state
trigger::slot_contents from_slot
pending_nat_event(dcon::national_event_id id, trigger::slot_contents main_slot, trigger::slot_contents this_slot, trigger::slot_contents from_slot, token_generator const &generator_state)
bool just_in_case_placeholder
trigger::slot_contents this_slot
pending_nat_event(std::string const &original_file, dcon::national_event_id id, trigger::slot_contents main_slot, trigger::slot_contents this_slot, trigger::slot_contents from_slot, token_generator const &generator_state, bool just_in_case_placeholder)
pending_nat_event()=default
dcon::national_event_id id
pending_nat_event(dcon::national_event_id id, trigger::slot_contents main_slot, trigger::slot_contents this_slot, trigger::slot_contents from_slot)
token_generator generator_state
std::string original_file
trigger::slot_contents main_slot
token_generator generator_state
dcon::provincial_event_id id
trigger::slot_contents main_slot
trigger::slot_contents from_slot
std::string original_file
pending_prov_event(std::string const &original_file, dcon::provincial_event_id id, trigger::slot_contents main_slot, trigger::slot_contents this_slot, trigger::slot_contents from_slot, token_generator const &generator_state, bool just_in_case_placeholder)
bool just_in_case_placeholder
pending_prov_event()=default
trigger::slot_contents this_slot
pending_prov_event(dcon::provincial_event_id id, trigger::slot_contents main_slot, trigger::slot_contents this_slot, trigger::slot_contents from_slot)
pending_prov_event(dcon::provincial_event_id id, trigger::slot_contents main_slot, trigger::slot_contents this_slot, trigger::slot_contents from_slot, token_generator const &generator_state)
token_generator generator_state
token_generator generator_state
token_generator generator_state
dcon::reform_option_id id
token_generator generator_state
token_generator generator_state
void rebel_type(association_type, std::string_view value, error_handler &err, int32_t line, pop_history_province_context &context)
void religion(association_type, std::string_view value, error_handler &err, int32_t line, pop_history_province_context &context)
void finish(pop_history_province_context &)
dcon::rebel_type_id reb_id
void finish(scenario_building_context &)
scenario_building_context & outer_context
void finish(poptype_context &)
void finish(poptype_context &)
void finish(pop_history_province_context &)
void any_group(std::string_view type, pop_history_definition const &def, error_handler &err, int32_t line, pop_history_province_context &context)
scenario_building_context & outer_context
void workplace_output(association_type, float value, error_handler &err, int32_t line, poptype_context &context)
void can_build(association_type, bool value, error_handler &err, int32_t line, poptype_context &context)
void strata(association_type, std::string_view value, error_handler &err, int32_t line, poptype_context &context)
void can_reduce_consciousness(association_type, bool value, error_handler &err, int32_t line, poptype_context &context)
void unemployment(association_type, bool value, error_handler &err, int32_t line, poptype_context &context)
void research_points(association_type, float value, error_handler &err, int32_t line, poptype_context &context)
void allowed_to_vote(association_type, bool value, error_handler &err, int32_t line, poptype_context &context)
void leadership(association_type, int32_t value, error_handler &err, int32_t line, poptype_context &context)
void state_capital_only(association_type, bool value, error_handler &err, int32_t line, poptype_context &context)
promotion_targets promote_to
void luxury_needs(commodity_array const &value, error_handler &err, int32_t line, poptype_context &context)
void tax_eff(association_type, float value, error_handler &err, int32_t line, poptype_context &context)
void sprite(association_type, int32_t value, error_handler &err, int32_t line, poptype_context &context)
void can_be_recruited(association_type, bool value, error_handler &err, int32_t line, poptype_context &context)
void workplace_input(association_type, float value, error_handler &err, int32_t line, poptype_context &context)
void is_artisan(association_type, bool value, error_handler &err, int32_t line, poptype_context &context)
void life_needs(commodity_array const &value, error_handler &err, int32_t line, poptype_context &context)
void equivalent(association_type, std::string_view value, error_handler &err, int32_t line, poptype_context &context)
void research_optimum(association_type, float value, error_handler &err, int32_t line, poptype_context &context)
void finish(poptype_context &)
void everyday_needs_income(income const &value, error_handler &err, int32_t line, poptype_context &context)
void administrative_efficiency(association_type, bool value, error_handler &err, int32_t line, poptype_context &context)
pop_ideologies ideologies
void everyday_needs(commodity_array const &value, error_handler &err, int32_t line, poptype_context &context)
void is_slave(association_type, bool value, error_handler &err, int32_t line, poptype_context &context)
void luxury_needs_income(income const &value, error_handler &err, int32_t line, poptype_context &context)
void life_needs_income(income const &value, error_handler &err, int32_t line, poptype_context &context)
void color(color_from_3i cvalue, error_handler &err, int32_t line, poptype_context &context)
void finish(production_context &)
dcon::trigger_key trigger
production_context(scenario_building_context &outer_context)
scenario_building_context & outer_context
ankerl::unordered_dense::map< std::string, production_type > templates
void finish(production_context &)
void free_group(production_employee const &value, error_handler &err, int32_t line, production_context &context)
std::vector< production_employee > employees
void finish(production_context &)
void poptype(association_type, std::string_view v, error_handler &err, int32_t line, production_context &context)
production_employee_set employees
production_type_enum type_
commodity_array input_goods
void output_goods(association_type, std::string_view v, error_handler &err, int32_t line, production_context &context)
commodity_array efficiency
dcon::commodity_id output_goods_
void as_template(association_type, std::string_view v, error_handler &err, int32_t line, production_context &context)
void finish(production_context &)
production_employee owner
void type(association_type, std::string_view v, error_handler &err, int32_t line, production_context &context)
std::vector< production_bonus > bonuses
void bonus(production_bonus const &v, error_handler &err, int32_t line, production_context &context)
void finish(production_context &)
scenario_building_context & outer_context
void colony(association_type, uint32_t value, error_handler &err, int32_t line, province_file_context &context)
void terrain(association_type, std::string_view text, error_handler &err, int32_t line, province_file_context &context)
void state_building(pv_state_building const &value, error_handler &err, int32_t line, province_file_context &context)
void controller(association_type, uint32_t value, error_handler &err, int32_t line, province_file_context &context)
void owner(association_type, uint32_t value, error_handler &err, int32_t line, province_file_context &context)
void remove_core(association_type, uint32_t value, error_handler &err, int32_t line, province_file_context &context)
void is_slave(association_type, bool value, error_handler &err, int32_t line, province_file_context &context)
void rgo_distribution(province_rgo_ext const &value, error_handler &err, int32_t line, province_file_context &context)
void any_value(std::string_view name, association_type, uint32_t value, error_handler &err, int32_t line, province_file_context &context)
void party_loyalty(pv_party_loyalty const &value, error_handler &err, int32_t line, province_file_context &context)
void add_core(association_type, uint32_t value, error_handler &err, int32_t line, province_file_context &context)
void life_rating(association_type, uint32_t value, error_handler &err, int32_t line, province_file_context &context)
void finish(province_file_context &)
void trade_goods(association_type, std::string_view text, error_handler &err, int32_t line, province_file_context &context)
void max_employment(association_type, uint32_t value, error_handler &err, int32_t line, province_file_context &context)
void finish(province_file_context &)
void trade_good(association_type, std::string_view text, error_handler &err, int32_t line, province_file_context &context)
dcon::commodity_id trade_good_id
float max_employment_value
void finish(province_file_context &)
void entry(province_rgo_ext_desc const &value, error_handler &err, int32_t line, province_file_context &context)
void finish(province_file_context &)
void ideology(association_type, std::string_view text, error_handler &err, int32_t line, province_file_context &context)
void finish(province_file_context &)
void building(association_type, std::string_view text, error_handler &err, int32_t line, province_file_context &context)
void defection(association_type, std::string_view value, error_handler &err, int32_t line, rebel_context &context)
void demands_enforced_effect(dcon::effect_key value, error_handler &err, int32_t line, rebel_context &context)
void allow_all_ideologies(association_type, bool value, error_handler &err, int32_t line, rebel_context &context)
void defect_delay(association_type, int32_t value, error_handler &err, int32_t line, rebel_context &context)
void finish(rebel_context &)
rebel_gov_list government
void occupation_mult(association_type, float value, error_handler &err, int32_t line, rebel_context &context)
void allow_all_culture_groups(association_type, bool value, error_handler &err, int32_t line, rebel_context &context)
void demands_enforced_trigger(dcon::trigger_key value, error_handler &err, int32_t line, rebel_context &context)
void independence(association_type, std::string_view value, error_handler &err, int32_t line, rebel_context &context)
void area(association_type, std::string_view value, error_handler &err, int32_t line, rebel_context &context)
void break_alliance_on_win(association_type, bool value, error_handler &err, int32_t line, rebel_context &context)
void siege_won_trigger(dcon::trigger_key value, error_handler &err, int32_t line, rebel_context &context)
void icon(association_type, int32_t value, error_handler &err, int32_t line, rebel_context &context)
void spawn_chance(dcon::value_modifier_key value, error_handler &err, int32_t line, rebel_context &context)
void allow_all_cultures(association_type, bool value, error_handler &err, int32_t line, rebel_context &context)
void siege_won_effect(dcon::effect_key value, error_handler &err, int32_t line, rebel_context &context)
void will_rise(dcon::value_modifier_key value, error_handler &err, int32_t line, rebel_context &context)
void movement_evaluation(dcon::value_modifier_key value, error_handler &err, int32_t line, rebel_context &context)
void ideology(association_type, std::string_view value, error_handler &err, int32_t line, rebel_context &context)
scenario_building_context & outer_context
void finish(rebel_context &)
void any_value(std::string_view from_gov, association_type, std::string_view to_gov, error_handler &err, int32_t line, rebel_context &context)
void finish(scenario_building_context &)
scenario_building_context & outer_context
void finish(scenario_building_context &)
scenario_building_context & outer_context
void pagan(association_type, bool v, error_handler &err, int32_t line, religion_context &context)
void color(color_from_3f v, error_handler &err, int32_t line, religion_context &context)
void finish(religion_context &context)
void icon(association_type, int32_t v, error_handler &err, int32_t line, religion_context &context)
void any_group(std::string_view name, religion_group, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &context)
void finish(scenario_building_context &context)
void finish(scenario_building_context &)
void any_value(std::string_view chance, association_type, int32_t event, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &)
void any_value(std::string_view chance, association_type, int32_t event, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &)
void any_value(std::string_view chance, association_type, int32_t event, error_handler &err, int32_t line, scenario_building_context &context)
void any_value(std::string_view chance, association_type, int32_t event, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &)
void finish(scenario_building_context &)
void any_value(std::string_view chance, association_type, int32_t event, error_handler &err, int32_t line, scenario_building_context &context)
void any_value(std::string_view chance, association_type, int32_t event, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &)
void any_value(std::string_view chance, association_type, int32_t event, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &)
void finish(scenario_building_context &)
void any_value(std::string_view chance, association_type, int32_t event, error_handler &err, int32_t line, scenario_building_context &context)
void any_value(std::string_view chance, association_type, int32_t event, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &)
void any_value(std::string_view chance, association_type, int32_t event, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &)
void finish(scenario_building_context &)
void any_value(std::string_view chance, association_type, int32_t event, error_handler &err, int32_t line, scenario_building_context &context)
void any_value(std::string_view chance, association_type, int32_t event, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &)
void any_value(std::string_view chance, association_type, int32_t event, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &)
void any_value(std::string_view chance, association_type, int32_t event, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &)
void any_value(std::string_view chance, association_type, int32_t event, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &)
void finish(scenario_building_context &)
void any_value(std::string_view chance, association_type, int32_t event, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &)
void any_value(std::string_view chance, association_type, int32_t event, error_handler &err, int32_t line, scenario_building_context &context)
void any_value(std::string_view chance, association_type, int32_t event, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &)
void finish(scenario_building_context &)
void any_value(std::string_view chance, association_type, int32_t event, error_handler &err, int32_t line, scenario_building_context &context)
trigger::slot_contents this_slot
trigger::slot_contents from_slot
trigger::slot_contents main_slot
dcon::stored_trigger_id id
void finish(scenario_building_context &)
std::optional< simple_fs::file > ideologies_file
ankerl::unordered_dense::map< std::string, dcon::state_definition_id > map_of_state_names
tagged_vector< std::string, dcon::national_identity_id > file_names_for_idents
ankerl::unordered_dense::map< std::string, dcon::unit_type_id > map_of_unit_types
uint32_t color_by_terrain_index[64]
std::optional< simple_fs::file > crimes_file
ankerl::unordered_dense::map< std::string, dcon::culture_group_id > map_of_culture_group_names
ankerl::unordered_dense::map< std::string, dcon::national_variable_id > map_of_national_variables
ankerl::unordered_dense::map< std::string, dcon::national_flag_id > map_of_national_flags
ankerl::unordered_dense::map< std::string, dcon::national_focus_id > map_of_national_focuses
ankerl::unordered_dense::map< std::string, dcon::modifier_id > map_of_modifiers
ankerl::unordered_dense::map< std::string, dcon::global_flag_id > map_of_global_flags
ankerl::unordered_dense::map< std::string, dcon::religion_id > map_of_religion_names
ankerl::unordered_dense::map< std::string, pending_invention_content > map_of_inventions
std::vector< simple_fs::file > tech_and_invention_files
ankerl::unordered_dense::map< std::string, pending_roption_content > map_of_roptions
ankerl::unordered_dense::map< std::string, pending_tech_content > map_of_technologies
ankerl::unordered_dense::map< std::string, dcon::pop_type_id > map_of_poptypes
ankerl::unordered_dense::map< int32_t, pending_nat_event > map_of_national_events
dcon::modifier_id modifier_by_terrain_index[64]
ankerl::unordered_dense::map< std::string, dcon::factory_type_id > map_of_production_types
ankerl::unordered_dense::map< std::string, pending_ideology_content > map_of_ideologies
ankerl::unordered_dense::map< std::string, dcon::reform_id > map_of_reforms
std::optional< simple_fs::file > issues_file
std::vector< dcon::province_id > original_id_to_prov_id_map
tagged_vector< province_data, dcon::province_id > prov_id_to_original_id_map
ankerl::unordered_dense::map< std::string, dcon::issue_id > map_of_iissues
ankerl::unordered_dense::map< std::string, pending_crime_content > map_of_crimes
ankerl::unordered_dense::map< std::string, dcon::leader_trait_id > map_of_leader_traits
std::optional< simple_fs::file > rebel_types_file
dcon::global_flag_id get_global_flag(std::string const &name)
ankerl::unordered_dense::map< std::string, pending_option_content > map_of_ioptions
ankerl::unordered_dense::map< std::string, pending_cb_content > map_of_cb_types
std::optional< simple_fs::file > cb_types_file
ankerl::unordered_dense::map< std::string, terrain_type > map_of_terrain_types
dcon::national_flag_id get_national_flag(std::string const &name)
ankerl::unordered_dense::map< std::string, pending_rebel_type_content > map_of_rebeltypes
ankerl::unordered_dense::map< int32_t, pending_prov_event > map_of_provincial_events
ankerl::unordered_dense::map< std::string, dcon::region_id > map_of_region_names
int32_t number_of_commodities_seen
ankerl::unordered_dense::map< std::string, std::vector< saved_stored_condition > > map_of_stored_triggers
ankerl::unordered_dense::map< std::string, int32_t > map_of_tech_folders
std::vector< pending_triggered_modifier_content > set_of_triggered_modifiers
ankerl::unordered_dense::map< std::string, dcon::leader_images_id > map_of_leader_graphics
dcon::modifier_id ocean_terrain
ankerl::unordered_dense::map< uint32_t, dcon::national_identity_id > map_of_ident_names
building_gfx_context gfx_context
ankerl::unordered_dense::map< std::string, dcon::culture_id > map_of_culture_names
std::optional< simple_fs::file > triggered_modifiers_file
ankerl::unordered_dense::map< std::string, dcon::commodity_id > map_of_commodity_names
ankerl::unordered_dense::map< uint32_t, dcon::province_id > map_color_to_province_id
std::vector< dcon::province_id > special_impassible
ankerl::unordered_dense::map< std::string, dcon::government_type_id > map_of_governments
ankerl::unordered_dense::map< std::string, dcon::ideology_group_id > map_of_ideology_groups
dcon::national_variable_id get_national_variable(std::string const &name)
int32_t number_of_national_values_seen
ankerl::unordered_dense::map< std::string, dcon::factory_type_id > map_of_factory_names
void finish(scenario_building_context &)
void free_value(int32_t value, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &)
void finish(building_gfx_context &context)
void finish(building_gfx_context &context)
scenario_building_context & outer_context
std::vector< dcon::province_id > provinces
void free_value(int32_t value, error_handler &err, int32_t line, state_def_building_context &context)
void finish(state_def_building_context &)
void finish(scenario_building_context &)
scenario_building_context & outer_context
void finish(tech_context &)
void any_value(std::string_view label, association_type, float value, error_handler &err, int32_t line, tech_context &context)
void free_value(std::string_view name, error_handler &err, int32_t line, tech_group_context &context)
void finish(tech_group_context &)
tech_group_context(scenario_building_context &outer_context, ::culture::tech_category category)
::culture::tech_category category
scenario_building_context & outer_context
void finish(scenario_building_context &)
void any_value(std::string_view label, association_type, float value, error_handler &err, int32_t line, tech_context &context)
void finish(tech_context &)
void finish(invention_context &)
void any_value(std::string_view label, association_type, float value, error_handler &err, int32_t line, tech_context &context)
void finish(tech_context &)
void finish(scenario_building_context &)
void activate_unit(association_type, std::string_view value, error_handler &err, int32_t line, tech_context &context)
void area(association_type, std::string_view value, error_handler &err, int32_t line, tech_context &context)
void ai_chance(dcon::value_modifier_key value, error_handler &err, int32_t line, tech_context &context)
void any_value(std::string_view name, association_type, int32_t value, error_handler &err, int32_t line, tech_context &context)
void year(association_type, int32_t value, error_handler &err, int32_t line, tech_context &context)
tech_fac_goods_output factory_goods_output
tech_rgo_goods_output rgo_goods_output
void plurality(association_type, float value, error_handler &err, int32_t line, tech_context &context)
void activate_building(association_type, std::string_view value, error_handler &err, int32_t line, tech_context &context)
void any_group(std::string_view label, unit_modifier_body const &value, error_handler &err, int32_t line, tech_context &context)
void colonial_points(association_type, int32_t value, error_handler &err, int32_t line, tech_context &context)
void cost(association_type, int32_t value, error_handler &err, int32_t line, tech_context &context)
void finish(scenario_building_context &)
tech_schools_list schools
void finish(scenario_building_context &)
terrain_modifiers_list categories
palette_definition any_group
void finish(scenario_building_context &)
void finish(scenario_building_context &)
void finish(scenario_building_context &)
void fixedsize(association_type, bool v, error_handler &err, int32_t line, building_gfx_context &context)
void format(association_type, std::string_view txt, error_handler &err, int32_t line, building_gfx_context &context)
void font(association_type, std::string_view txt, error_handler &err, int32_t line, building_gfx_context &context)
void bordersize(gfx_xy_pair const &pr, error_handler &err, int32_t line, building_gfx_context &context)
void texturefile(association_type, std::string_view txt, error_handler &err, int32_t line, building_gfx_context &context)
scenario_building_context & outer_context
void experience(association_type, float value, error_handler &err, int32_t line, trait_context &context)
void attack(association_type, float value, error_handler &err, int32_t line, trait_context &context)
void finish(trait_context &)
void defence(association_type, float value, error_handler &err, int32_t line, trait_context &context)
void organisation(association_type, float value, error_handler &err, int32_t line, trait_context &context)
void reconnaissance(association_type, float value, error_handler &err, int32_t line, trait_context &context)
void morale(association_type, float value, error_handler &err, int32_t line, trait_context &context)
void speed(association_type, float value, error_handler &err, int32_t line, trait_context &context)
void reliability(association_type, float value, error_handler &err, int32_t line, trait_context &context)
void finish(scenario_building_context &)
void finish(scenario_building_context &)
triggered_modifier_context(scenario_building_context &outer_context, uint32_t index, std::string_view name)
scenario_building_context & outer_context
void finish(triggered_modifier_context &)
void finish(scenario_building_context &)
void finish(scenario_building_context &context)
void finish(scenario_building_context &context)
void finish(scenario_building_context &context)
void finish(scenario_building_context &context)
void finish(scenario_building_context &context)
void finish(scenario_building_context &)
void type_text(association_type, std::string_view value, error_handler &err, int32_t line, scenario_building_context &context)
void unit_type_text(association_type, std::string_view value, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &)
void finish(country_file_context &)
dcon::national_identity_id id
scenario_building_context & outer_context
void free_value(std::string_view text, error_handler &err, int32_t line, unit_names_context &context)
void finish(unit_names_context &)
void finish(country_history_context &)
void any_value(std::string_view value, association_type, float v, error_handler &err, int32_t line, country_history_context &context)
void first(association_type, std::string_view tag, error_handler &err, int32_t line, scenario_building_context &context)
void finish(scenario_building_context &)
void start_date(association_type, sys::year_month_day ymd, error_handler &err, int32_t line, scenario_building_context &context)
void end_date(association_type, sys::year_month_day ymd, error_handler &err, int32_t line, scenario_building_context &context)
void second(association_type, std::string_view tag, error_handler &err, int32_t line, scenario_building_context &context)
void finish(individual_option_context &)
void finish(individual_roption_context &)
void world_war(association_type, bool v, error_handler &err, int32_t line, war_history_context &context)
void rem_attacker(association_type, std::string_view tag, error_handler &err, int32_t line, war_history_context &context)
void add_defender(association_type, std::string_view tag, error_handler &err, int32_t line, war_history_context &context)
void rem_defender(association_type, std::string_view tag, error_handler &err, int32_t line, war_history_context &context)
void war_goal(history_war_goal const &value, error_handler &err, int32_t line, war_history_context &context)
void finish(war_history_context &)
void add_attacker(association_type, std::string_view tag, error_handler &err, int32_t line, war_history_context &context)
scenario_building_context & outer_context
war_history_context(scenario_building_context &outer_context)
std::vector< dcon::nation_id > defenders
std::vector< dcon::nation_id > attackers
std::vector< history_war_goal > wargoals
void name(association_type, std::string_view name, error_handler &err, int32_t line, war_history_context &context)
void finish(war_history_context &)
void positiontype(gui_element_common const &v, error_handler &err, int32_t line, building_gfx_context &context)
void windowtype(window const &v, error_handler &err, int32_t line, building_gfx_context &context)
std::vector< ui::element_data > children
void provincescriptbuttontype(province_script_button const &v, error_handler &err, int32_t line, building_gfx_context &context)
void icontype(image const &v, error_handler &err, int32_t line, building_gfx_context &context)
void guibuttontype(button const &v, error_handler &err, int32_t line, building_gfx_context &context)
void fullscreen(association_type, bool v, error_handler &err, int32_t line, building_gfx_context &context)
void eu3dialogtype(window const &v, error_handler &err, int32_t line, building_gfx_context &context)
void instanttextboxtype(textbox const &v, error_handler &err, int32_t line, building_gfx_context &context)
void nationscriptbuttontype(nation_script_button const &v, error_handler &err, int32_t line, building_gfx_context &context)
void scrollbartype(scrollbar const &v, error_handler &err, int32_t line, building_gfx_context &context)
void finish(building_gfx_context &context)
void textboxtype(textbox const &v, error_handler &err, int32_t line, building_gfx_context &context)
void editboxtype(textbox const &v, error_handler &err, int32_t line, building_gfx_context &context)
void overlappingelementsboxtype(overlapping const &v, error_handler &err, int32_t line, building_gfx_context &context)
std::vector< scripted_children > sc
void shieldtype(image const &v, error_handler &err, int32_t line, building_gfx_context &context)
void moveable(association_type, bool v, error_handler &err, int32_t line, building_gfx_context &context)
void listboxtype(listbox const &v, error_handler &err, int32_t line, building_gfx_context &context)
void checkboxtype(button const &v, error_handler &err, int32_t line, building_gfx_context &context)
float values[modifier_definition_size]
dcon::national_modifier_value offsets[modifier_definition_size]
static constexpr uint32_t modifier_definition_size
float values[modifier_definition_size]
static constexpr uint32_t modifier_definition_size
dcon::provincial_modifier_value offsets[modifier_definition_size]