Starbound

Starbound

LuaPluginLib (Beta)
Showing 11-18 of 18 entries
< 1  >
Update: 23 Feb, 2022 @ 10:03am

Beta 33:

scripts: update weapons/melee/meleecombo.lua with hookable methods
scripts: update weapons/ranged/gunfire.lua with hookable methods

scripts: support no-entrypoint modules

This is a big one:

Prior to this commit, we didn't have a way to apply config based plugins to a
large portion of the codebase because those scripts didn't have a local `init`
or `new` method from which to trigger the loader.

I've defined a new mechanism to allow for loading plugins in these modules:

-- Set a global table so that we can detect modules that are loaded and need -- plugin patching but which do not have an init method for hooks. LPL_Additional_Paths = LPL_Additional_Paths or {} LPL_Additional_Paths["/scripts/actions/animator_plugins.config"] = true

When the PluginLoader runs, if there are any unloaded plugins in the above map
it will load them.

Tested and working on actions/animator.lua and actions/npc.lua

Update: 22 Feb, 2022 @ 8:50am

**hotfix**: fixed an issue with nil returns in after_hooks

Update: 22 Feb, 2022 @ 6:25am

**hotfix**: fix a bad variable reference in call_hooks

Update: 22 Feb, 2022 @ 5:45am

Beta 30:

scripts: added "early out" mechanism to allow plugin authors to stop execution in certain circumstances
doc: added assertion and documentation around ongoing problems with hooks and coroutines. See the README for more.

Update: 21 Feb, 2022 @ 9:29am

scripts: add plugin support to melee/abilities/broadsword/**/*.lua
scripts: add plugin support to fist/combofinishers/**/*.lua
scripts: add plugin support to items/active/weapons/other/**/*.lua
scripts: add plugin support to items/active/weapons/staff/abilities/**/*.lua
scripts: add plugin support to melee/abilities/generic/**/*.lua
scripts: add plugin support to melee/abilities/hammer/**/*.lua
scripts: add plugin support to melee/abilities/spear/**/*.lua
scripts: add plugin support to weapons/protectorate/protectoratebroadsword/*.lua
scripts: add plugin support to weapons/ranged/abilities/**/*.lua
scripts: add plugin support to final items/**/*.lua

An issue has been discovered with adding hooks to asynchronous methods, hold off on that for a release or two.

Update: 21 Feb, 2022 @ 6:35am

scripts: add plugin support to interface/**/*.lua
scripts: add plugin support to items/active/stationtransponder/stationtransponder.lua
scripts: add plugin support to items/active/unsorted/**/*.lua
scripts: add plugin support to items/tools/miningtools/beamaxe.lua

Update: 20 Feb, 2022 @ 7:07am

build: add priority to metadata
scripts: add plugin support to items/active/effects/*.lua
scripts: add plugin support to items/active/fossil/fossilbrush.lua
scripts: add plugin support to items/active/grapplinghooks/grapplinghook.lua
scripts: add plugin support to randomblueprint.lua
scripts: add plugin support to scripts/companions/*.lua
scripts: add plugin support to scripts/player/*.lua
scripts: add plugin support to scripts/quest/manager/*.lua
scripts: add plugin support to vehicles/modularmech/armscripts/*.lua

Update: 19 Feb, 2022 @ 2:20pm