Skip to content

Instantly share code, notes, and snippets.

@Amaz1
Last active April 30, 2017 01:40
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Amaz1/eee1efcbf6c483d0e03f to your computer and use it in GitHub Desktop.
Save Amaz1/eee1efcbf6c483d0e03f to your computer and use it in GitHub Desktop.
minetest.register_biome({
--The name of the biome. This needs to be unique.
name = "beach",
--The name of the surface node.
node_top = "default:sand",
--How far the surface node goes down.
depth_top = 2,
--The node underneath the surface nodes.
node_filler = "default:sandstone",
--How far the filler nodes go down. (After they end, stone starts.)
depth_filler = 36,
--The node that will appear as "dust" above the surface. Never used it before!
node_dust = "air",
--The minimum height the biome will be generated at.
height_min = -34,
The maximum height the biome will be generated at.
height_max = 3,
--The heat point the biome appears at. Basicly, it is where the biome should appear at on a heat map. (I'm not sure if this and the next setting do anything now...)
heat_point = 54,
--The humidity point the biome appears at. Basicly, it is where the biome should appear at on a humidity map. This combined with the heat_point gives the places the biome can appear at, but this system may have been removed...
humidity_point = 51,
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment