Stellaris

Stellaris

Not enough ratings
Mutation Resource
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
476.160 KB
15 Dec @ 5:37am
1 Change Note ( view )

Subscribe to download
Mutation Resource

Description
Resource mod to facilitate role-locking leaders and otherwise changing things that can't straightforwardly be changed.

Supports the same list of mods as Repeating Script Templates. As with Repeating Script Templates, I'm happy to add support for any mod so long as it has a compatibility variable and you tell me so.

Provides the following scripted effects:

- mr_transfer_<scope type>_pointers
mr_transfer_<scope type>_pointers = { target = <target> }
transfers all global event targets and @ pointers (from Vanilla and supported mods) from the targeted object to the scoped object.
scope type can be 'country', 'planet', 'species', 'fleet', 'leader', 'ship', 'situation', 'galactic_object', 'ambient_object', 'espionage_operation', or 'bypass' - i.e. any scope which type that has transferrable pointers to it in a supported mod.

- mr_copy_<scope_type>_modifiers
mr_copy_<scope type>_modifiers = { target = <target> }
copies all static modifiers (from Vanilla and supported mods) from the target object to the scoped object. scope type can be any scope type that supports modifiers.

- mr_steal_leader_assignment
mr_steal_leader_assignment = { target = <target> }
Gives the scoped leader the assignment of the target leader so long as that assignment is a country, fleet, planet, or group of armies.

- mr_replace_on_council
mr_replace_on_council = { target = <target> }
Gives the scoped leader the target leader's council position (so long as that position is from Vanilla or a supported mod)

- mr_rebuild_leader
mr_rebuild_leader = { target = <target> # the leader to copy clone_leader_parameters = " <parameters for clone_leader effect, e.g. can_change_assignment = yes/no, hidden = yes/no> " effect = " <effects to run immediately before the original leader is deleted. this = new leader, prev = original leader> " }
effect to change the immutable properties of a leader - runs clone_leader, mr_transfer_leader_pointers, mr_steal_leader_assignment, and mr_replace_on_council. This effect is not currently able to preserve local event targets, pending or active leader events, or status as a "from" scope for pending or active events. Except for the bickering admirals event chain, this mod also overwrites that chain to work with this.