Skip to content

Commit

Permalink
Add oerkki
Browse files Browse the repository at this point in the history
  • Loading branch information
PilzAdam committed Sep 19, 2012
1 parent 6f4d2ba commit c14f036
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.txt
Expand Up @@ -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.
Expand Down
19 changes: 19 additions & 0 deletions init.lua
Expand Up @@ -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)
Binary file added textures/mobs_oerkki.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added textures/mobs_oerkki_back.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c14f036

Please sign in to comment.