fe2c153f9e
Formatting rules based on Paul Kulchenko's perl-based formatter... http://notebook.kulchenko.com/programming/lua-beautifier-in-55-lines-of-perl ...using a single tab for indent. Mostly pure whitespace changes.
27 lines
605 B
Lua
27 lines
605 B
Lua
-- LUALOCALS < ---------------------------------------------------------
|
|
local minetest
|
|
= minetest
|
|
-- LUALOCALS > ---------------------------------------------------------
|
|
|
|
local modname = minetest.get_current_modname()
|
|
|
|
minetest.register_ore({
|
|
name = "gravel",
|
|
ore_type = "blob",
|
|
ore = modname .. ":gravel",
|
|
wherein = modname .. ":stone",
|
|
clust_size = 5,
|
|
clust_scarcity = 8 * 8 * 8,
|
|
random_factor = 0,
|
|
noise_params = {
|
|
offset = 0,
|
|
scale = 3,
|
|
spread = {x=10, y=25, z=10},
|
|
seed = 34654,
|
|
octaves = 3,
|
|
persist = 0.5,
|
|
flags = "eased",
|
|
},
|
|
noise_threshold = 1.2
|
|
})
|