From 7dbb3916cbc7f8650664db327ae35d72d3a872fb Mon Sep 17 00:00:00 2001 From: kwolekr Date: Thu, 18 Dec 2014 09:55:38 -0500 Subject: Temporarily set default biome in builtin This should probably be removed when minetest_game has proper biomes. If I hear "the whole map is just stone!" again after this, I am going to detonate. --- builtin/game/builtin_biome.lua | 9 +++++++++ builtin/game/init.lua | 1 + 2 files changed, 10 insertions(+) create mode 100644 builtin/game/builtin_biome.lua (limited to 'builtin') diff --git a/builtin/game/builtin_biome.lua b/builtin/game/builtin_biome.lua new file mode 100644 index 000000000..ac0397df6 --- /dev/null +++ b/builtin/game/builtin_biome.lua @@ -0,0 +1,9 @@ +minetest.register_biome({ + name = "Grass", + + heat_point = 50.0, + humidity_point = 50.0, + height_min = -31000, + height_max = 31000, +}) + diff --git a/builtin/game/init.lua b/builtin/game/init.lua index 3f82f85c7..6b3f9be3f 100644 --- a/builtin/game/init.lua +++ b/builtin/game/init.lua @@ -25,4 +25,5 @@ dofile(gamepath.."features.lua") dofile(gamepath.."voxelarea.lua") dofile(gamepath.."forceloading.lua") dofile(gamepath.."statbars.lua") +dofile(gamepath.."builtin_biome.lua") -- cgit v1.2.3