1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-22 17:50:28 +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:
Niklp
2023-10-24 12:52:42 +02:00
committed by GitHub
parent 46608a7fb9
commit 3fce92a9f5
6 changed files with 15 additions and 8 deletions

View File

@ -4,6 +4,8 @@
-- support for i18n
local S = minetest.get_translator("molehills")
local molehill_rarity = minetest.settings:get("molehills.molehill_rarity") or 0.002
-- Node
local mh_cbox = {
type = "fixed",
@ -38,7 +40,7 @@ minetest.register_decoration({
decoration = {
"molehills:molehill"
},
fill_ratio = 0.002,
fill_ratio = molehill_rarity,
y_min = 1,
y_max = 40,
place_on = {

View File

@ -0,0 +1,2 @@
# Molehill rarity (higher number -> higher probability)
molehills.molehill_rarity (Molehill rarity) float 0.002 0.0001 1