SHARE
TWEET

Untitled

a guest Jul 26th, 2018 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. -- Creeper by Davedevils (from his subgame MineClone)
  3.  
  4. mobs:register_mob("mobs:creeper", {
  5.     type = "monster",
  6.     passive = false,
  7.     attack_type = "explode",
  8.     explosion_radius = 2,
  9.     explosion_timer = 3,
  10.     reach = 3,
  11.     damage = 21,
  12.     hp_min = 30,
  13.     hp_max = 40,
  14.     armor = 90,
  15.     collisionbox = {-0.4, -1, -0.4, 0.4, 0.8, 0.4},
  16.     visual = "mesh",
  17.     mesh = "mobs_tree_monster.b3d",
  18.     drawtype = "front",
  19.     textures = {
  20.         {"mobs_creeper.png"},
  21.     },
  22.     blood_texture = "mobs_creeper_inv.png",
  23.     makes_footstep_sound = true,
  24.     sounds = {
  25.         random = "mobs_treemonster",
  26.         explode = "tnt_explode",
  27.     },
  28.     walk_velocity = 1,
  29.     run_velocity = 3,
  30.     jump = true,
  31.     view_range = 10,
  32.     fear_height = 3,
  33.     drops = {
  34.         {name = "tnt:gunpowder", chance = 1, min = 0, max = 2},
  35.         {name = "default:coal_lump", chance = 2, min = 0, max = 2},
  36.     },
  37.     water_damage = 2,
  38.     lava_damage = 15,
  39.     light_damage = 0,
  40.     animation = {
  41.         stand_start = 0,
  42.         stand_end = 24,
  43.         walk_start = 25,
  44.         walk_end = 47,
  45.         run_start = 48,
  46.         run_end = 62,
  47.         punch_start = 48,
  48.         punch_end = 62,
  49.         speed_normal = 15,
  50.         speed_run = 15,
  51.     },
  52. })
  53.  
  54. mobs:register_spawn("mobs:creeper", {"ethereal:mushroom_dirt"}, 20, 8, 9000, 2, 31000, false)
  55.  
  56. mobs:register_egg("mobs:creeper", "Creeper", "mobs_creeper_inv.png", 1)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top