aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods
diff options
context:
space:
mode:
authorWeblate <42@minetest.ru>2013-04-07 13:39:28 +0200
committerWeblate <42@minetest.ru>2013-04-07 13:39:28 +0200
commitfeb7de91ec34ef1ca3152270a7bc62b2e308f1bd (patch)
tree65c33378bae9b7ac565b979237b6d594b511171f /games/minimal/mods
parent33052abf42886ef03c4f46196cab6f767259a672 (diff)
parent4468ea84e6d0faede5a01e8d97d359c537aa7ec8 (diff)
downloadminetest-feb7de91ec34ef1ca3152270a7bc62b2e308f1bd.tar.gz
minetest-feb7de91ec34ef1ca3152270a7bc62b2e308f1bd.tar.bz2
minetest-feb7de91ec34ef1ca3152270a7bc62b2e308f1bd.zip
Merge remote branch 'origin/master'
Diffstat (limited to 'games/minimal/mods')
-rw-r--r--games/minimal/mods/default/init.lua93
-rw-r--r--games/minimal/mods/experimental/init.lua4
2 files changed, 2 insertions, 95 deletions
diff --git a/games/minimal/mods/default/init.lua b/games/minimal/mods/default/init.lua
index 163998883..d8067d211 100644
--- a/games/minimal/mods/default/init.lua
+++ b/games/minimal/mods/default/init.lua
@@ -1588,99 +1588,6 @@ minetest.register_alias("mapgen_stone_with_coal", "default:stone_with_coal")
minetest.register_alias("mapgen_stone_with_iron", "default:stone_with_iron")
minetest.register_alias("mapgen_mese", "default:mese")
-minetest.register_biome_groups({
-0.35, 0.10, 0.30
-})
-
---
--- Register the biomes for the map generator
---
-minetest.register_biome({
- group_id = 0,
- name = "Ocean",
- terrain_type = "liquid",
- node_top = "default:gravel",
- node_filler = "default:stone",
- num_top_nodes = 4,
- height_min = -3000,
- height_max = 3000,
- heat_min = -20.0,
- heat_max = 100.0,
- humidity_min = 0.0,
- humidity_max = 100.0,
- scale = 10.0,
- offset = -10.0,
-})
-
-minetest.register_biome({
- group_id = 1,
- name = "Beach",
- terrain_type = "normal",
- node_top = "default:sand",
- node_filler = "default:stone",
- num_top_nodes = 5,
- height_min = -3000,
- height_max = 3000,
- heat_min = 5.0,
- heat_max = 100.0,
- humidity_min = 0.0,
- humidity_max = 100.0,
- scale = 5.0,
- offset = 5.0,
-})
-
-minetest.register_biome({
- group_id = 1,
- name = "Gravel Beach",
- terrain_type = "normal",
- node_top = "default:gravel",
- node_filler = "default:cobble",
- num_top_nodes = 5,
- height_min = -3000,
- height_max = 3000,
- heat_min = -50.0,
- heat_max = 5.0,
- humidity_min = 0.0,
- humidity_max = 100.0,
- scale = 5.0,
- offset = 5.0,
-})
-
-minetest.register_biome({
- group_id = 2,
- name = "Land",
- terrain_type = "normal",
- node_top = "default:dirt_with_grass",
- node_filler = "default:stone",
- num_top_nodes = 5,
- height_min = -3000,
- height_max = 3000,
- heat_min = -50.0,
- heat_max = 100.0,
- humidity_min = 0.0,
- humidity_max = 100.0,
- scale = 12.0,
- offset = 20.0,
-})
-
-minetest.register_biome({
- group_id = 3,
- name = "Hills",
- terrain_type = "normal",
- node_top = "default:dirt",
- node_filler = "default:stone",
- num_top_nodes = 3,
- height_min = -3000,
- height_max = 3000,
- heat_min = -50.0,
- heat_max = 100.0,
- humidity_min = 0.0,
- humidity_max = 100.0,
- scale = 60.0,
- offset = 20.0,
-})
-
-
-- Support old code
function default.spawn_falling_node(p, nodename)
spawn_falling_node(p, nodename)
diff --git a/games/minimal/mods/experimental/init.lua b/games/minimal/mods/experimental/init.lua
index 2edfd0f67..6fce9698a 100644
--- a/games/minimal/mods/experimental/init.lua
+++ b/games/minimal/mods/experimental/init.lua
@@ -28,10 +28,10 @@ minetest.after(1.0, switch_player_visual)
]]
minetest.register_node("experimental:soundblock", {
- tile_images = {"unknown_block.png", "default_tnt_bottom.png",
+ tile_images = {"unknown_node.png", "default_tnt_bottom.png",
"default_tnt_side.png", "default_tnt_side.png",
"default_tnt_side.png", "default_tnt_side.png"},
- inventory_image = minetest.inventorycube("unknown_block.png",
+ inventory_image = minetest.inventorycube("unknown_node.png",
"default_tnt_side.png", "default_tnt_side.png"),
groups = {dig_immediate=3},
})