1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Scripting WIP: Add global environment step function on_step

This commit is contained in:
Perttu Ahola 2011-11-12 17:46:06 +02:00
parent 1320d07068
commit 73bb3bc595
4 changed files with 35 additions and 2 deletions

View file

@ -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,