Add oerkki
parent
6f4d2bad60
commit
c14f036893
|
@ -14,13 +14,15 @@ For further information or help see:
|
||||||
http://wiki.minetest.com/wiki/Installing_Mods
|
http://wiki.minetest.com/wiki/Installing_Mods
|
||||||
|
|
||||||
How to use the mod:
|
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
|
- The dirt monster spawns at night on grass and get killed on day when
|
||||||
its too light.
|
its too light.
|
||||||
- The stone monster spawns on stone and is stronger but slower than the
|
- The stone monster spawns on stone and is stronger but slower than the
|
||||||
dirt monster
|
dirt monster
|
||||||
- The desert monster spawns in deserts and is faster but less strong
|
- The desert monster spawns in deserts and is faster but less strong
|
||||||
than the dirt monster
|
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:
|
There are also 2 friendly mobs:
|
||||||
- The sheep spawns on grass. You can get wool from it when you rightclick
|
- 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.
|
it and meat if you kill it. Meat can bee cooked in the furnace to eat it.
|
||||||
|
|
19
init.lua
19
init.lua
|
@ -544,3 +544,22 @@ minetest.register_craft({
|
||||||
recipe = "mobs:rat",
|
recipe = "mobs:rat",
|
||||||
cooktime = 5,
|
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 not shown.
After Width: | Height: | Size: 239 B |
Binary file not shown.
After Width: | Height: | Size: 224 B |
Loading…
Reference in New Issue