diff options
author | kwolekr <kwolekr@minetest.net> | 2014-12-18 09:55:38 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2014-12-18 09:57:38 -0500 |
commit | 7dbb3916cbc7f8650664db327ae35d72d3a872fb (patch) | |
tree | 5971309b17856378a5e2df27d6cf7980e5ee2a81 /builtin | |
parent | 815876e7097fcd1e317ecfd867db807681f9cb1a (diff) | |
download | minetest-7dbb3916cbc7f8650664db327ae35d72d3a872fb.tar.gz minetest-7dbb3916cbc7f8650664db327ae35d72d3a872fb.tar.bz2 minetest-7dbb3916cbc7f8650664db327ae35d72d3a872fb.zip |
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.
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/game/builtin_biome.lua | 9 | ||||
-rw-r--r-- | builtin/game/init.lua | 1 |
2 files changed, 10 insertions, 0 deletions
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") |