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:
parent
1320d07068
commit
73bb3bc595
4 changed files with 35 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue