# Scripted cost modifiers for peace actions ## How to access data from the peace action #- `ROOT` - Negotiator country (who is doing the negotiation) #- `FROM` - Taker country (who will be the owner after the conference) #- `FROM.FROM` - Giver country (who was the owner before the conference) #- `FROM.FROM.FROM` - State (iff peace action refers to a state) #You might have to use e.g. `ROOT.FROM` to access the variable from inside another scope ## Possible peace action types #- `take_states` #- `puppet` #- `force_government` #- `liberate` peace_action_modifiers = { PRC_infiltrated_states_cheaper_to_take = { category = treaties_or_conferences peace_action_type = take_states enable = { ROOT = { tag = PRC } FROM.FROM.FROM = { OR = { has_dynamic_modifier = { modifier = PRC_guerilla_cells_active_1 scope = PRC } has_dynamic_modifier = { modifier = PRC_guerilla_cells_active_2 scope = PRC } has_dynamic_modifier = { modifier = PRC_anti_japanese_base scope = PRC } has_dynamic_modifier = { modifier = PRC_infiltrated_state_1 scope = PRC } has_dynamic_modifier = { modifier = PRC_infiltrated_state_2 scope = PRC } has_dynamic_modifier = { modifier = PRC_infiltrated_state_3 scope = PRC } } } } cost_multiplier = 0.5 } }