123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- -- SOUNDS LINK :
- -- Bones : https://freesound.org/people/spookymodem/sounds/202091/
- local skullnods = {
- "default:dirt",
- "default:dirt_with_rainforest",
- "default:dirt_with_grass",
- "default:dirt_with_dry_grass",
- "default:dry_dirt_with_dry_grass",
- "default:dirt_with_coniferous_litter",
- "default:stone",
- "default:ice",
- "default:snowblock",
- "default:dirt_with_snow",
- "default:sand",
- "default:desert_sand",
- "default:desert_stone",
- "default:stone",
- "default:desert_stone",
- --"default:cobble",
- "default:mossycobble",
- "default:chest",
- "default:ice",
- }
- -- NORMAL SKULL
- mobs:register_mob("skulls:skull", {
- --nametag = "skull" ,
- type = "monster",
- passive = false,
- attack_type = "dogfight",
- pathfinding = true,
- reach = 2,
- damage = 3,
- hp_min = 15,
- hp_max = 15,
- armor = 100,
- collisionbox = {-0.4, -1, -0.4, 0.4, 0.9, 0.4},
- visual = "mesh",
- mesh = "skull_normal.b3d",
- rotate = 180,
- textures = {
- {"skull.png"},
- },
- blood_texture = "bonex.png",
- makes_footstep_sound = true,
- sounds = {
- --attack = "",
- death = "falling_bones",
- },
- walk_velocity = 1,
- run_velocity = 5,
- jump_height = 1,
- stepheight = 1.1,
- floats = 0,
- view_range = 20,
- drops = {
- {name = "skullkingsitems:bone", chance = 2, min = 1, max = 1},
-
-
- },
- water_damage = 0,
- lava_damage = 1,
- light_damage = 0,
- animation = {
- speed_normal = 15,
- speed_run = 15,
- stand_start = 0,
- stand_end = 0,
- walk_start = 15,
- walk_end = 33,
- run_start = 35,
- run_end = 53,
- --punch_start = 40,
- --punch_end = 63,
- },
-
-
-
- })
- mobs:spawn({
- name = "skulls:skull",
- nodes = skullnods,
- min_light = 0,
- max_light = 14,
- chance = 6000,
- --min_height = 0,
- --max_height = 200,
- max_height = 200,
-
- })
- mobs:register_egg("skulls:skull", "Skull", "eggsskull.png", 1)
- core.register_alias("skulls:skull", "spawneggs:skull")
|