Skip to content

Add SuperTick hook to Lua

wolfs requested to merge supertick into next

Just a simple hook into P_DoSuperStuff. Returning true will bypass the emerald check, and returning false will retain it.

Example script:

addHook("SuperTick", function(player) return true end)
addHook("ThinkFrame", do if not server.shit then P_DoSuperTransformation(server, true); server.shit = 1 end end)

Merge request reports