Abandoned Ruins - Updated (core)

by Keysivi

This mod doesn't do anything by itself. You need to install ruin-set mods or no ruin will be spawned. It then can spawn randomly choosen ruins in the world. These ruins are destroyed fragments of bases, forts, small oases, and more. (Now co-authored with roland77)

Content
17 days ago
2.0
6.08K

a Incompatible API changes with 1.5.x

4 days ago
(updated 2 days ago)

There will be some incompatible changes to remote-call functions with upcoming 1.5.x series. So please update your mod accordingly.

  • As the flag storage.spawn_ruins is a boolean, the corresponding setter and getter should be named after is_foo_enabled() for the getter and enable_foo() for the setter
  • remote-call function add_ruin_size will have a 3rd, mandatory parameter multiplier which is being used to calculate minimum distance of a ruin of given size.

There might be more coming up with the next 1.5.0 release, including selection of planets where to spawn ruins on (default: spawn on any, new startup-setting!).

Non-incompatible changes:

  • better performance by avoiding global, e.g. debug_log and its siblings are now local variables (per "library")
This thread has been locked.