The idea is that a star explodes, wiping out nearby systems (destroying all life, fleets and planets in systems being too close).
There would be prior announcement (say 50 turns in advance and a visible marker on the star about to explode.
If this happens at or near the home system of an empire, they gain the trait "desperate" which gives them an substantial bonus in building colonizers.
Thoughts?
Event: star goes supernova
- The Silent One
- Graphics
- Posts: 1129
- Joined: Tue Jul 01, 2003 8:27 pm
Re: Event: star goes supernova
Would like it, problem is that random events haven't been implemented so far.
If I provided any images, code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0.
Re: Event: star goes supernova
We have the stochastic effect of monster breeding in place.The Silent One wrote: ↑Sat Jan 19, 2019 6:53 pmproblem is that random events haven't been implemented so far.
- The Silent One
- Graphics
- Posts: 1129
- Joined: Tue Jul 01, 2003 8:27 pm
Re: Event: star goes supernova
Monster breeding is, if I'm not mistaken, bound to the monster nest specials. That might be a (hacky) way to implement a supernova event - create invisible specials on star systems (if that's possible) or planets that randomly trigger a supernova. But the more proper way to do it, would be to have a "random_event" folder with scripted random events. Which would be great.Oberlus wrote:We have the stochastic effect of monster breeding in place.
Also, since the super-nova event would often have huge consequences, it should occur only rarely, or at least there should be a not-too-hard way to prevent it from happening.
If I provided any images, code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0.
Re: Event: star goes supernova
The Python Turn Events provide a non-hacky way to implement "random events" already. The creation of the various moving fields (Ion Storm, Molecular Cloud) are handled there.
- The Silent One
- Graphics
- Posts: 1129
- Joined: Tue Jul 01, 2003 8:27 pm
Re: Event: star goes supernova
Good to know, I wasn't aware of that.
If I provided any images, code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0.
Re: Event: star goes supernova
Is it also possible to use it to delete planets and stars of neighboring systems, measured by distance?
Re: Event: star goes supernova
Yes
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
Look, ma... four combat bouts!
Look, ma... four combat bouts!
Re: Event: star goes supernova
To expand a bit on Ophiuchus answer: the FO Python API exposed to the turn event scripts is the same as that for the universe generation scripts. Meaning, you should be able to do more or less everything you can do in the universe generation scripts.