aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/experimental/init.lua
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-04-05 21:42:33 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-04-05 21:42:33 +0300
commit41073903373cb31bd2e946988875b848b2c2f216 (patch)
treef68ab808283a28229adf1e552c2b89b3aa5f204a /games/minimal/mods/experimental/init.lua
parente74da72b824dfddacfb1c5386721d7094c0b7a94 (diff)
downloadminetest-41073903373cb31bd2e946988875b848b2c2f216.tar.gz
minetest-41073903373cb31bd2e946988875b848b2c2f216.tar.bz2
minetest-41073903373cb31bd2e946988875b848b2c2f216.zip
Make the minimal development test somewhat playable by adding ore generation and removing the player visual switch test
Diffstat (limited to 'games/minimal/mods/experimental/init.lua')
-rw-r--r--games/minimal/mods/experimental/init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/minimal/mods/experimental/init.lua b/games/minimal/mods/experimental/init.lua
index cb0b209d8..eafe546c3 100644
--- a/games/minimal/mods/experimental/init.lua
+++ b/games/minimal/mods/experimental/init.lua
@@ -6,6 +6,7 @@
experimental = {}
+--[[
experimental.player_visual_index = 0
function switch_player_visual()
for _, obj in pairs(minetest.get_connected_players()) do
@@ -19,6 +20,7 @@ function switch_player_visual()
minetest.after(1.0, switch_player_visual)
end
minetest.after(1.0, switch_player_visual)
+]]
minetest.register_node("experimental:soundblock", {
tile_images = {"unknown_block.png", "default_tnt_bottom.png",