Hi,
I'm trying to create an event to select a specific good. I want to use this selection later for add_cultural_obsession.
So at the moment it looks like this:
later in the event chain it is used like this
But it does not work.
The log says
So I guess, either my scope is not filled correctly or the effect does not accept a scope as input.
The Wiki just says
Can someone help me pointing to the right direction?
Thanks in advance!
Here is a picture of an overlord which I will award as price for the one who can help me
I'm trying to create an event to select a specific good. I want to use this selection later for add_cultural_obsession.
So at the moment it looks like this:
Code:
option = {
name = ssmo_goods.1.d
g:et_cola = {
save_scope_as = ssmo_good_scope
}
trigger_event = { id = sell_something.1 popup = yes}
}
later in the event chain it is used like this
Code:
add_cultural_obsession = scope:ssmo_good_scope
But it does not work.
The log says
PostValidate of effect 'add_cultural_obsession' returned false at file: events/ssmo_sell_target_ba_events.txt line: 17
Error: has_cultural_obsession trigger [ Invalid database object 'scope:ssmo_good_scope'
So I guess, either my scope is not filled correctly or the effect does not accept a scope as input.
The Wiki just says
add_cultural_obsession = X
Where X is a goods
Can someone help me pointing to the right direction?
Thanks in advance!
Here is a picture of an overlord which I will award as price for the one who can help me

- 1