I would like ask a question about properly scoping a state event to target one specific state.
The code below will not make this state event fire for the state of West Galicia. Is there any experienced modder who could tell me how to properly scope to particular states in a trigger? Any help would be much appreciated.
I have already tried
The code below will not make this state event fire for the state of West Galicia. Is there any experienced modder who could tell me how to properly scope to particular states in a trigger? Any help would be much appreciated.
Code:
namespace = test_events
migration_test_events.1 = {
type = state_event type = state_event
placement = ROOT
icon = "gfx/interface/icons/event_icons/event_newspaper.dds"
title = "Test"
desc = "Test"
flavor = test_events.1.f
trigger = {
this = s:STATE_WEST_GALICIA.region_state:AUS
}
immediate = {
}
option = {
name = "Test"
default_option = yes
random_scope_pop = {
limit = {
is_pop_type = peasants
}
set_pop_wealth = {
wealth_distribution = {
value = 8
}
}
}
}
}
I have already tried
Code:
ROOT = s:STATE_WEST_GALICIA.region_state:AUS