Hi all,
I'm trying to get back into modding since the pre-2.2 days. I've nearly managed to work everything out on my own so far, but I am failing miserably at assigning specific planetary deposits to my home world and other key planets.
I've given the intended planets unique flags. I've set up an on_action event. It triggers on pressing begin. It should search for the home world and run a custom scripted effect to generate deposits and blockers, using the Sol initializer as an example. It should also search for the flags of my other custom worlds and add a single deposit directly.
And yet it does nothing! Is there an up to date example that anyone can give me to try and learn from?
I'm trying to get back into modding since the pre-2.2 days. I've nearly managed to work everything out on my own so far, but I am failing miserably at assigning specific planetary deposits to my home world and other key planets.
I've given the intended planets unique flags. I've set up an on_action event. It triggers on pressing begin. It should search for the home world and run a custom scripted effect to generate deposits and blockers, using the Sol initializer as an example. It should also search for the flags of my other custom worlds and add a single deposit directly.
And yet it does nothing! Is there an up to date example that anyone can give me to try and learn from?