aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods
diff options
context:
space:
mode:
Diffstat (limited to 'games/minimal/mods')
-rw-r--r--games/minimal/mods/default/init.lua3
-rw-r--r--games/minimal/mods/experimental/init.lua2
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",