commit 0c2db25216b5532534e2daa7f752b30c87ed3ff0 Author: NathanSalapat Date: Sun Aug 14 17:04:07 2016 -0500 first commit diff --git a/config.txt b/config.txt new file mode 100644 index 0000000..5868e29 --- /dev/null +++ b/config.txt @@ -0,0 +1 @@ +name = banth diff --git a/depends.txt b/depends.txt new file mode 100644 index 0000000..9e9d990 --- /dev/null +++ b/depends.txt @@ -0,0 +1 @@ +mobs diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..fc8a524 --- /dev/null +++ b/init.lua @@ -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) + diff --git a/models/banth.b3d b/models/banth.b3d new file mode 100644 index 0000000..5d8c755 Binary files /dev/null and b/models/banth.b3d differ diff --git a/textures/banth_color.png b/textures/banth_color.png new file mode 100644 index 0000000..2d60a0a Binary files /dev/null and b/textures/banth_color.png differ