Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
KenjiLib
The tiniest collection of scripts I'll use in my projects
| Date uploaded | 3 days ago |
| Version | 0.7.0 |
| Download link | rectorado-KenjiLib-0.7.0.zip |
| Downloads | 6014 |
| Dependency string | rectorado-KenjiLib-0.7.0 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
KenjiLib
It's a lib. It has scripts that I made and use on my projects. Wesley made one of them actually, but I will take credit.
If you'd like to support me, check out my ko-fi. https://ko-fi.com/itiskenji.
K Destroy Around Ship
If the gameobject is in the range set up in the script, it will destroy it.
K Lights Event
Trigger different Light Events in the interiors at will, it includes:
- Flicker Lights
- Permanent Power Off: Flickers and then turns the lights off permanently, without the HUD warning.
- Appy Event: Mimic the Apparatus event (like Permanent Power Off, but with the HUD warning)
- Power Back On: Reverts the permanent power off from this script or an apparatus event, turning the lights on again. You can call it on enable (selecting the event that you want to play) or calling the event directly.
- Trigger JLL Appy Event: If true, it'll trigger any associated event(s) from the JLL Appy Event (JLL needs to be present for this to work)
K Hud Messages
Allow you to call certain messages to the HUD (These are client-sided, you'll need something like JClientSync if you want them to be displayed to everyone at the same time) For now you can call 2 types of Hud Messages
- Status Effect: Displays a message next to the HP and Stamina, like the one that appears when near a bursted valve. Stays for a few seconds.
- Custom ship message: Displays a message similar to the ones that are sent when the ship is about to leave.
- Extra: You can call the Gunkfish's goop on the screen for 10 seconds
(More types may be added in the future)
K Helmet Condensation
When enabled, activates helmet condensation when looking up.
(More stuff is planned for this script)
K Run on Update
When enable, any event set up will run every frame.
K Weather Extras
Lets you mimic or activate certain vanilla weather behaviours:
- Eclipse-like weather event: Will mimic the eclipse behaviour of spawning extra enemies. The variables used can be selected or use custom ones.
- Flooded-like Weather object: Will mimic the flooded behaviour on a certain gameobject. The variables used can be selected or use custom ones.
- Stormy Lightnings: When enabled, will enable vanilla lightnings.
K Healing Area
When active, will heal players within the specified distance.
Credits:
Kenji: They call me mr robot now.
GenericGMD: local manul
Wesley: made the destroy script
Reiko88: Lent me the base code for the healing script
CHANGELOG
0.7.0
- Added 3 new scripts: KRunOnUpdate, KWeatherExtras and KHealingArea
- Updated KHudMessaged: Now you can call "displaySlimeOnFace" to display the Gunkfish's goop on the screen for 10 seconds
- Cleaned the code a lil and tweaked some of the logging.
- Now a config will generate for you to select the level of logging.
0.4.0
- Added 2 new scripts: KHudMessages and KHelmetCondensation
0.2.1
-
Added a new stuff to KLightsEvent
- Trigger JLL Appy Event: If true, it'll trigger any associated event(s) from the JLL Appy Event (JLL needs to be present for this to work)
- If the permanent power off is already active (From a vanilla apparatus pull or this script) it'll skip the PermanentPowerOff or AppyEvent routines.
- Now the AppyEvent should work like the vanilla apparatus pull (Wake up oldbirds/spawn extra enemies)
0.2.0
- Added a new script: KLightsEvent
- Updated scripts so they have tooltips explaining what it does, and some minimal logging.
- Updated KDestroyAroundShip to now include a useful wireframe gizmo to see what's the area.
0.1.0
- First Release