Guest User

Untitled

a guest
Jul 6th, 2013
60
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. minetest.register_biome({
  3.     name           = "Ocean",
  4.  
  5.     node_top       = "default:sand",
  6.     depth_top      = 3,
  7.     node_filler    = "default:stone",
  8.     depth_filler   = 0,
  9.  
  10.     height_min     = -31000,
  11.     height_max     = 0,
  12.     heat_point     = 40.0,
  13.     humidity_point = 40.0
  14. })
  15.  
  16. minetest.register_biome({
  17.     name           = "Gravel Ocean",
  18.  
  19.     node_top       = "default:gravel",
  20.     depth_top      = 3,
  21.     node_filler    = "default:stone",
  22.     depth_filler   = 0,
  23.  
  24.     node_dust_water = "default:ice",
  25.  
  26.     height_min     = -31000,
  27.     height_max     = 0,
  28.     heat_point     = -10.0,
  29.     humidity_point = 60.0
  30. })
  31.  
  32. minetest.register_biome({
  33.     name           = "Beach",
  34.  
  35.     node_top       = "default:sand",
  36.     depth_top      = 3,
  37.     node_filler    = "default:sandstone",
  38.     depth_filler   = 3,
  39.  
  40.     height_min     = 1,
  41.     height_max     = 3,
  42.     heat_point     = 50.0,
  43.     humidity_point = 10.0
  44. })
  45.  
  46. minetest.register_biome({
  47.     name           = "Gravel Beach",
  48.  
  49.     node_top       = "default:gravel",
  50.     depth_top      = 2,
  51.     node_filler    = "default:stone",
  52.     depth_filler  = 0,
  53.  
  54.     node_dust      = "default:snow",
  55.     node_dust_water = "default:ice",
  56.  
  57.     height_min     = 1,
  58.     height_max     = 3,
  59.     heat_point     = -10.0,
  60.     humidity_point = 60.0
  61. })
  62.  
  63.  
  64. minetest.register_biome({
  65.     name           = "Snow Plains",
  66.  
  67.     node_dust      = "default:snow",
  68.     node_dust_water = "default:ice",
  69.  
  70.     height_min     = 1,
  71.     height_max     = 20,
  72.     heat_point     = -10.0,
  73.     humidity_point = 50.0
  74. })
  75.  
  76. minetest.register_biome({
  77.     name           = "Plains",
  78.  
  79.     height_min     = 1,
  80.     height_max     = 20,
  81.     heat_point     = 40.0,
  82.     humidity_point = 50.0
  83. })
  84.  
  85. minetest.register_biome({
  86.     name           = "Hills",
  87.  
  88.     height_min     = 21,
  89.     height_max     = 40,
  90.     heat_point     = 40.0,
  91.     humidity_point = 50.0
  92. })
  93.  
  94. minetest.register_biome({
  95.     name           = "Snow Hills",
  96.  
  97.     node_dust      = "default:snow",
  98.     node_dust_water = "default:ice",
  99.  
  100.     height_min     = 21,
  101.     height_max     = 300,
  102.     heat_point     = -10.0,
  103.     humidity_point = 50.0
  104. })
  105.  
  106. minetest.register_biome({
  107.     name           = "Extreme Hills",
  108.  
  109.     height_min     = 41,
  110.     height_max     = 300,
  111.     heat_point     = 40.0,
  112.     humidity_point = 50.0
  113. })
  114.  
  115. minetest.register_biome({
  116.     name           = "Desert",
  117.  
  118.     node_top       = "default:desert_sand",
  119.     depth_top      = 3,
  120.     node_filler    = "default:desert_stone",
  121.     depth_filler   = 10,
  122.  
  123.     height_min     = 3,
  124.     height_max     = 15,
  125.     heat_point     = 90.0,
  126.     humidity_point = 0.0
  127. })
  128.  
  129.  
  130. --trees
  131. minetest.register_decoration({
  132.     deco_type = "schematic",
  133.     place_on  = "default:dirt_with_grass",
  134.     sidelen   = 8,
  135.     schematic = "treewprob.mts",
  136.     flags     = "place_center_x, place_center_z",
  137.     noise_params = {
  138.         offset  = 1/120,
  139.         scale   = 0.04,
  140.         spread  = {x=125, y=125, z=125},
  141.         seed    = 2,
  142.         octaves = 4,
  143.         persist = 0.66
  144.     }
  145. })
  146.  
  147. --papyrus
  148. minetest.register_decoration({
  149.     deco_type  = "simple",
  150.     place_on   = "default:dirt_with_grass",
  151.     sidelen    = 8,
  152.     decoration = "default:papyrus",
  153.     height     = 2,
  154.     height_max = 4,
  155.     noise_params = {
  156.         offset  = 0,
  157.         scale   = 0.3,
  158.         spread  = {x=100, y=100, z=100},
  159.         seed    = 354,
  160.         octaves = 3,
  161.         persist = 0.7
  162.     },
  163.     spawn_by = "default:water_source",
  164.     num_spawn_by = 1
  165. })
  166.  
  167. --cactuses
  168. minetest.register_decoration({
  169.     deco_type  = "simple",
  170.     place_on   = "default:desert_sand",
  171.     sidelen    = 4,
  172.     decoration = "default:cactus",
  173.     height     = 3,
  174.     height_max = 4,
  175.     noise_params = {
  176.         offset  = 0,
  177.         scale   = 1 / 25,
  178.         spread  = {x=100, y=100, z=100},
  179.         seed    = 230,
  180.         octaves = 3,
  181.         persist = 0.6
  182.     }
  183. })
  184.  
  185. --grass
  186. minetest.register_decoration({
  187.     deco_type  = "simple",
  188.     place_on   = "default:dirt_with_grass",
  189.     sidelen    = 4,
  190.     decoration = {
  191.         "default:grass_1",
  192.         "default:grass_2",
  193.         "default:grass_3",
  194.         "default:grass_4",
  195.         "default:grass_5"
  196.     },
  197.     height      = 1,
  198.     noise_params = {
  199.         offset  = 1 / 4,
  200.         scale   = 1 / 6, -- originally ^3 as well...
  201.         spread  = {x=100, y=100, z=100},
  202.         seed    = 329,
  203.         octaves = 3,
  204.         persist = 0.6
  205.     }
  206. })
  207.  
  208. --desert shrubs
  209. minetest.register_decoration({
  210.     deco_type  = "simple",
  211.     place_on   = "default:desert_sand",
  212.     sidelen     = 4,
  213.     decoration = "default:dry_shrub",
  214.     height     = 1,
  215.     noise_params = {
  216.         offset  = 0,
  217.         scale   = 1 / 12, -- originally ^3 as well...
  218.         spread  = {x=100, y=100, z=100},
  219.         seed    = 329,
  220.         octaves = 3,
  221.         persist = 0.6
  222.     }
  223. })
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×