aboutsummaryrefslogtreecommitdiff
path: root/data/scripts
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-12 03:21:40 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:39 +0200
commitea8d6d7abd86b33169b8c2b80cd382d82ba84b8b (patch)
treee64005d5e451927dcdb2e3a44ad5707491a58742 /data/scripts
parentf145d498a6d91e3f5f3dcf921db8b74c98a7dad2 (diff)
downloadminetest-ea8d6d7abd86b33169b8c2b80cd382d82ba84b8b.tar.gz
minetest-ea8d6d7abd86b33169b8c2b80cd382d82ba84b8b.tar.bz2
minetest-ea8d6d7abd86b33169b8c2b80cd382d82ba84b8b.zip
Scripting WIP
Diffstat (limited to 'data/scripts')
-rw-r--r--data/scripts/default.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/data/scripts/default.lua b/data/scripts/default.lua
index b6c6b0d89..ebd4e5ab6 100644
--- a/data/scripts/default.lua
+++ b/data/scripts/default.lua
@@ -140,7 +140,7 @@ local TNT = {
physical = true,
weight = 5,
boundingbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
- visual = "box",
+ visual = "cube",
textures = {"tnt_top.png","tnt_bottom.png","tnt_side.png","tnt_side.png","tnt_side.png","tnt_side.png"},
-- Initial value for our timer
timer = 0,
@@ -148,11 +148,6 @@ local TNT = {
state_variables = {"timer"},
}
--- Called after object is created
-function TNT:on_create()
- print("TNT:on_create()")
-end
-
-- Called periodically
function TNT:on_step(dtime)
--print("TNT:on_step()")