forked from Mirrorlandia_minetest/minetest
Make the minimal development test somewhat playable by adding ore generation and removing the player visual switch test
This commit is contained in:
parent
e74da72b82
commit
4107390337
@ -11,6 +11,9 @@ LIGHT_MAX = 14
|
|||||||
-- Definitions made by this mod that other mods can use too
|
-- Definitions made by this mod that other mods can use too
|
||||||
default = {}
|
default = {}
|
||||||
|
|
||||||
|
-- Load other files
|
||||||
|
dofile(minetest.get_modpath("default").."/mapgen.lua")
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Tool definition
|
-- Tool definition
|
||||||
--
|
--
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
experimental = {}
|
experimental = {}
|
||||||
|
|
||||||
|
--[[
|
||||||
experimental.player_visual_index = 0
|
experimental.player_visual_index = 0
|
||||||
function switch_player_visual()
|
function switch_player_visual()
|
||||||
for _, obj in pairs(minetest.get_connected_players()) do
|
for _, obj in pairs(minetest.get_connected_players()) do
|
||||||
@ -19,6 +20,7 @@ function switch_player_visual()
|
|||||||
minetest.after(1.0, switch_player_visual)
|
minetest.after(1.0, switch_player_visual)
|
||||||
end
|
end
|
||||||
minetest.after(1.0, switch_player_visual)
|
minetest.after(1.0, switch_player_visual)
|
||||||
|
]]
|
||||||
|
|
||||||
minetest.register_node("experimental:soundblock", {
|
minetest.register_node("experimental:soundblock", {
|
||||||
tile_images = {"unknown_block.png", "default_tnt_bottom.png",
|
tile_images = {"unknown_block.png", "default_tnt_bottom.png",
|
||||||
|
Loading…
Reference in New Issue
Block a user