mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-06-28 14:26:20 +02:00
increase scarecrow weed protection to 8 blocks
This commit is contained in:
2
init.lua
2
init.lua
@ -12,7 +12,7 @@ local S = core.get_translator("farming")
|
|||||||
|
|
||||||
farming = {
|
farming = {
|
||||||
mod = "redo",
|
mod = "redo",
|
||||||
version = "20250504",
|
version = "20250626",
|
||||||
path = core.get_modpath("farming"),
|
path = core.get_modpath("farming"),
|
||||||
select = {type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}},
|
select = {type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}},
|
||||||
select_final = {type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, -2.5/16, 0.5}},
|
select_final = {type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, -2.5/16, 0.5}},
|
||||||
|
2
soil.lua
2
soil.lua
@ -208,7 +208,7 @@ if core.settings:get_bool("farming_disable_weeds") ~= true then
|
|||||||
|
|
||||||
action = function(pos, node)
|
action = function(pos, node)
|
||||||
|
|
||||||
if core.find_node_near(pos, 4, {"farming:scarecrow_bottom"}) then
|
if core.find_node_near(pos, 8, {"farming:scarecrow_bottom"}) then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user