mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2025-07-15 14:20:32 +02:00
Re-add simple spawn settings for some plants (#62)
* Red-add simple spawn settings for some plants * Add pl_
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
-- support for i18n
|
||||
local S = minetest.get_translator("pl_sunflowers")
|
||||
|
||||
local sunflower_rarity = minetest.settings:get("pl_sunflowers.sunflower_rarity") or 0.005
|
||||
|
||||
local box = {
|
||||
type="fixed",
|
||||
fixed = { { -0.2, -0.5, -0.2, 0.2, 0.5, 0.2 } },
|
||||
@ -40,7 +42,7 @@ minetest.register_decoration({
|
||||
decoration = {
|
||||
"flowers:sunflower"
|
||||
},
|
||||
fill_ratio = 0.005,
|
||||
fill_ratio = sunflower_rarity,
|
||||
y_min = 1,
|
||||
y_max = 40,
|
||||
param2 = 0,
|
||||
|
Reference in New Issue
Block a user