I'm trying to create a mod that adds more habitable planets and resources to the standard solar starting system in order to make it easier to play tall. While making planets habitable works just fine I can't find a way to add resources. The only tip I could find on the internet looked like this:
This however doesn't work and no resources are added. In case of planets like Jupiter, that get a random resource, just get a random resource as normal instead of the one I assigned to them. Maybe it's because the thread I found the code it in is from 2016 and the system has been changed since then. Could anyone tell me what is wrong with it or if there is another way to add resources to the starting system?
Code:
planet = {
name = "NAME_3_Juno"
class = "pc_asteroid"
orbit_distance = 0
orbit_angle = 285
size = 5
has_ring = no
init_effect = {
orbital_deposit_tile = {
clear_deposits = yes
add_deposit = d_volatile_motes_5
add_deposit = d_physics_5
}
}
}
This however doesn't work and no resources are added. In case of planets like Jupiter, that get a random resource, just get a random resource as normal instead of the one I assigned to them. Maybe it's because the thread I found the code it in is from 2016 and the system has been changed since then. Could anyone tell me what is wrong with it or if there is another way to add resources to the starting system?