Hi TIS team,
I'm the author of US Military Grenades [B42] (Workshop ID: 3745718141). I'd like to request two Lua API additions that would benefit the modding community:
1. ScriptItem explosion setters
setExplosionPower() and setExplosionRange() exist on ScriptItem in Java but are not callable from Lua. This means modders cannot adjust explosion values at runtime, which makes Sandbox Options for custom explosives impossible without overriding the entire damage system in Lua — fragile and likely to break between builds.
2. AnimationPlayer.dismember(int)
dismember(int) and the dismembered ArrayList are visible in the Java debugger on AnimationPlayer, but calling them from Lua throws attempted index of non-table. Exposing these would allow mods to implement limb loss from explosions, traps, or other custom damage sources.
Both methods already exist in Java — this is purely about exposing them to Kahlua. This would allow modders to work with the engine instead of building fragile workarounds that break on every update.
Thank you for your time and for making PZ so moddable.
— Corvus (US Military Grenades [B42])
By
Corvus ·