• 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.
planet modifier

Paulaswam

Recruit
29 Badges
May 12, 2021
3
0
  • Cities: Skylines - Green Cities
  • Stellaris: Necroids
  • Stellaris: Federations
  • Hearts of Iron IV: La Resistance
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Cities: Skylines - Campus
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Megacorp
  • Cities: Skylines Industries
  • Stellaris: Distant Stars
  • Cities: Skylines - Parklife
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Mass Transit
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Natural Disasters
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Cities: Skylines - Snowfall
  • Cities: Skylines - After Dark
Thanks everyone for your responses
C:\Program Files (x86)\Steam\steamapps\common\Stellaris\common\static_modifiers

file: 02_static_modifiers

Solved :
1620941098998.png

1620941062759.png
 
Last edited:
If you want to add

1. A planet modifier named "irradiated_planet" for 720 days
2. A planetary deposit named "d_irradiated_ruins"

This should do the trick:

effect = from = { add_modifier = { name = irradiated_planet days = 720 } add_deposit = d_irradiated_ruins } }
 
Slight error here, I think. The tag needs to be modifier, not name. So:

Code:
add_modifier = { modifier = irradiated_planet days = 720 }

Typical. I did get a bit unsure when writing, but I was in a hurry and didn't bother to check. Thanks for the correction!
 
Thanks for all the responses everyone, however it seems non of them work. The add deposit is not longer added and the bugged modifier is now gone
1620878832892.png


I went ahead and tried something else, we're getting closer boys. hell yea the timer is working now
only thing left is to get the correct modifier to work
1620879930253.png

1620879902473.png
 

Attachments

  • 1620879568751.png
    1620879568751.png
    35,2 KB · Views: 0
Last edited:
Both versions work and essentially do the same thing. The issue with the first one is that you forgot the curly brackets in the "effects =" line.

The game will tell you about such syntax errors (and other stuff) in the error.log found here:
Documents\Paradox Interactive\Stellaris\logs

Very useful to find such small mistakes that mess things up.
 
Both versions work and essentially do the same thing. The issue with the first one is that you forgot the curly brackets in the "effects =" line.

The game will tell you about such syntax errors (and other stuff) in the error.log found here:
Documents\Paradox Interactive\Stellaris\logs

Very useful to find such small mistakes that mess things up.
Thanks for letting me know about the stellaris log, didnt know you could check like that ^-^