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

KenjiLib

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

Date uploaded 2 days ago
Version 0.2.1
Download link rectorado-KenjiLib-0.2.1.zip
Downloads 1785
Dependency string rectorado-KenjiLib-0.2.1

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)

Credits:

Kenji: They call me mr robot now.

GenericGMD: local manul

Wesley: made the destroy script

Ko-Fi

CHANGELOG

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