You are viewing a potentially older version of this package. View all versions.
rectorado-KenjiLib-0.4.0 icon

KenjiLib

The tiniest collection of scripts I'll use in my projects

Date uploaded a day ago
Version 0.4.0
Download link rectorado-KenjiLib-0.4.0.zip
Downloads 2385
Dependency string rectorado-KenjiLib-0.4.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

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. (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)

Credits:

Kenji: They call me mr robot now.

GenericGMD: local manul

Wesley: made the destroy script

Ko-Fi

CHANGELOG

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