Features and tools with high reuse potential.
Global Object
[list]
[*] Simple interface to add your own Global Objects to the game.
[*] [url=https://steamcommunity.com/workshop/filedetails/discussion/2986578314/3812906855246163752/]Details here[/url].
[/list]
see [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2986715593]Portal Gun[/url] mod for B41 example.
see [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3550032314]Moats[/url] mod for B42 example.
Spawn
[list]
[*] Spawn a specific item in a specific container.
[*] Spawn a specific item from a right click + action on a specific square.
[*] [url=https://steamcommunity.com/workshop/filedetails/discussion/2986578314/3812906855249791467/]Details here[/url].
[/list]
see [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2986715593]Portal Gun[/url] mod for example.
Sandbox Options
[list]
[*] Handle sandbox color selection as enum.
[*] [url=https://steamcommunity.com/workshop/filedetails/discussion/2986578314/3812906855246425780/]Details here[/url].
[/list]
see [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2986715593]Portal Gun[/url] and [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2970134188]Battle Royale[/url] mods for examples.
Player Variables
[list]
[*] Simple interface for spreading player variables in multiplayer.
[*] Adds IsoPlayer Flags to player variables.
[*] Player variables are (mainly) used for animations.
[*] Adds isCmdReady(). A function to know when sendClientCommand can be safely used in MP.
[/list]
see [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2991010328]Infected Player[/url] mod for B41 example.
see [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3652012357]Lean & Lie[/url] mod for B42 example.
Movement control
[list]
[*] Simple interface for movement control.
[*] Simple interface for teleport.
[*] Vanilla movement speed recomputed with lua.
[*] [url=https://steamcommunity.com/workshop/filedetails/discussion/2986578314/3812909627184558592/]Tuning options[/url] for movement speed.
[/list]
see [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3002243696]No Limping[/url] mod for B41 example.
see [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3391149570]Roll[/url] mod for B42 example.
World Chat
[list]
[*] Simple interface to make any world object talk.
[*] [url=https://steamcommunity.com/workshop/filedetails/discussion/2986578314/6458775074329393731/]Detailed interface[/url].
[/list]
see [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3004974776]NPC Baelin The Fisherman[/url] mod for example.
UI
[list]
[*] 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 [url=https://steamcommunity.com/id/NotNotloc/myworkshopfiles/?appid=108600]Notloc[/url].
[/list]
see [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2970134188]Battle Royale[/url] mod for drawing example.
Geometry
[list]
[*] Detects point inclusion in triangle.
[*] Detects point inclusion in rectangle.
[*] Detects intersecting point of two segments.
[/list]
see [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2970134188]Battle Royale[/url] mod for example.
Targeting
[list]
[*] Adds getPlayerMouseSquare(player,goThroughWindow). Detects the square under the mouse, including lower levels.
[/list]
see [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2986715593]Portal Gun[/url] mod for example.
luautils
[list]
[*] Deep lua table copy.
[*] Transform square to table for data storage.
[*] Formatting table, square, player for easy debug.
[/list]
see [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2986715593]Portal Gun[/url] and [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2970134188]Battle Royale[/url] mods for examples.
FAQ
[list]
[*] Safe to add midgame.
[*] Safe to remove midgame (items may be lost).
[*] Works for B42 and further versions.
[*] Use [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2986578314]this other mod for B41[/url] and previous versions.
[*] Works in solo and multiplayer.
[*] Untested for splitscreen.
[*] Untested for joypad.
[*] Interface for keybinds has been removed with B42 use Vanilla interface instead.
[*] If you still have questions, ask on [url=https%3A%2F%2Fdiscord.gg%2Ftheindiestone]Official PZ Discord: mod_support channel[/url][discord.gg].
[/list]
[url=http%3A%2F%2Ftheindiestone.com%2Fforums%2Findex.php%2Ftopic%2F2530-mod-permissions%2F%3Fp%3D36479]On Lockdown[/url][theindiestone.com]
This mod cannot be modified by anyone else, for anything else, at all, ever. Even if the user disappears, he or she would much rather you didn't touch the fruits of their hard labour.
If you wanna support, kind words are very welcome.
If you don't have any, you can still give constructive criticism.
Workshop ID: 3389605231
Mod ID: TchernoLib