1
0
Fork 0

Make the minimal development test somewhat playable by adding ore generation and removing the player visual switch test

mutilcraft-mt53
Perttu Ahola 2012-04-05 21:42:33 +03:00
parent e74da72b82
commit 4107390337
2 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,9 @@ LIGHT_MAX = 14
-- Definitions made by this mod that other mods can use too
default = {}
-- Load other files
dofile(minetest.get_modpath("default").."/mapgen.lua")
--
-- Tool definition
--

View File

@ -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",