3 --made for MC like Survival game
4 --License for code WTFPL and otherwise stated in readmes
7 local MP
= minetest
.get_modpath(minetest
.get_current_modname())
8 local S
, NS
= dofile(MP
.."/intllib.lua")
11 --################### WITHER SKELETON
14 mobs
:register_mob("mobs_mc:witherskeleton", {
20 collisionbox
= {-0.35, -0.01, -0.35, 0.35, 2.39, 0.35},
22 mesh
= "mobs_mc_witherskeleton.b3d",
25 "default_tool_stonesword.png", -- sword
26 "mobs_mc_wither_skeleton.png", -- wither skeleton
29 visual_size
= {x
=3.6, y
=3.6},
30 makes_footstep_sound
= true,
33 death
= "skeletondeath",
34 damage
= "skeletonhurt1",
42 {name
= mobs_mc
.items
.coal
,
46 {name
= mobs_mc
.items
.bone
,
52 {name
= mobs_mc
.items
.head_wither_skeleton
,
53 chance
= 40, -- 2.5% chance
81 attack_type
= "dogfight",
82 arrow
= "mobs_mc:arrow_entity",
86 dogshoot_count_max
=0.5,
92 mobs
:spawn_specific("mobs_mc:witherskeleton", mobs_mc
.spawn
.nether_fortress
, {"air"}, 0, 7, 30, 5000, 5, mobs_mc
.spawn_height
.nether_min
, mobs_mc
.spawn_height
.nether_max
)
95 mobs
:register_egg("mobs_mc:witherskeleton", S("Wither Skeleton"), "mobs_mc_spawn_icon_witherskeleton.png", 0)
97 if minetest
.settings
:get_bool("log_mods") then
98 minetest
.log("action", "MC Wither Skeleton loaded")