summaryrefslogtreecommitdiff
path: root/penguin.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-02-21 15:23:03 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2017-02-21 15:23:03 +0000
commitf7b9339dfc61f5f8b92acc031f797f788d901941 (patch)
tree240d3cdbf1fe1ebe9102f6cf29b5e94faff76b07 /penguin.lua
parent08924ee1a3c575e8645d0158738cf96758cbb4d7 (diff)
animals spawn on different grasses if ethereal detected
Diffstat (limited to 'penguin.lua')
-rw-r--r--penguin.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/penguin.lua b/penguin.lua
index f840083..b7748ed 100644
--- a/penguin.lua
+++ b/penguin.lua
@@ -1,6 +1,7 @@
local S = mobs.intllib
+
-- Penguin by D00Med
mobs:register_mob("mobs_animal:penguin", {
@@ -58,6 +59,7 @@ mobs:register_mob("mobs_animal:penguin", {
end,
})
+
mobs:spawn({
name = "mobs_animal:penguin",
nodes = {"default:snowblock"},
@@ -67,4 +69,5 @@ mobs:spawn({
day_toggle = true,
})
+
mobs:register_egg("mobs_animal:penguin", S("Penguin"), "default_snow.png", 1)