From: Perttu Ahola Date: Thu, 5 Apr 2012 18:42:33 +0000 (+0300) Subject: Make the minimal development test somewhat playable by adding ore generation and... X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=41073903373cb31bd2e946988875b848b2c2f216;p=zefram%2Fminetest%2Fminetest_engine.git Make the minimal development test somewhat playable by adding ore generation and removing the player visual switch test --- diff --git a/games/minimal/mods/default/init.lua b/games/minimal/mods/default/init.lua index b408e8cc..952c114d 100644 --- a/games/minimal/mods/default/init.lua +++ b/games/minimal/mods/default/init.lua @@ -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 -- diff --git a/games/minimal/mods/experimental/init.lua b/games/minimal/mods/experimental/init.lua index cb0b209d..eafe546c 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",