mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-07-20 00:20:24 +02:00
added refill for cocoa and fix bug
This commit is contained in:
@ -71,7 +71,7 @@ dofile(farming.path.."/compatibility.lua") -- Farming Plus compatibility
|
||||
-- Utility Functions
|
||||
|
||||
local time_speed = tonumber(minetest.setting_get("time_speed")) or 72
|
||||
local SECS_PER_CYCLE = (time_speed > 0 and 24 * 60 * 60 / time_speed) or nil
|
||||
local SECS_PER_CYCLE = (time_speed > 0 and 24 * 60 * 60 / time_speed) or 0 --nil
|
||||
|
||||
local function clamp(x, min, max)
|
||||
return (x < min and min) or (x > max and max) or x
|
||||
@ -551,4 +551,4 @@ farming.register_plant("farming:cotton", {
|
||||
description = "Cotton2 seed",
|
||||
inventory_image = "farming_cotton_seed.png",
|
||||
steps = 8,
|
||||
})]]
|
||||
})]]
|
||||
|
Reference in New Issue
Block a user