summaryrefslogtreecommitdiff
path: root/kitten.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-02-25 13:57:07 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2017-02-25 13:57:07 +0000
commit0f2f60780380dfc68bcb15fdc14a8b62cb7707e7 (patch)
tree66ba626c9a55afd73d4fbf7bee5effe9ae57267e /kitten.lua
parentf70cab689471ffa3c9ad16937808f37bf022b8d8 (diff)
kittens spawn on both green grass and ethereal's grove dirt
Diffstat (limited to 'kitten.lua')
-rw-r--r--kitten.lua8
1 files changed, 1 insertions, 7 deletions
diff --git a/kitten.lua b/kitten.lua
index 59e057a..e2fb922 100644
--- a/kitten.lua
+++ b/kitten.lua
@@ -55,15 +55,9 @@ mobs:register_mob("mobs_animal:kitten", {
})
-local spawn_on = "default:dirt_with_grass"
-
-if minetest.get_modpath("ethereal") then
- spawn_on = "ethereal:grove_dirt"
-end
-
mobs:spawn({
name = "mobs_animal:kitten",
- nodes = {spawn_on},
+ nodes = {"default:dirt_with_grass", "ethereal:grove_dirt"},
min_light = 12,
chance = 22000,
min_height = 0,