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")
10 mobs
:register_mob("mobs_mc:illusioner", {
12 attack_type
= "shoot",
14 arrow
= "mobs_mc:arrow_entity",
18 collisionbox
= {-0.3, -0.01, -0.3, 0.3, 1.94, 0.3},
20 mesh
= "mobs_mc_illusioner.b3d",
22 "mobs_mc_illusionist.png",
23 "mobs_mc_illusionist.png", --hat
28 shoot_attack
= "mcl_bows_bow_shoot",
31 visual_size
= {x
=3, y
=3},
49 -- 120-140 magic arm swinging, 140-150 transition between magic to bow shooting
56 mobs
:register_egg("mobs_mc:illusioner", S("Illusioner"), "mobs_mc_spawn_icon_illusioner.png", 0)
58 if minetest
.settings
:get_bool("log_mods") then
59 minetest
.log("action", "MC Illusioner loaded")