Compare commits
2 Commits
c232511346
...
e2116ce5c6
Author | SHA1 | Date | |
---|---|---|---|
e2116ce5c6 | |||
b00fbc98e7 |
@ -5,7 +5,7 @@ local m_eth = minetest.get_modpath("ethereal")
|
||||
-- detecting cretive engine over creative privilegies
|
||||
local m_cre = minetest.get_modpath("creative")
|
||||
-- check recent versions
|
||||
local is_55 = has_feature("dynamic_add_media_table")
|
||||
local is_55 = minetest.has_feature("dynamic_add_media_table")
|
||||
|
||||
-- firefly
|
||||
minetest.register_node("fireflies:firefly", {
|
||||
|
@ -1,6 +1,7 @@
|
||||
-- minetest.clear_registered_biomes() -- do not regenerate, we want to combine it!
|
||||
|
||||
-- Get setting or default
|
||||
local mgv = minetest.get_mapgen_setting("mg_name") or nil
|
||||
local mgv7_spflags = minetest.get_mapgen_setting("mgv7_spflags") or "mountains, ridges, floatlands, caverns"
|
||||
local captures_float = string.match(mgv7_spflags, "floatlands")
|
||||
local captures_nofloat = string.match(mgv7_spflags, "nofloatlands")
|
||||
@ -14,7 +15,7 @@ default.mgv7_floatland_level = floatland_y
|
||||
default.mgv7_shadow_limit = minetest.get_mapgen_setting("mgv7_shadow_limit") or 1024
|
||||
|
||||
-- Registering of the nodes
|
||||
|
||||
if mgv7 then
|
||||
minetest.register_node("floatland:grass", {
|
||||
description = "High Grass",
|
||||
tiles = {"floatland_realm_grass.png", "floatland_realm_dirt.png",
|
||||
@ -151,3 +152,4 @@ minetest.register_decoration({
|
||||
y_max = worldlimit,
|
||||
decoration = "default:bush_sapling",
|
||||
})
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user