diff --git a/README.txt b/README.txt index 1c99d58..d56baf2 100644 --- a/README.txt +++ b/README.txt @@ -14,13 +14,15 @@ For further information or help see: http://wiki.minetest.com/wiki/Installing_Mods How to use the mod: -There are 3 hostile mobs that want to kill the player: +There are 4 hostile mobs that want to kill the player: - The dirt monster spawns at night on grass and get killed on day when its too light. - The stone monster spawns on stone and is stronger but slower than the dirt monster - The desert monster spawns in deserts and is faster but less strong than the dirt monster +- The oerkki is the same as in 0.3. It spawns in realy dark caves and + is stronger than the dirt monster. There are also 2 friendly mobs: - The sheep spawns on grass. You can get wool from it when you rightclick it and meat if you kill it. Meat can bee cooked in the furnace to eat it. diff --git a/init.lua b/init.lua index bfa5ec4..819926f 100644 --- a/init.lua +++ b/init.lua @@ -544,3 +544,22 @@ minetest.register_craft({ recipe = "mobs:rat", cooktime = 5, }) + +mobs:register_monster("mobs:oerkki", { + hp_max = 8, + collisionbox = {-0.4, -1, -0.4, 0.4, 1, 0.4}, + visual = "upright_sprite", + visual_size = {x=1, y=2}, + textures = {"mobs_oerkki.png", "mobs_oerkki_back.png"}, + makes_footstep_sound = false, + view_range = 15, + walk_velocity = 1, + run_velocity = 3, + damage = 4, + drop = "", + drop_count = 0, + armor = 3, + drawtype = "front", + light_resistant = true, +}) +mobs:register_spawn("mobs:oerkki", {"default:stone"}, 2, -1) diff --git a/textures/mobs_oerkki.png b/textures/mobs_oerkki.png new file mode 100644 index 0000000..d442213 Binary files /dev/null and b/textures/mobs_oerkki.png differ diff --git a/textures/mobs_oerkki_back.png b/textures/mobs_oerkki_back.png new file mode 100644 index 0000000..cf430c4 Binary files /dev/null and b/textures/mobs_oerkki_back.png differ