diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-04-05 21:42:33 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-04-05 21:42:33 +0300 |
commit | 41073903373cb31bd2e946988875b848b2c2f216 (patch) | |
tree | f68ab808283a28229adf1e552c2b89b3aa5f204a /games/minimal/mods | |
parent | e74da72b824dfddacfb1c5386721d7094c0b7a94 (diff) | |
download | minetest-41073903373cb31bd2e946988875b848b2c2f216.tar.gz minetest-41073903373cb31bd2e946988875b848b2c2f216.tar.bz2 minetest-41073903373cb31bd2e946988875b848b2c2f216.zip |
Make the minimal development test somewhat playable by adding ore generation and removing the player visual switch test
Diffstat (limited to 'games/minimal/mods')
-rw-r--r-- | games/minimal/mods/default/init.lua | 3 | ||||
-rw-r--r-- | games/minimal/mods/experimental/init.lua | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/games/minimal/mods/default/init.lua b/games/minimal/mods/default/init.lua index b408e8cce..952c114db 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 cb0b209d8..eafe546c3 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", |