master
BlockMen 2014-03-13 14:59:19 +01:00
parent 70e43325ed
commit 11ed82040c
5 changed files with 5 additions and 4 deletions

View File

@ -70,6 +70,7 @@ Changelog:
- tweaked and restructured code
- ghosts only spawn on grass and desert-sand blocks
- ghosts have now 12 HP (instead 15 HP)
- zombies don't jump over fences anymore
This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it

View File

@ -1,2 +1,2 @@
default
wool
wool

View File

@ -97,4 +97,4 @@ dofile(minetest.get_modpath("creatures").."/sheep.lua")
dofile(minetest.get_modpath("creatures").."/spawn.lua")
dofile(minetest.get_modpath("creatures").."/spawners.lua")
-- other stuff
dofile(minetest.get_modpath("creatures").."/items.lua")
dofile(minetest.get_modpath("creatures").."/items.lua")

View File

@ -1,7 +1,7 @@
-- drop items
minetest.register_craftitem("creatures:flesh", {
description = "Flesh",
inventory_image = "creatures_rotten_flesh.png",
inventory_image = "creatures_flesh.png",
on_use = minetest.item_eat(4),
})

View File

@ -85,4 +85,4 @@ minetest.register_abm({
end
if math.random(1,10) > 8 then return end
creatures.spawn(pos, math.random(1,2), "creatures:sheep", 5, 35)
end})
end})