Stellaris

Stellaris

25 ratings
~Repeating Script Templates
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
19.717 MB
29 Jan, 2023 @ 1:00am
8 Nov, 2024 @ 10:34pm
15 Change Notes ( view )

Subscribe to download
~Repeating Script Templates

Description
Provides a set of inline scripts which allow mods to iterate over technologies, resources, civics and so.

These scripts will iterate over objects from Vanilla and from any of the following supported mods which are installed:
  • Planetary Diversity
  • Planetary Diversity: Unique Worlds
  • Gigastructural Engineering and More
  • Ancient Caches of Technologies
  • Stellaris Evolved
  • Ethics and Civics
  • Bug Branch
  • More Events Mod
  • Dynamic Political Events
  • Wild Space
  • Aggressive Crisis Engine
  • all of my own mods

If you want your mod added to the supported mods, add a compatibility variable if you don't already have one (e.g. @my_mod_active = 1) and ask me to add it.

***

To manually change the properties for certain parameters, I suggest using set_global_flag and has_global_flag; for example, if you want an effect to work differently for unity than for other resources, you could set the global flag "unity_is_unity" then check for the global flag "$resource$_is_unity"
Popular Discussions View All (1)
0
11 Oct, 2024 @ 9:44pm
Instructions
kuyan-judith
34 Comments
kuyan-judith  [author] 9 Nov, 2024 @ 2:12pm 
Now updated to 3.14.15
kuyan-judith  [author] 11 Oct, 2024 @ 9:48pm 
Added documentation in discussion
kuyan-judith  [author] 11 Oct, 2024 @ 6:20pm 
Added a set of scripts under "rst/foreach" which are similar to the "foreach" scripts but take text rather than an inline script as input.
kuyan-judith  [author] 28 Sep, 2024 @ 2:32pm 
Possibly "supported" is the wrong word for that? But I couldn't think of a better one.

(Intel Expanded isn't listed as a supported mod since it doesn't have any content of the sort this mod could fail to support)
kuyan-judith  [author] 28 Sep, 2024 @ 2:29pm 
@Figaround: This mod is currently required for two mods that I know of, those being Intel Expanded (https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2746061348) and Diagrapher's Trait Mod (https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2459686697)

What I mean by the list of *supported* mods is; in Intel Expanded, technologies, traditions and so on *from the supported mods* will be visible in the custom interface but ones *from other mods* won't be. And other mods relying on this one would have similar issues.
Figaround 28 Sep, 2024 @ 12:17pm 
I am especially annoyed that you did not have enough RAM for something. I haven't been able to complete many games anyway, because the performance on my laptop drops catastrophically in a late game.
Figaround 28 Sep, 2024 @ 12:14pm 
I didn't play for more than six months. Please remind me, what this mod is for? I went to the pages of the mods you specified, for example, Aggressive Crisis Engine or Aggressive Crisis Engine - it does not indicate that this mod is needed. :gregory:
kuyan-judith  [author] 6 Jun, 2024 @ 6:08am 
(specifically, Irony seems to think the brackets for inline maths aren't closed properly if they contain script variables)
kuyan-judith  [author] 6 Jun, 2024 @ 6:04am 
@Minime: the error there is with Irony, not with this mod.
Minime 5 Jun, 2024 @ 9:28am 
Irony Mod Manager gives about 43 serious errors with this mod. The errors have to do with clauses that were opened, but not closed. About 43 files (errors) need fixed to add the closing brackets ( missing the " } '"). This comment is valid as of 06/05/2024. Really like the mod, and thanking you in advance for your efforts!