diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-12 17:46:06 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:40 +0200 |
commit | 73bb3bc5958989db21eefb826e277dada248ceca (patch) | |
tree | 1d87277d92ff54fdc32cfd735934b11ec182a69a /data/scripts/default.lua | |
parent | 1320d07068f25ff23ea27e120983c006f75bec24 (diff) | |
download | minetest-73bb3bc5958989db21eefb826e277dada248ceca.tar.gz minetest-73bb3bc5958989db21eefb826e277dada248ceca.tar.bz2 minetest-73bb3bc5958989db21eefb826e277dada248ceca.zip |
Scripting WIP: Add global environment step function on_step
Diffstat (limited to 'data/scripts/default.lua')
-rw-r--r-- | data/scripts/default.lua | 5 |
1 files changed, 4 insertions, 1 deletions
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, |