first commit

master
NathanSalapat 2016-08-14 17:04:07 -05:00
commit 0c2db25216
5 changed files with 51 additions and 0 deletions

1
config.txt Normal file
View File

@ -0,0 +1 @@
name = banth

1
depends.txt Normal file
View File

@ -0,0 +1 @@
mobs

49
init.lua Normal file
View File

@ -0,0 +1,49 @@
mobs:register_mob("banth:banth", {
type = "monster",
passive = false,
reach = 2,
damage = 2,
attack_type = "dogfight",
hp_min = 12,
hp_max = 22,
armor = 130,
collisionbox = {-0.6, -0.4, -0.6, 0.6, 0.6, 0.6},
visual = "mesh",
mesh = "banth.b3d",
textures = {
{"banth_color.png"},
},
blood_texture = "mobs_blood.png",
visual_size = {x=8, y=8},
makes_footstep_sound = true,
drops = {
{name = "mobs:meat_raw", chance = 1, min = 3, max = 10},
},
walk_velocity = 1,
run_velocity = 2,
jump = true,
stepheight = 1.1,
water_damage = 0,
lava_damage = 2,
light_damage = 0,
view_range = 14,
animation = {
speed_normal = 10,
speed_run = 20,
walk_start = 90,
walk_end = 130,
stand_start = 1,
stand_end = 40,
run_start = 90,
run_end = 130,
punch_start = 40,
punch_end = 90,
},
})
--mobs:register_spawn(name, nodes, max_light, min_light, chance, active_object_count, max_height, day_toggle)
mobs:register_spawn("banth:banth", {"default:dirt_with_grass","default:stone", "default:sand"}, 20, 10, 750, 2, 31000, false)
mobs:register_egg("banth:banth", "Banth", "default_apple.png", 1)

BIN
models/banth.b3d Normal file

Binary file not shown.

BIN
textures/banth_color.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB