4 Commits

Author SHA1 Message Date
tenplus1
fd408d6d90 add spanish translation (thx X-DE1), change to stand animation when dismounting horse 2025-11-17 09:15:30 +00:00
tenplus1
efb7b7a84e add danish translation (thx jeppebundsgaard) 2025-08-27 07:27:20 +01:00
tenplus1
0bb39d3c8d tweak animations 2025-08-22 07:47:25 +01:00
tenplus1
06fc86988a horses can attack players out of the blue 2025-05-15 14:37:31 +01:00
3 changed files with 29 additions and 6 deletions

View File

@@ -23,13 +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,
punch_start = 55, punch_end = 75, punch_speed = 35,
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
@@ -46,6 +46,7 @@ mobs:register_mob("mob_horse:horse", {
"farming:barley", "farming:corn"
},
passive = false, attack_type = "dogfight", reach = 2.5, damage = 3,
attack_chance = 95,
attack_monsters = true,
hp_min = 15,
hp_max = 23,
@@ -136,6 +137,8 @@ mobs:register_mob("mob_horse:horse", {
mobs.detach(clicker, {x = 1, y = 0, z = 1})
self:set_animation("stand")
return
end

10
locale/mob_horse.da.tr Normal file
View 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)

10
locale/mob_horse.es.tr Normal file
View File

@@ -0,0 +1,10 @@
# textdomain:mob_horse
, jump height: = , altura de salto:
, stop speed: = , desaceleración:
speed: = velocidad:
Bronze HorseShoes (use on horse to apply)=Herraduras de bronze (úsalas en el caballo para herrar)
Diamond HorseShoes (use on horse to apply)=Herraduras de diamante (úsalas en el caballo para herrar)
Horse=Caballo
Horse shoes fitted -= Herrado -
Mese HorseShoes (use on horse to apply)=Herraduras de mese (úsalas en el caballo para herrar)
Steel HorseShoes (use on horse to apply)=Herraduras de acero (úsalas en el caballo para herrar)