• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Pardua

Private
30 Badges
Jun 20, 2016
15
6
  • Cities: Skylines - Mass Transit
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Cities: Skylines - Campus
  • Stellaris: Megacorp
  • Cities: Skylines Industries
  • Stellaris: Distant Stars
  • Cities: Skylines - Parklife
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Green Cities
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Natural Disasters
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Cities: Skylines - Snowfall
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Common Sense
  • Cities: Skylines Deluxe Edition
  • Cities: Skylines
  • Europa Universalis IV: Art of War
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:

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

1715811925309.png
 
  • 1Like
Reactions: