Planetary Modifier Enhancements

If you liked this item, please rate it up on Steam Workshop page.

Author: corsairmarks

Last revision: 11 May, 2023 at 09:41 UTC (4)

File size: 311.3 KB

On Steam Workshop

Description:
Overview

I wanted to tweak several planetary modifiers to provide more flavorful and useful bonuses.

  1. The C.A.R.E Interactive Interface is an economic optimization engine, so I wanted it to give a bonus to trade value
  2. The Extensive Moon System modifier adds mining districts and output… to gas giants which can’t be colonized, so I changed it to give a bonus to mining stations (but not research stations) that also applies to any unhabitable moons, and moved the bonus mineral jobs production and mining districts onto any/all habitable moons
  3. The Resource Consolidation origin goes through all the trouble of shrinking gas giants and converting them to molten worlds tagged with the "Chthonian Planet" modifier but then a game start event clears all modifiers, so I wanted to stop blanket deleting planetary modifiers in starting systems
  4. Allow multiple planetary modifiers to spawn on any given planet, as suggested by the majority of the planetary modifier spawn code (which weights some higher or lower in the presence of other planetary modifiers)
  5. Convert all the "mineral richness" related modifiers to provide bonuses to the miner job category (rather than only minerals production) and mining station output, similar to the changes for #2
Compatibility

This mod should be fairly compatible with other mods. Incompatibilities would likely occur if other mods also overwrite or add same the planetary or static modifier IDs. If another mod is attempting to specify the same modifiers: first in wins for static modifiers, but last in wins for planetary modifiers. This mod overwrites 8 different static modifiers and 23 planetary modifiers.

This mod also overrides a game setup event game_setup.2. I find it unlikely other mods would be changing this event (it clears planetary modifiers for home systems); in any case first in wins for events.

Built for Stellaris version 3.8 "Gemini." Not compatible with achievements. Largely compatible with Guilli’s Planet Modifiers and Features – Guilli’s static modifier changes will take precedence but there are no error-causing conflicts. Also has built-in compatibility with Planetary Diversity.

When to Install

This mod can be safely added to your save after the game has started, but not removed. If this mod is not active at game start, you will miss out of the Extensive Moon System (Moon) modifier being applied to the moons of gas giants with Extensive Moon System and minerals being added to some planets with modifiers but no deposits. Removing this mod will result in unknown planetary modifiers – which Stellaris may or may not handle gracefully.

Known Issues

Overriding static modifiers and preempting events cause the game to log errors, so expect to see twenty-four (!) lines in the error.log file similar to:

[20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_hazardous_weather already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 4 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_dangerous_wildlife already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 24 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_weak_magnetic_field already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 54 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_strong_magnetic_field already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 79 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_unstable_tectonics already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 104 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_tidal_locked already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 133 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_chthonian_planet already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 157 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_asteroid_impacts already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 177 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_extensive_moon_system already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 206 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_carbon_world already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 234 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_wild_storms already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 260 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_low_gravity already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 280 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_high_gravity already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 321 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_mineral_rich already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 362 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_ultra_rich already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 396 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_mineral_poor already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 421 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_titanic_life already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 452 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_asteroid_belt already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 484 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_natural_beauty already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 512 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_atmospheric_aphrodisiac already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 535 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_atmospheric_hallucinogen already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 555 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_lush already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 575 [20:57:42][game_singleobjectdatabase.h:165]: Object with key: pm_bleak already exists, using the one at file: 01_planetary_modifier_enhancements_planetary_modifier_overrides.txt line: 606 [20:57:44][eventmanager.cpp:368]: an event with id [game_start.2] already exists! file: events/game_start.txt line: 253
Changelog

See the Change Notes

Source Code

Hosted on GitHub[github.com]

[discord.gg]

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.