Project Alice
Loading...
Searching...
No Matches
effects.cpp File Reference
#include "effects.hpp"
#include "system_state.hpp"
#include "ai.hpp"
#include "demographics.hpp"
#include "politics.hpp"
#include "prng.hpp"
#include "province_templates.hpp"
#include "rebels.hpp"
#include "triggers.hpp"
#include "script_constants.hpp"
#include "nations.hpp"
#include "nations_templates.hpp"
Include dependency graph for effects.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  effect
 

Macros

#define EFFECT_PARAMTERS    uint16_t const *tval, sys::state &ws, int32_t primary_slot, int32_t this_slot, int32_t from_slot, uint32_t r_hi, uint32_t r_lo, bool& els
 
#define EFFECT_BYTECODE_ELEMENT(code, name, arg)   ef_##name,
 

Functions

uint32_t effect::internal_execute_effect (EFFECT_PARAMTERS)
 
uint32_t effect::apply_subeffects (EFFECT_PARAMTERS)
 
uint32_t effect::es_generic_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_if_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_else_if_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_x_neighbor_province_scope (EFFECT_PARAMTERS)
 
std::vector< dcon::province_id > effect::country_get_province_adjacency (sys::state &state, dcon::nation_id nat_id)
 
uint32_t effect::es_x_neighbor_province_scope_nation (EFFECT_PARAMTERS)
 
uint32_t effect::es_x_empty_neighbor_province_scope_nation (EFFECT_PARAMTERS)
 
uint32_t effect::es_x_neighbor_country_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_x_country_scope_nation (EFFECT_PARAMTERS)
 
uint32_t effect::es_x_event_country_scope_nation (EFFECT_PARAMTERS)
 
uint32_t effect::es_x_decision_country_scope_nation (EFFECT_PARAMTERS)
 
uint32_t effect::es_from_bounce_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_this_bounce_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_x_country_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_x_event_country_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_x_decision_country_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_x_empty_neighbor_province_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_x_greater_power_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_poor_strata_scope_nation (EFFECT_PARAMTERS)
 
uint32_t effect::es_poor_strata_scope_state (EFFECT_PARAMTERS)
 
uint32_t effect::es_poor_strata_scope_province (EFFECT_PARAMTERS)
 
uint32_t effect::es_middle_strata_scope_nation (EFFECT_PARAMTERS)
 
uint32_t effect::es_middle_strata_scope_state (EFFECT_PARAMTERS)
 
uint32_t effect::es_middle_strata_scope_province (EFFECT_PARAMTERS)
 
uint32_t effect::es_rich_strata_scope_nation (EFFECT_PARAMTERS)
 
uint32_t effect::es_rich_strata_scope_state (EFFECT_PARAMTERS)
 
uint32_t effect::es_rich_strata_scope_province (EFFECT_PARAMTERS)
 
uint32_t effect::es_x_pop_scope_nation (EFFECT_PARAMTERS)
 
uint32_t effect::es_x_pop_scope_state (EFFECT_PARAMTERS)
 
uint32_t effect::es_x_pop_scope_province (EFFECT_PARAMTERS)
 
uint32_t effect::es_x_owned_scope_nation (EFFECT_PARAMTERS)
 
uint32_t effect::es_x_owned_scope_state (EFFECT_PARAMTERS)
 
uint32_t effect::es_x_core_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_x_core_scope_province (EFFECT_PARAMTERS)
 
uint32_t effect::es_x_state_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_x_substate_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_random_list_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_random_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_random_by_modifier_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_owner_scope_state (EFFECT_PARAMTERS)
 
uint32_t effect::es_owner_scope_province (EFFECT_PARAMTERS)
 
uint32_t effect::es_controller_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_location_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_country_scope_pop (EFFECT_PARAMTERS)
 
uint32_t effect::es_country_scope_state (EFFECT_PARAMTERS)
 
uint32_t effect::es_capital_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_capital_scope_province (EFFECT_PARAMTERS)
 
uint32_t effect::es_this_scope_nation (EFFECT_PARAMTERS)
 
uint32_t effect::es_this_scope_state (EFFECT_PARAMTERS)
 
uint32_t effect::es_this_scope_province (EFFECT_PARAMTERS)
 
uint32_t effect::es_this_scope_pop (EFFECT_PARAMTERS)
 
