OoliteProject / oolite

The main Oolite repository.
https://www.oolite.space
543 stars 70 forks source link

Splinters that have cargo_carried defined will use that on spawn #453

Closed phkb closed 8 months ago

phkb commented 8 months ago

Currently, regardless of what a splinter might have defined, it will always be given minerals when it is spawned from mining a boulder. This patch will check for the "cargo_carried" property in shipdata, and if found, will allow it to define the makeup of the splinter. If no "cargo_carried" property is defined, the default behaviour will apply.