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:
parent
8d5fb34534
commit
1d9674721f
2
cow.lua
2
cow.lua
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user