1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-06-29 15:20:19 +02:00

[mobs] Add unbalanced Ent from LOTT

- See #134
This commit is contained in:
LeMagnesium 2015-11-11 19:13:00 +01:00
parent 72232087a6
commit 14823101bf
4 changed files with 72671 additions and 0 deletions

87
mods/mobs/ent.lua Normal file
View File

@ -0,0 +1,87 @@
-- Ent from https://github.com/Minetest-LOTT/Lord-of-the-Test
mobs:register_mob("mobs:ent", {
type = "npc",
hp_min = 50,
hp_max = 70,
collisionbox = {-0.5, 0, -0.5, 0.5, 5, 0.5},
textures = {
{"mobs_ent.png"},
},
visual_size = {x=3.5,y=3.5},
visual = "mesh",
mesh = "mobs_ent.x",
view_range = 20,
makes_footstep_sound = true,
walk_velocity = 1,
run_velocity = 1.5,
armor = 100,
damage = 5,
drops = {
{name = "default:sapling",
chance = 5,
min = 1,
max = 3,},
{name = "moretrees:apple_tree_sapling",
chance = 5,
min = 1,
max = 3,},
{name = "moretrees:birch_sapling",
chance = 5,
min = 1,
max = 3,},
{name = "moretrees:beech_sapling",
chance = 5,
min = 1,
max = 3,},
{name = "moretrees:acacia_sapling",
chance = 5,
min = 1,
max = 3,},
{name = "moretrees:pine_sapling",
chance = 5,
min = 1,
max = 3,},
{name = "moretrees:fir_sapling",
chance = 5,
min = 1,
max = 3,},
{name = "moretrees:rubber_tree_sapling",
chance = 5,
min = 1,
max = 3,},
{name = "lottplants:yavannamiresapling",
chance = 250,
min = 1,
max = 1,},
},
light_resistant = true,
drawtype = "front",
water_damage = 0,
lava_damage = 60,
light_damage = 0,
attack_type = "dogfight",
animation = {
speed_normal = 15,
speed_run = 15,
stand_start = 17,
stand_end = 17,
walk_start = 10,
walk_end = 80,
run_start = 10,
run_end = 80,
punch_start = 1,
punch_end = 1,
},
jump = true,
sounds = {
war_cry = "mobs_die_yell",
death = "mobs_yeti_death",
attack = "default_punch2",
},
attacks_monsters = true,
peaceful = true,
group_attack = true,
step = 1,
})
mobs:register_spawn("mobs:ent", {"default:junglegrass"}, 20, -1, 6000, 3, 31000)

View File

@ -38,6 +38,7 @@ dofile(path.."/minotaur.lua") -- Kalabasa
-- The bosses
dofile(path.."/pumpkins.lua")
dofile(path.."/ent.lua")
-- begin slimes mobs compatibility changes
-- cannot find mesecons?, craft glue instead

72583
mods/mobs/models/mobs_ent.x Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB