1
0
mirror of https://codeberg.org/tenplus1/mobs_animal.git synced 2025-02-13 10:50:22 +01:00

make eat grass block false by default

This commit is contained in:
tenplus1 2025-02-06 08:59:22 +00:00
parent 8d5fb34534
commit 1d9674721f
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ local S = minetest.get_translator("mobs_animal")
-- should cows eat grass blocks and mess up the environment?
local eat_gb = minetest.settings:get_bool("mobs_animal.eat_grass_block") ~= false
local eat_gb = minetest.settings:get_bool("mobs_animal.eat_grass_block")
local replace_what = { {"group:grass", "air", 0} }
if eat_gb then

View File

@ -10,4 +10,4 @@ mobs_animal.sheep (Enable Sheep) bool true
mobs_animal.warthog (Enable Warthog) bool true
mobs_animal.hairball (Enable Kitten Hairball drops) bool true
mobs_animal.eat_grass_block (Enable Cow/Sheep eating grass blocks) bool true
mobs_animal.eat_grass_block (Enable Cow/Sheep eating grass blocks) bool false

View File

@ -6,7 +6,7 @@ local random = math.random
-- should sheep eat grass blocks and mess up the environment?
local eat_gb = minetest.settings:get_bool("mobs_animal.eat_grass_block") ~= false
local eat_gb = minetest.settings:get_bool("mobs_animal.eat_grass_block")
local replace_what = { {"group:grass", "air", -1} }
if eat_gb then