uint32_t effect::es_from_scope_nation (EFFECT_PARAMTERS)
 
uint32_t effect::es_from_scope_state (EFFECT_PARAMTERS)
 
uint32_t effect::es_from_scope_province (EFFECT_PARAMTERS)
 
uint32_t effect::es_from_scope_pop (EFFECT_PARAMTERS)
 
uint32_t effect::es_sea_zone_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_cultural_union_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_overlord_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_sphere_owner_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_independence_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_flashpoint_tag_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_crisis_state_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_state_scope_province (EFFECT_PARAMTERS)
 
uint32_t effect::es_state_scope_pop (EFFECT_PARAMTERS)
 
uint32_t effect::es_tag_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_integer_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_pop_type_scope_nation (EFFECT_PARAMTERS)
 
uint32_t effect::es_pop_type_scope_state (EFFECT_PARAMTERS)
 
uint32_t effect::es_pop_type_scope_province (EFFECT_PARAMTERS)
 
uint32_t effect::es_region_scope (EFFECT_PARAMTERS)
 
uint32_t effect::es_region_proper_scope (EFFECT_PARAMTERS)
 
uint32_t effect::ef_none (EFFECT_PARAMTERS)
 
uint32_t effect::ef_capital (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_core_tag (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_core_tag_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_core_int (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_core_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_core_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_core_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_core_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_core_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_core_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_core_reb (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_core_state_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_core_state_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_core_state_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_core_state_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_core_state_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_core_state_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_core_state_reb (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_tag (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_tag_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_tag_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_int (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_nation_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_nation_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_nation_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_nation_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_nation_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_nation_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_nation_reb (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_state_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_state_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_state_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_state_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_state_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_state_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_state_reb (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_core_reb (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_region_name_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_region_name_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_trade_goods (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_accepted_culture (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_accepted_culture_union (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_accepted_culture_this (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_accepted_culture_union_this (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_accepted_culture_from (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_accepted_culture_union_from (EFFECT_PARAMTERS)
 
uint32_t effect::ef_primary_culture (EFFECT_PARAMTERS)
 
uint32_t effect::ef_primary_culture_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_primary_culture_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_primary_culture_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_primary_culture_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_primary_culture_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_accepted_culture (EFFECT_PARAMTERS)
 
uint32_t effect::ef_life_rating (EFFECT_PARAMTERS)
 
uint32_t effect::ef_life_rating_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_religion (EFFECT_PARAMTERS)
 
uint32_t effect::ef_religion_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_religion_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_is_slave_state_yes (EFFECT_PARAMTERS)
 
uint32_t effect::ef_is_slave_province_yes (EFFECT_PARAMTERS)
 
uint32_t effect::ef_is_slave_pop_yes (EFFECT_PARAMTERS)
 
uint32_t effect::ef_research_points (EFFECT_PARAMTERS)
 
uint32_t effect::ef_tech_school (EFFECT_PARAMTERS)
 
uint32_t effect::ef_government (EFFECT_PARAMTERS)
 
uint32_t effect::ef_government_reb (EFFECT_PARAMTERS)
 
uint32_t effect::ef_treasury (EFFECT_PARAMTERS)
 
uint32_t effect::ef_war_exhaustion (EFFECT_PARAMTERS)
 
uint32_t effect::ef_prestige (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_tag (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_tag_culture (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_tag_no_core_switch (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_tag_no_core_switch_culture (EFFECT_PARAMTERS)
 
uint32_t effect::ef_set_country_flag (EFFECT_PARAMTERS)
 
uint32_t effect::ef_clr_country_flag (EFFECT_PARAMTERS)
 
uint32_t effect::ef_military_access (EFFECT_PARAMTERS)
 
uint32_t effect::ef_military_access_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_military_access_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_military_access_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_military_access_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_badboy (EFFECT_PARAMTERS)
 
uint32_t effect::ef_secede_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_secede_province_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_secede_province_state_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_secede_province_state_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_secede_province_state_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_secede_province_state_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_secede_province_state_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_secede_province_state_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_secede_province_state_reb (EFFECT_PARAMTERS)
 
uint32_t effect::ef_secede_province_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_secede_province_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_secede_province_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_secede_province_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_secede_province_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_secede_province_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_secede_province_reb (EFFECT_PARAMTERS)
 
uint32_t effect::ef_inherit (EFFECT_PARAMTERS)
 
uint32_t effect::ef_inherit_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_inherit_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_inherit_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_inherit_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_inherit_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_inherit_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_annex_to (EFFECT_PARAMTERS)
 
uint32_t effect::ef_annex_to_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_annex_to_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_annex_to_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_annex_to_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_annex_to_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_annex_to_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_release (EFFECT_PARAMTERS)
 
uint32_t effect::ef_release_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_release_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_release_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_release_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_release_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_release_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_controller (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_controller_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_controller_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_controller_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_controller_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_controller_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_controller_state_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_controller_state_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_controller_state_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_controller_state_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_infrastructure (EFFECT_PARAMTERS)
 
uint32_t effect::ef_infrastructure_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_money (EFFECT_PARAMTERS)
 
uint32_t effect::ef_leadership (EFFECT_PARAMTERS)
 
uint32_t effect::ef_create_vassal (EFFECT_PARAMTERS)
 
uint32_t effect::ef_create_vassal_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_create_vassal_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_create_vassal_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_create_vassal_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_end_military_access (EFFECT_PARAMTERS)
 
uint32_t effect::ef_end_military_access_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_end_military_access_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_end_military_access_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_end_military_access_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_leave_alliance (EFFECT_PARAMTERS)
 
uint32_t effect::ef_leave_alliance_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_leave_alliance_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_leave_alliance_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_leave_alliance_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_end_war (EFFECT_PARAMTERS)
 
uint32_t effect::ef_end_war_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_end_war_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_end_war_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_end_war_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_enable_ideology (EFFECT_PARAMTERS)
 
uint32_t effect::ef_ruling_party_ideology (EFFECT_PARAMTERS)
 
uint32_t effect::ef_plurality (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_province_modifier (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_province_modifier_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_country_modifier (EFFECT_PARAMTERS)
 
uint32_t effect::ef_create_alliance (EFFECT_PARAMTERS)
 
uint32_t effect::ef_create_alliance_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_create_alliance_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_create_alliance_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_create_alliance_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_release_vassal (EFFECT_PARAMTERS)
 
uint32_t effect::ef_release_vassal_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_release_vassal_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_release_vassal_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_release_vassal_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_release_vassal_reb (EFFECT_PARAMTERS)
 
uint32_t effect::ef_release_vassal_random (EFFECT_PARAMTERS)
 
uint32_t effect::ef_release_vassal_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_release_vassal_province_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_release_vassal_province_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_release_vassal_province_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_release_vassal_province_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_release_vassal_province_reb (EFFECT_PARAMTERS)
 
uint32_t effect::ef_release_vassal_province_random (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_province_name (EFFECT_PARAMTERS)
 
uint32_t effect::ef_enable_canal (EFFECT_PARAMTERS)
 
uint32_t effect::ef_set_global_flag (EFFECT_PARAMTERS)
 
uint32_t effect::ef_clr_global_flag (EFFECT_PARAMTERS)
 
uint32_t effect::ef_nationalvalue_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_nationalvalue_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_civilized_yes (EFFECT_PARAMTERS)
 
uint32_t effect::ef_civilized_no (EFFECT_PARAMTERS)
 
uint32_t effect::ef_is_slave_state_no (EFFECT_PARAMTERS)
 
uint32_t effect::ef_is_slave_pop_no (EFFECT_PARAMTERS)
 
uint32_t effect::ef_is_slave_province_no (EFFECT_PARAMTERS)
 
uint32_t effect::ef_election (EFFECT_PARAMTERS)
 
uint32_t effect::ef_social_reform (EFFECT_PARAMTERS)
 
uint32_t effect::ef_social_reform_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_political_reform (EFFECT_PARAMTERS)
 
uint32_t effect::ef_political_reform_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_tax_relative_income (EFFECT_PARAMTERS)
 
uint32_t effect::ef_neutrality (EFFECT_PARAMTERS)
 
uint32_t effect::ef_reduce_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_reduce_pop_abs (EFFECT_PARAMTERS)
 
uint32_t effect::ef_reduce_pop_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_reduce_pop_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_reduce_pop_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_move_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_pop_type (EFFECT_PARAMTERS)
 
uint32_t effect::ef_years_of_research (EFFECT_PARAMTERS)
 
uint32_t effect::ef_prestige_factor_positive (EFFECT_PARAMTERS)
 
uint32_t effect::ef_prestige_factor_negative (EFFECT_PARAMTERS)
 
uint32_t effect::ef_military_reform (EFFECT_PARAMTERS)
 
uint32_t effect::ef_economic_reform (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_random_military_reforms (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_random_economic_reforms (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_crime (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_crime_none (EFFECT_PARAMTERS)
 
uint32_t effect::ef_nationalize (EFFECT_PARAMTERS)
 
uint32_t effect::ef_build_factory_in_capital_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_activate_technology (EFFECT_PARAMTERS)
 
uint32_t effect::ef_activate_invention (EFFECT_PARAMTERS)
 
uint32_t effect::ef_great_wars_enabled_yes (EFFECT_PARAMTERS)
 
uint32_t effect::ef_great_wars_enabled_no (EFFECT_PARAMTERS)
 
uint32_t effect::ef_world_wars_enabled_yes (EFFECT_PARAMTERS)
 
uint32_t effect::ef_world_wars_enabled_no (EFFECT_PARAMTERS)
 
uint32_t effect::ef_assimilate_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_assimilate_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_assimilate_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_set_culture_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_literacy (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_crisis_interest (EFFECT_PARAMTERS)
 
uint32_t effect::ef_flashpoint_tension (EFFECT_PARAMTERS)
 
uint32_t effect::ef_flashpoint_tension_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_crisis_temperature (EFFECT_PARAMTERS)
 
uint32_t effect::ef_consciousness (EFFECT_PARAMTERS)
 
uint32_t effect::ef_consciousness_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_consciousness_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_consciousness_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_militancy (EFFECT_PARAMTERS)
 
uint32_t effect::ef_militancy_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_militancy_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_militancy_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_rgo_size (EFFECT_PARAMTERS)
 
uint32_t effect::ef_fort (EFFECT_PARAMTERS)
 
uint32_t effect::ef_naval_base (EFFECT_PARAMTERS)
 
uint32_t effect::ef_bank (EFFECT_PARAMTERS)
 
uint32_t effect::ef_university (EFFECT_PARAMTERS)
 
uint32_t effect::ef_fort_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_naval_base_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_bank_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_university_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_trigger_revolt_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_trigger_revolt_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_trigger_revolt_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_diplomatic_influence (EFFECT_PARAMTERS)
 
uint32_t effect::ef_diplomatic_influence_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_diplomatic_influence_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_diplomatic_influence_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_diplomatic_influence_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_relation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_relation_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_relation_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_relation_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_relation_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_province_modifier (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_province_modifier_no_duration (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_province_modifier_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_province_modifier_state_no_duration (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_country_modifier (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_country_modifier_no_duration (EFFECT_PARAMTERS)
 
uint32_t effect::ef_casus_belli_tag (EFFECT_PARAMTERS)
 
uint32_t effect::ef_casus_belli_int (EFFECT_PARAMTERS)
 
uint32_t effect::ef_casus_belli_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_casus_belli_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_casus_belli_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_casus_belli_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_casus_belli_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_casus_belli_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_casus_belli_tag (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_casus_belli_int (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_casus_belli_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_casus_belli_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_casus_belli_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_casus_belli_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_casus_belli_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_casus_belli_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_casus_belli_tag (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_casus_belli_int (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_casus_belli_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_casus_belli_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_casus_belli_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_casus_belli_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_casus_belli_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_remove_casus_belli_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_this_remove_casus_belli_tag (EFFECT_PARAMTERS)
 
uint32_t effect::ef_this_remove_casus_belli_int (EFFECT_PARAMTERS)
 
uint32_t effect::ef_this_remove_casus_belli_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_this_remove_casus_belli_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_this_remove_casus_belli_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_this_remove_casus_belli_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_this_remove_casus_belli_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_this_remove_casus_belli_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_truce_tag (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_truce_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_truce_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_truce_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_truce_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_truce_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_truce_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_call_allies (EFFECT_PARAMTERS)
 
uint32_t effect::ef_ruling_party_this (EFFECT_PARAMTERS)
 
uint32_t effect::ef_ruling_party_from (EFFECT_PARAMTERS)
 
uint32_t effect::ef_war_tag (EFFECT_PARAMTERS)
 
uint32_t effect::ef_war_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_war_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_war_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_war_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_war_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_war_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_war_no_ally_tag (EFFECT_PARAMTERS)
 
uint32_t effect::ef_war_no_ally_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_war_no_ally_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_war_no_ally_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_war_no_ally_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_war_no_ally_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_war_no_ally_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_country_event_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_country_event_immediate_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_province_event_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_province_event_immediate_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_country_event_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_country_event_immediate_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_province_event_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_province_event_immediate_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_country_event_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_country_event_immediate_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_province_event_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_province_event_immediate_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_country_event_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_country_event_immediate_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_province_event_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_province_event_immediate_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_country_event_province_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_country_event_immediate_province_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_country_event_province_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_country_event_immediate_province_this_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_country_event_province_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_country_event_immediate_province_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_country_event_province_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_country_event_immediate_province_this_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_sub_unit_int (EFFECT_PARAMTERS)
 
uint32_t effect::ef_sub_unit_this (EFFECT_PARAMTERS)
 
uint32_t effect::ef_sub_unit_from (EFFECT_PARAMTERS)
 
uint32_t effect::ef_sub_unit_current (EFFECT_PARAMTERS)
 
uint32_t effect::ef_set_variable (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_variable (EFFECT_PARAMTERS)
 
uint32_t effect::ef_ideology (EFFECT_PARAMTERS)
 
uint32_t effect::ef_upper_house (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_militancy_issue (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_militancy_ideology (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_militancy_unemployment (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_consciousness_issue (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_consciousness_ideology (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_consciousness_unemployment (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_militancy_nation_issue (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_militancy_nation_ideology (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_militancy_nation_unemployment (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_consciousness_nation_issue (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_consciousness_nation_ideology (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_consciousness_nation_unemployment (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_militancy_state_issue (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_militancy_state_ideology (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_militancy_state_unemployment (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_consciousness_state_issue (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_consciousness_state_ideology (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_consciousness_state_unemployment (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_militancy_province_issue (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_militancy_province_ideology (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_militancy_province_unemployment (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_consciousness_province_issue (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_consciousness_province_ideology (EFFECT_PARAMTERS)
 
uint32_t effect::ef_scaled_consciousness_province_unemployment (EFFECT_PARAMTERS)
 
uint32_t effect::ef_variable_good_name (EFFECT_PARAMTERS)
 
uint32_t effect::ef_variable_good_name_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_kill_leader (EFFECT_PARAMTERS)
 
uint32_t effect::ef_define_general (EFFECT_PARAMTERS)
 
uint32_t effect::ef_define_admiral (EFFECT_PARAMTERS)
 
uint32_t effect::ef_dominant_issue (EFFECT_PARAMTERS)
 
uint32_t effect::ef_dominant_issue_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_war_goal (EFFECT_PARAMTERS)
 
uint32_t effect::ef_move_issue_percentage_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_move_issue_percentage_state (EFFECT_PARAMTERS)
 
uint32_t effect::ef_move_issue_percentage_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_move_issue_percentage_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_party_loyalty (EFFECT_PARAMTERS)
 
uint32_t effect::ef_party_loyalty_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_build_railway_in_capital_yes_whole_state_yes_limit (EFFECT_PARAMTERS)
 
uint32_t effect::ef_build_railway_in_capital_yes_whole_state_no_limit (EFFECT_PARAMTERS)
 
uint32_t effect::ef_build_railway_in_capital_no_whole_state_yes_limit (EFFECT_PARAMTERS)
 
uint32_t effect::ef_build_railway_in_capital_no_whole_state_no_limit (EFFECT_PARAMTERS)
 
uint32_t effect::ef_build_fort_in_capital_yes_whole_state_yes_limit (EFFECT_PARAMTERS)
 
uint32_t effect::ef_build_fort_in_capital_yes_whole_state_no_limit (EFFECT_PARAMTERS)
 
uint32_t effect::ef_build_fort_in_capital_no_whole_state_yes_limit (EFFECT_PARAMTERS)
 
uint32_t effect::ef_build_fort_in_capital_no_whole_state_no_limit (EFFECT_PARAMTERS)
 
uint32_t effect::ef_relation_reb (EFFECT_PARAMTERS)
 
uint32_t effect::ef_variable_tech_name_yes (EFFECT_PARAMTERS)
 
uint32_t effect::ef_variable_tech_name_no (EFFECT_PARAMTERS)
 
uint32_t effect::ef_variable_invention_name_yes (EFFECT_PARAMTERS)
 
uint32_t effect::ef_variable_invention_name_no (EFFECT_PARAMTERS)
 
uint32_t effect::ef_set_country_flag_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_set_country_flag_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_country_modifier_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_add_country_modifier_province_no_duration (EFFECT_PARAMTERS)
 
uint32_t effect::ef_relation_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_relation_province_this_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_relation_province_this_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_relation_province_from_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_relation_province_from_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_relation_province_reb (EFFECT_PARAMTERS)
 
uint32_t effect::ef_treasury_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_build_bank_in_capital_yes_whole_state_yes_limit (EFFECT_PARAMTERS)
 
uint32_t effect::ef_build_bank_in_capital_yes_whole_state_no_limit (EFFECT_PARAMTERS)
 
uint32_t effect::ef_build_bank_in_capital_no_whole_state_yes_limit (EFFECT_PARAMTERS)
 
uint32_t effect::ef_build_bank_in_capital_no_whole_state_no_limit (EFFECT_PARAMTERS)
 
uint32_t effect::ef_build_university_in_capital_yes_whole_state_yes_limit (EFFECT_PARAMTERS)
 
uint32_t effect::ef_build_university_in_capital_yes_whole_state_no_limit (EFFECT_PARAMTERS)
 
uint32_t effect::ef_build_university_in_capital_no_whole_state_yes_limit (EFFECT_PARAMTERS)
 
uint32_t effect::ef_build_university_in_capital_no_whole_state_no_limit (EFFECT_PARAMTERS)
 
uint32_t effect::ef_annex_to_null_nation (EFFECT_PARAMTERS)
 
uint32_t effect::ef_annex_to_null_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_fop_clr_global_flag_2 (EFFECT_PARAMTERS)
 
uint32_t effect::ef_fop_clr_global_flag_3 (EFFECT_PARAMTERS)
 
uint32_t effect::ef_fop_clr_global_flag_4 (EFFECT_PARAMTERS)
 
uint32_t effect::ef_fop_clr_global_flag_5 (EFFECT_PARAMTERS)
 
uint32_t effect::ef_fop_clr_global_flag_6 (EFFECT_PARAMTERS)
 
uint32_t effect::ef_fop_clr_global_flag_7 (EFFECT_PARAMTERS)
 
uint32_t effect::ef_fop_clr_global_flag_8 (EFFECT_PARAMTERS)
 
uint32_t effect::ef_fop_clr_global_flag_9 (EFFECT_PARAMTERS)
 
uint32_t effect::ef_fop_clr_global_flag_10 (EFFECT_PARAMTERS)
 
uint32_t effect::ef_fop_clr_global_flag_11 (EFFECT_PARAMTERS)
 
uint32_t effect::ef_fop_clr_global_flag_12 (EFFECT_PARAMTERS)
 
uint32_t effect::ef_fop_change_province_name (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_terrain_province (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_terrain_pop (EFFECT_PARAMTERS)
 
uint32_t effect::ef_masquerade_as_nation_this (EFFECT_PARAMTERS)
 
uint32_t effect::ef_masquerade_as_nation_from (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_party_name (EFFECT_PARAMTERS)
 
uint32_t effect::ef_change_party_position (EFFECT_PARAMTERS)
 
void effect::execute (sys::state &state, dcon::effect_key key, int32_t primary, int32_t this_slot, int32_t from_slot, uint32_t r_lo, uint32_t r_hi)
 
void effect::execute (sys::state &state, uint16_t const *data, int32_t primary, int32_t this_slot, int32_t from_slot, uint32_t r_lo, uint32_t r_hi)
 

Variables

constexpr uint32_t(* effect::effect_functions [])(EFFECT_PARAMTERS)
 

Macro Definition Documentation

◆ EFFECT_BYTECODE_ELEMENT

#define EFFECT_BYTECODE_ELEMENT (   code,
  name,
  arg 
)    ef_##name,

◆ EFFECT_PARAMTERS

#define EFFECT_PARAMTERS    uint16_t const *tval, sys::state &ws, int32_t primary_slot, int32_t this_slot, int32_t from_slot, uint32_t r_hi, uint32_t r_lo, bool& els

Definition at line 16 of file effects.cpp.