Stellaris

Stellaris

Developing Ethics and Origins [2.3.*] (DISCONTINUED)
 This topic has been pinned, so it's probably important
Kiyosan  [developer] 8 May, 2019 @ 11:41am
For Civic Mod Creators
To make your civic mod compatible with mine, use this template. Note that you will need an on-action file for triggering one of the events. Also, please only add civics that can only be available at game start as the intent of this mod is to only have origin civics available at game start.

ONLY POST HERE IF YOUR MOD IS NOT WORKING CORRECTLY WITH THIS ONE!

namespace = yourNamespace # (This requires an on-action file for triggering this event at game start!) event = { id = yourNamespace.0 hide_window = yes is_triggered_only = yes fire_only_once = yes immediate = { every_country = { limit = { OR = { #Add as many of your modded ORIGIN civics as needed has_civic = civic_yourCivic } } country_event = { id = yourNamespace.1 days = 2 } } } } # Set empires with a modded civic to have a country flag for overriding the effects of my mod country_event = { id = yourNamespace.1 hide_window = yes is_triggered_only = yes trigger = { has_global_flag = kiyo_mod_origin_init } immediate = { # Flag is to prevent civic from changing to default Star Seekers civic set_country_flag = kiyo_mod_origin_has_modded_origin_civic # Add ethics for civics that require them (optional) switch = { trigger = has_civic #Add modded civics/ethics as NEEDED civic_yourCivic = { country_add_ethic = ethic_reqEthic country_add_ethic = ethic_fanatic_reqEthic } } log = "[This.GetName] has a modded origin civic." } }
Last edited by Kiyosan; 11 May, 2019 @ 3:03pm