mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
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
|
||||
default = {}
|
||||
|
||||
-- Load other files
|
||||
dofile(minetest.get_modpath("default").."/mapgen.lua")
|
||||
|
||||
--
|
||||
-- Tool definition
|
||||
--
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user