1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-06-29 23:01:00 +02:00

added farming_stage_lengh setting to determine speed of crop growth

This commit is contained in:
TenPlus1
2020-04-20 09:38:28 +01:00
parent 17359d50af
commit 68332f2706
3 changed files with 5 additions and 2 deletions

View File

@ -7,7 +7,7 @@
farming = {
mod = "redo",
version = "20191202",
version = "20200420",
path = minetest.get_modpath("farming"),
select = {
type = "fixed",
@ -79,7 +79,7 @@ end
-- Growth Logic
local STAGE_LENGTH_AVG = 160.0
local STAGE_LENGTH_AVG = tonumber(minetest.settings:get("farming_stage_length")) or 160
local STAGE_LENGTH_DEV = STAGE_LENGTH_AVG / 6