Scripting WIP
[oweals/minetest.git] / data / scripts / default.lua
index b6c6b0d89c041ed7a70723a7179d54acef1d5493..ebd4e5ab673478f022c327bff766df20d518a771 100644 (file)
@@ -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()")