bananaLib
(https://i.imgur.com/2cXeXuN.jpeg)
download link: https://www.mediafire.com/file/ff6okrs8rbri31o/bananaLib-20250415.zip/file
requires LazyLib: https://fractalsoftworks.com/forum/index.php?topic=5444.0
disclaimer
Spoiler
this is a mod in progress. it is not as clean or stable as i would wish it to be.
there may be bugs, it may delete your save, it may call KGB to invade your home and steal your cookies. proceed with caution.
there may be sweeping API changes, as necessary. i will attempt to mitigate those to a minimum, to the best of my abilities.
there is not, and will never be a github/gitlab repository. best i can offer is a pastebin page for some specific scripts by request.
all source code is included in the mod archive. additionally, as it is written in plain java 7, it can be easily decompiled. ALWAYS VERIFY
in the event of any questions/misunderstandings please do not hesitate to contact me here via DM, or on discord.
what and why
Spoiler
this is the shared assets repository for my other mods, to minimize copypasting
it is not limited to strictly code, but also includes some hullmods, abilities, graphic assets and utility frameworks i made use of.
will be sporadically updated as needed.
contains most of bananaFactory code, use it as dependency for compatibility.
key features
Spoiler
bananaFactory recipe plugins for some common scenarios
sector memory handler to control what recipes are known, can be used for other stuff
campaign target selection reticle - used for station construction recipe, may have more uses
combatInjector - for making things happen in combat based on specified conditions, beforehand combat actually starts, i.e. "after next 3 player battles, randomly spawn 900 reaper kites on all sides."
a bunch of helpful ui functions for displaying various info in tooltips.
changelog
Spoiler
20250415
- preliminary update for 0.98
- some internal rework