I get it. You want to add orbital deposits on habitable planets for countries who don't want to colonise the planet and build a mining station to mine it instead.
I am taking a gander at the bug @Guilliman88 has discovered, that planets lose deposits.
In file anomaly_events_6.txt, we have these 2 new events:
Now, take a look at 01_orbital_deposits.txt, we have
And
What does it mean?
It means they have added these events to add 7 Minerals or Energy if the celestial body has those chosen properties, as Orbital Deposits, where you should build a mining station to mine it.
It is also linked to how we are seeing more 7-point celestial bodies as now these events guarantee that every single celestial body with these planet modifiers (Chthonian Plant, etc) will always have 7 points.
BUT! These orbital deposits are not for habitable planets. So the problem lies not in "clear_deposits = yes", but the triggers.
Let's take a look at the modifiers
Two possibilities
A fix would be to remove the trigger conditions from those 2 events, or change the method to add an orbital deposit instead of a planetary feature.
A quick fix by a mod is to comment out all those lines under the trigger with a Habitable World as the target.
Sigh... 2.2.4 is supposed to fix bugs, not introduce new features like this. You should add orbital deposits after you have fixed other things and release it around 2.2.6 or later.
I am taking a gander at the bug @Guilliman88 has discovered, that planets lose deposits.
In file anomaly_events_6.txt, we have these 2 new events:
Code:
# add deposits for mineral modifiers
ship_event = {
id = anomaly.6662
hide_window = yes
is_triggered_only = yes
trigger = {
from = {
OR = {
has_modifier = chthonian_planet
has_modifier = extensive_moon_system
has_modifier = unstable_tectonics
has_modifier = ultra_rich
has_modifier = mineral_rich
has_modifier = asteroid_impacts
has_modifier = carbon_world
has_modifier = asteroid_belt
}
NOR = {
has_deposit = d_minerals_7
has_deposit = d_minerals_8
has_deposit = d_minerals_9
has_deposit = d_minerals_10
}
}
}
immediate = {
from = {
prevent_anomaly = yes
clear_deposits = yes
add_deposit = d_minerals_7
}
}
}
# add deposits for energy modifiers
ship_event = {
id = anomaly.6663
hide_window = yes
is_triggered_only = yes
trigger = {
from = {
OR = {
has_modifier = hazardous_weather
has_modifier = strong_magnetic_field
has_modifier = unstable_tectonics
has_modifier = ultra_rich
has_modifier = mineral_rich
has_modifier = asteroid_impacts
}
NOR = {
has_deposit = d_energy_7
has_deposit = d_energy_8
has_deposit = d_energy_9
has_deposit = d_energy_10
}
}
}
immediate = {
from = {
prevent_anomaly = yes
clear_deposits = yes
add_deposit = d_energy_7
}
}
}
Now, take a look at 01_orbital_deposits.txt, we have
Code:
d_minerals_7 = {
resources = {
category = orbital_mining_deposits
produces = {
minerals = 7
}
}
station = shipclass_mining_station
is_for_colonizeable = no
potential = { always = no }
drop_weight = { weight = 0 }
}
And
Code:
d_energy_7 = {
resources = {
category = orbital_mining_deposits
produces = {
energy = 7
}
}
station = shipclass_mining_station
is_for_colonizeable = no
potential = { always = no }
drop_weight = { weight = 0 }
}
What does it mean?
It means they have added these events to add 7 Minerals or Energy if the celestial body has those chosen properties, as Orbital Deposits, where you should build a mining station to mine it.
It is also linked to how we are seeing more 7-point celestial bodies as now these events guarantee that every single celestial body with these planet modifiers (Chthonian Plant, etc) will always have 7 points.
BUT! These orbital deposits are not for habitable planets. So the problem lies not in "clear_deposits = yes", but the triggers.
Let's take a look at the modifiers
- // 7 Minerals
- Chthonian Planet - Molten World, 30% chance
- Extensive Moon System - Gas Giant, 10% chance and +-
- Unstable Tectonics - Barren and Ice Barren, 20% chance and +-
- Ultra Rich - Habitable Worlds
- Mineral Rich - Habitable Worlds
- Asteroid Impacts - Habitable Worlds
- Carbon World - Barren and Ice Barren, 20% chance and +-
- Asteroid Belt - All classes, various chances
- // 7 Energy
- Hazardous Weather - Habitable Worlds
- Strong Magnetic Field - Habitable Worlds
- Unstable Tectonics - Habitable Worlds
- Ultra Rich - Habitable Worlds
- Mineral Rich - Habitable Worlds
- Asteroid Impacts - Habitable Worlds
Two possibilities
- They have wrongly put all these modifiers onto Habitable Worlds when they should have always been on other celestial bodies
- They want to add orbital deposits for you to mine if you choose not to colonise a world (just like before 2.2)
A fix would be to remove the trigger conditions from those 2 events, or change the method to add an orbital deposit instead of a planetary feature.
A quick fix by a mod is to comment out all those lines under the trigger with a Habitable World as the target.
Sigh... 2.2.4 is supposed to fix bugs, not introduce new features like this. You should add orbital deposits after you have fixed other things and release it around 2.2.6 or later.