From 73bb3bc5958989db21eefb826e277dada248ceca Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 12 Nov 2011 17:46:06 +0200 Subject: Scripting WIP: Add global environment step function on_step --- data/scripts/default.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'data') diff --git a/data/scripts/default.lua b/data/scripts/default.lua index dcc58097b..4197cd788 100644 --- a/data/scripts/default.lua +++ b/data/scripts/default.lua @@ -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, -- cgit v1.2.3