123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- mobs:register_mob('fantasy_mobs:snail', {
- description = 'Snail',
- type = 'animal',
- passive = true,
- damage = 3,
- damage_max = 10,
- damage_chance = 85,
- attack_type = 'dogfight',
- hp_min = 40,
- hp_max = 100,
- armor = 40,
- collisionbox = {-.35, 0, -.35, .35, .3, .35},
- visual = 'mesh',
- mesh = 'fantasy_snail.b3d',
- textures = {
- {'fantasy_snail_1.png'},
- {'fantasy_snail_2.png'},
- {'fantasy_snail_3.png'},
- {'fantasy_snail_4.png'},
- {'fantasy_snail_5.png'},
- },
- visual_size = {x = 10, y = 10},
- walk_velocity = 1,
- run_velocity = 3,
- water_damage = 0,
- lava_damage = 10,
- view_range = 8,
- reach = 2,
- replace_rate = 3,
- replace_what = {
- {'default:torch', 'epic:glow_crystal'},
- },
- drops = {
- {name = 'default:torch', chance = 100, min = 0, max = 99},
- {name = 'maxhp:lifeforce1', chance = 10, min = 0, max = 3},
- {name = 'maxhp:lifeforce5', chance = 150, min = 0, max = 1},
- {name = 'epic:glow_crystal', chance = 10, min = 1, max = 1},
- {name = 'illuminati:cone_off', chance = 300, min = 0, max = 1},
- {name = 'illuminati:core_off', chance = 300, min = 0, max = 1}
- },
- runaway_from = {'fantasy_mobs:cavefreak_fire', 'fantasy_mobs:cavefreak_slash'},
- animation = {
- stand1_start = 0,
- stand1_end = 59,
- stand2_start = 60,
- stand2_end = 119,
- walk_start = 120,
- walk_end = 179,
- punch_start = 180,
- punch_end = 239,
- },
- })
- mobs:spawn({
- name = 'fantasy_mobs:snail',
- nodes = {'caverealms:stone_with_algae', 'caverealms:stone_with_moss', 'caverealms:stone_with_lichen'},
- min_height = -22000,
- max_height = -1500,
- interval = 64,
- chance = 10000,
- active_object_count = 5,
- })
|