Skip to content

Instantly share code, notes, and snippets.

@GreenXenith
Created November 1, 2017 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GreenXenith/3b995de1a346a2d1324d161211a0f728 to your computer and use it in GitHub Desktop.
Save GreenXenith/3b995de1a346a2d1324d161211a0f728 to your computer and use it in GitHub Desktop.
variable function
fill_stockings = {}
function stocking.fill_stockings()
fill_stockings = true
end
minetest.register_chatcommand("fillstockings", {
privs = {protection_bypass = true},
func = function(name, param)
stocking.fill_stockings()
end
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment