diff --git a/init.lua b/init.lua index 23d08f9..f50c16e 100644 --- a/init.lua +++ b/init.lua @@ -15,6 +15,7 @@ limitations under the License. ]]-- local decor_to_exclude = {} +decor_to_exclude["default:cactus"] = { "desert", } local function has_value(tab, value) for _, v in pairs(tab) do @@ -53,3 +54,17 @@ for _, decoration in pairs(decorations_backup) do end end +-- cactus +minetest.register_decoration( + { + decoration = "default:cactus", + deco_type = "simple", + biomes = { "desert" }, + sidelen = 80, + y_min = 1, + y_max = 100, + place_on = { "default:desert_sand" }, + fill_ratio = 0.001, + height_max = 4 + } +) \ No newline at end of file