mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-27 03:37:31 +01:00
2bb416765c
This reverts the hierarchies ENTITIES/mcl_mobs, ENTITIES/mobs_mc and ENTITIES/mobs_mc_gameconfig to the state of commit 32c03dc27eb835fb60fdc2e396f6c3d5e5fc010d
40 lines
804 B
Lua
40 lines
804 B
Lua
--###################
|
|
--################### AGENT - seemingly unused
|
|
--###################
|
|
|
|
local S = minetest.get_translator("mobs_mc")
|
|
|
|
mobs:register_mob("mobs_mc:agent", {
|
|
type = "npc",
|
|
spawn_class = "passive",
|
|
passive = true,
|
|
hp_min = 20,
|
|
hp_max = 20,
|
|
armor = 100,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 1, 0.35},
|
|
visual = "mesh",
|
|
mesh = "mobs_mc_agent.b3d",
|
|
textures = {
|
|
{"mobs_mc_agent.png"},
|
|
},
|
|
-- TODO: sounds
|
|
visual_size = {x=3, y=3},
|
|
walk_chance = 0,
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
stand_speed = 25,
|
|
walk_speed = 25,
|
|
run_speed = 50,
|
|
stand_start = 20,
|
|
stand_end = 60,
|
|
walk_start = 0,
|
|
walk_end = 20,
|
|
run_start = 0,
|
|
run_end = 20,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("mobs_mc:agent", S("Agent"), "mobs_mc_spawn_icon_agent.png", 0)
|