forked from mtcontrib/mob_horse
Compare commits
6 Commits
2ff662c2e1
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
efb7b7a84e | ||
|
0bb39d3c8d | ||
|
06fc86988a | ||
|
3deab2d01c | ||
|
58d84da9eb | ||
|
ac8cb2ec70 |
34
init.lua
34
init.lua
@@ -23,12 +23,13 @@ mobs:register_mob("mob_horse:horse", {
|
||||
mesh = "mobs_horse.x",
|
||||
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.25, 0.4},
|
||||
animation = {
|
||||
speed_normal = 15, speed_run = 30,
|
||||
stand_start = 25, stand_end = 50, -- 75
|
||||
stand2_start = 25, stand2_end = 25,
|
||||
stand3_start = 55, stand3_end = 75, stand3_loop = false,
|
||||
speed_normal = 15,
|
||||
stand_start = 25, stand_end = 25, -- stand still
|
||||
stand2_start = 25, stand2_end = 50, stand2_loop = false, -- head to side
|
||||
-- stand3_start = 55, stand3_end = 75, stand3_loop = false, -- rear up
|
||||
walk_start = 75, walk_end = 100,
|
||||
run_start = 75, run_end = 100
|
||||
run_start = 75, run_end = 100, speed_run = 30,
|
||||
punch_start = 55, punch_end = 75, punch_speed = 35
|
||||
},
|
||||
textures = {
|
||||
{"mobs_horse.png"}, -- textures by Mjollna
|
||||
@@ -36,24 +37,28 @@ mobs:register_mob("mob_horse:horse", {
|
||||
{"mobs_horseara.png"}
|
||||
},
|
||||
fear_height = 3,
|
||||
runaway = true,
|
||||
--runaway = true,
|
||||
fly = false,
|
||||
walk_chance = 60,
|
||||
view_range = 5,
|
||||
view_range = 7,
|
||||
follow = {
|
||||
"farming:wheat", "default:apple", "farming:oat",
|
||||
"farming:barley", "farming:corn"
|
||||
},
|
||||
passive = true,
|
||||
hp_min = 12,
|
||||
hp_max = 16,
|
||||
armor = 200,
|
||||
passive = false, attack_type = "dogfight", reach = 2.5, damage = 3,
|
||||
attack_chance = 95,
|
||||
attack_monsters = true,
|
||||
hp_min = 15,
|
||||
hp_max = 23,
|
||||
armor = 100,
|
||||
lava_damage = 5,
|
||||
fire_damage = 4,
|
||||
fall_damage = 1,
|
||||
water_damage = 0,
|
||||
makes_footstep_sound = true,
|
||||
drops = {
|
||||
{name = "mobs:leather", chance = 1, min = 0, max = 2}
|
||||
{name = "mobs:leather", chance = 1, min = 0, max = 2},
|
||||
{name = "mobs:meat_raw", chance = 1, min = 1, max = 2}
|
||||
},
|
||||
|
||||
do_custom = function(self, dtime)
|
||||
@@ -211,9 +216,8 @@ mobs:register_mob("mob_horse:horse", {
|
||||
end,
|
||||
--[[
|
||||
on_sound = function(self, def)
|
||||
-- loudness ranges from (0.0 = cannot hear, to 1.0 = next to sound)
|
||||
if def.loudness > 0.8 then -- if loud enough startle horse into jumping
|
||||
self.object:set_velocity({x=0, y=5, z=0})
|
||||
self.object:set_velocity({x = 0, y = 5, z = 0})
|
||||
end
|
||||
end
|
||||
]]
|
||||
@@ -340,4 +344,4 @@ if minetest.get_modpath("lucky_block") then
|
||||
})
|
||||
end
|
||||
|
||||
print("[MOD] Mob Horse loaded")
|
||||
print("[MOD] Mobs Redo Horse loaded")
|
||||
|
10
locale/mob_horse.da.tr
Normal file
10
locale/mob_horse.da.tr
Normal file
@@ -0,0 +1,10 @@
|
||||
# textdomain:mob_horse
|
||||
, jump height: = , springhøjde :
|
||||
, stop speed: = , stophastighed :
|
||||
speed: = hastighed :
|
||||
Bronze HorseShoes (use on horse to apply)=Bronzehestesko (brug på hest for at skoe den)
|
||||
Diamond HorseShoes (use on horse to apply)=Diamandhestesko (brug på hest for at skoe den)
|
||||
Horse=Hest
|
||||
Horse shoes fitted -= Hesteskoen passede -
|
||||
Mese HorseShoes (use on horse to apply)=Mesehestesko (brug på hest for at skoe den)
|
||||
Steel HorseShoes (use on horse to apply)=Stålhestesko (brug på hest for at skoe den)
|
Reference in New Issue
Block a user