mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Scripting WIP: Add global environment step function on_step
This commit is contained in:
@@ -138,7 +138,10 @@ end
|
||||
print("omg lol")
|
||||
print("minetest dump: "..dump(minetest))
|
||||
|
||||
--local TNT = minetest.new_entity {
|
||||
-- Global environment step function
|
||||
function on_step(dtime)
|
||||
end
|
||||
|
||||
local TNT = {
|
||||
-- Maybe handle gravity and collision this way? dunno
|
||||
physical = true,
|
||||
|
Reference in New Issue
Block a user