TchernoLib (18 July 2023)
Features and tools with high reuse potential.
Global Object
- Simple interface to add your own Global Objects to the game.
- Details here.
Spawn
- Spawn a specific item in a specific container.
- Spawn a specific item from a right click + action on a specific square.
- Details here.
Sandbox Options
- Handle sandbox color selection as enum.
- Details here.
Spectate
- Simple interface for spectating in multiplayer.
- Spectating remove all interactions.
- Spectating makes invisible.
- Spectating allows to follow other player's medical state from any distance.
Player Variables
- Simple interface for spreading player variables in multiplayer.
- Adds IsoPlayer Flags to player variables.
- Corrects ZombiesDontAttack flag. Inspired by Camouflage from the awesome Braven.
- Player variables are (mainly) used for animations.
- Adds isCmdReady(). A function to know when sendClientCommand can be safely used in MP.
Movement control
- Simple interface for movement control.
UI
- Simple interface for adding a new tab to Character Info window.
- Adds Player ModData Debug to Debug Dev menu (below Global Mod Data Debug).
- Draw circles on world (better than vanilla).
- Draw lines (better than vanilla). [Not always displayed]
- Shows modded icon in Item List. Thx to Notloc.
Geometry
- Detects point inclusion in triangle.
- Detects point inclusion in rectangle.
- Detects intersecting point of two segments.
Targeting
- Adds getPlayerMouseSquare(player,goThroughWindow). Detects the square under the mouse, including lower levels.
luautils
- Deep lua table copy.
- Transform square to table for data storage.
- Formatting table, square, player for easy debug.
The minimum comment length is 10 characters.