aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-12 15:14:24 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:40 +0200
commit75a0ca6bd67aa9ca87668bc27d36399b5028c2b1 (patch)
tree0ba77ad2aec19a52161c6a361e7f04b1aadf1512 /data
parent38944467d31bbfa8a98008962f147cbc3c73f507 (diff)
downloadminetest-75a0ca6bd67aa9ca87668bc27d36399b5028c2b1.tar.gz
minetest-75a0ca6bd67aa9ca87668bc27d36399b5028c2b1.tar.bz2
minetest-75a0ca6bd67aa9ca87668bc27d36399b5028c2b1.zip
Scripting WIP
Diffstat (limited to 'data')
-rw-r--r--data/scripts/default.lua2
-rw-r--r--data/textures/tnt_bottom.pngbin0 -> 161 bytes
-rw-r--r--data/textures/tnt_side.pngbin0 -> 186 bytes
-rw-r--r--data/textures/tnt_top.pngbin0 -> 264 bytes
4 files changed, 2 insertions, 0 deletions
diff --git a/data/scripts/default.lua b/data/scripts/default.lua
index 7d3242837..46d9fbf6c 100644
--- a/data/scripts/default.lua
+++ b/data/scripts/default.lua
@@ -146,6 +146,8 @@ local TNT = {
collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
visual = "cube",
textures = {"tnt_top.png","tnt_bottom.png","tnt_side.png","tnt_side.png","tnt_side.png","tnt_side.png"},
+ --visual = "single_sprite",
+ --textures = {"mese.png^[forcesingle"},
-- Initial value for our timer
timer = 0,
-- List names of state variables, for serializing object state
diff --git a/data/textures/tnt_bottom.png b/data/textures/tnt_bottom.png
new file mode 100644
index 000000000..8ba2fca0b
--- /dev/null
+++ b/data/textures/tnt_bottom.png
Binary files differ
diff --git a/data/textures/tnt_side.png b/data/textures/tnt_side.png
new file mode 100644
index 000000000..d9a2bc4eb
--- /dev/null
+++ b/data/textures/tnt_side.png
Binary files differ
diff --git a/data/textures/tnt_top.png b/data/textures/tnt_top.png
new file mode 100644
index 000000000..a84ffc9af
--- /dev/null
+++ b/data/textures/tnt_top.png
Binary files differ