From 41073903373cb31bd2e946988875b848b2c2f216 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Thu, 5 Apr 2012 21:42:33 +0300 Subject: [PATCH] Make the minimal development test somewhat playable by adding ore generation and removing the player visual switch test --- games/minimal/mods/default/init.lua | 3 +++ games/minimal/mods/experimental/init.lua | 2 ++ 2 files changed, 5 insertions(+) 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", -- 2.30.2