added farming.rarety to settings
This commit is contained in:
parent
a501c5d0d4
commit
1c06bf2628
@ -13,6 +13,7 @@ This mod works by adding your new plant to the {growing=1} group and numbering t
|
|||||||
|
|
||||||
Changelog:
|
Changelog:
|
||||||
|
|
||||||
|
1.27 - Added meshoptions to api and wheat plants, added farming.rarity setting to spawn more/less crops on map
|
||||||
1.26 - Added support for [toolranks] mod when using hoe's
|
1.26 - Added support for [toolranks] mod when using hoe's
|
||||||
1.25 - Added check for farming.conf setting file to disable specific crops globally (inside mod folder) or world specific (inside world folder)
|
1.25 - Added check for farming.conf setting file to disable specific crops globally (inside mod folder) or world specific (inside world folder)
|
||||||
1.24 - Added Hemp which can be crafted into fibre, paper, string, rope and oil.
|
1.24 - Added Hemp which can be crafted into fibre, paper, string, rope and oil.
|
||||||
|
@ -25,3 +25,6 @@ farming.grapes = true
|
|||||||
farming.barley = true
|
farming.barley = true
|
||||||
farming.hemp = true
|
farming.hemp = true
|
||||||
farming.donuts = true
|
farming.donuts = true
|
||||||
|
|
||||||
|
-- rarety of crops on map, default is 0.006 (higher number = more crops)
|
||||||
|
farming.rarety = 0.006
|
||||||
|
3
init.lua
3
init.lua
@ -1,5 +1,5 @@
|
|||||||
--[[
|
--[[
|
||||||
Farming Redo Mod 1.25 (6th May 2017)
|
Farming Redo Mod
|
||||||
by TenPlus1
|
by TenPlus1
|
||||||
NEW growing routine by prestidigitator
|
NEW growing routine by prestidigitator
|
||||||
auto-refill by crabman77
|
auto-refill by crabman77
|
||||||
@ -646,6 +646,7 @@ farming.grapes = true
|
|||||||
farming.barley = true
|
farming.barley = true
|
||||||
farming.hemp = true
|
farming.hemp = true
|
||||||
farming.donuts = true
|
farming.donuts = true
|
||||||
|
farming.rarety = 0.006
|
||||||
|
|
||||||
|
|
||||||
-- Load new global settings if found inside mod folder
|
-- Load new global settings if found inside mod folder
|
||||||
|
@ -12,7 +12,7 @@ local function register_plant(name, min, max, spawnby, num, enabled)
|
|||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0,
|
offset = 0,
|
||||||
scale = 0.006,
|
scale = farming.rarety, -- 0.006,
|
||||||
spread = {x = 100, y = 100, z = 100},
|
spread = {x = 100, y = 100, z = 100},
|
||||||
seed = 329,
|
seed = 329,
|
||||||
octaves = 3,
|
octaves = 3,
|
||||||
@ -60,7 +60,7 @@ minetest.register_decoration({
|
|||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0,
|
offset = 0,
|
||||||
scale = 0.06,
|
scale = farming.rarety, -- 0.06,
|
||||||
spread = {x = 100, y = 100, z = 100},
|
spread = {x = 100, y = 100, z = 100},
|
||||||
seed = 420,
|
seed = 420,
|
||||||
octaves = 3,
|
octaves = 3,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user