1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-22 15:48:48 -05:00

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

This commit is contained in:
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",