Browse Source

added farming_stage_lengh setting to determine speed of crop growth

pull/22/head
TenPlus1 1 month ago
parent
commit
68332f2706
3 changed files with 5 additions and 2 deletions
  1. +1
    -0
      README.md
  2. +2
    -2
      init.lua
  3. +2
    -0
      settingtypes.txt

+ 1
- 0
README.md View File

@@ -13,6 +13,7 @@ This mod works by adding your new plant to the {growing=1} group and numbering t

### Changelog:

- 1.44 - Added 'farming_stage_length' in mod settings for speed of crop growth
- 1.43 - Scythe works on use instead of right-click, added seed=1 groups to actual seeds and seed=2 group for plantable food items.
- 1.42 - Soil needs water to be present within 3 blocks horizontally and 1 below to make wet soil, Jack 'o Lanterns now check protection, add chocolate block.
- 1.41 - Each crop has it's own spawn rate (can be changed in farming.conf)


+ 2
- 2
init.lua 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




+ 2
- 0
settingtypes.txt View File

@@ -0,0 +1,2 @@
# Contains a value used for speed of crop growth in seconds
farming_stage_length (Farming Stage Length) float 160.0

Loading…
Cancel
Save