Starsector 0.97a is out! (02/02/24); New blog post: Anubis-class Cruiser (12/20/24)
if (ship == null || ship.isAlive()) return;
Hey tomatopaste! The example in the OP has a slight error:Codeif (ship == null || ship.isAlive()) return;This makes the AI basically never use the ability, because of a missing '!' I had this idea the other day, making hullmods that replace systems, but this subsystem thing your library has is awesome, and this example is just on point! I'll start with a few vanilla stuff and see where it goes I guess Thank you for the library.
Discontinued indefinitely. I retain copyright authorship of all code contained in the mod, excluding where external authorship is marked, and any mods from this date that contain some whole or part derivation must comply with the current license. http://creativecommons.org/licenses/by-nc-nd/4.0/
Quote from: tomatopaste on August 26, 2022, 11:18:57 AMDiscontinued indefinitely. I retain copyright authorship of all code contained in the mod, excluding where external authorship is marked, and any mods from this date that contain some whole or part derivation must comply with the current license. http://creativecommons.org/licenses/by-nc-nd/4.0/Is this license change gonna be an issue for the dronelib code I already have integrated into Apex if I want to make further changes?
no, apex is fine since there wasn't a license when you copied it, just as long as you indicate that my source code now has the linked license applied to it