Advertisement
OdnetninI

Untitled

Nov 17th, 2012
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.08 KB | None | 0 0
  1. mobs:register_mob("mobs:ninja", {
  2.     type = "monster",
  3.     hp_max = 15,
  4.     collisionbox = {-0.4, -1, -0.4, 0.4, 1, 0.4},
  5.     visual = "upright_sprite",
  6.     visual_size = {x=1, y=2},
  7.     textures = {"ninja.png", "ninja_back.png"},
  8.     makes_footstep_sound = true,
  9.     view_range = 15,
  10.     walk_velocity = 1,
  11.     run_velocity = 3,
  12.     damage = 2,
  13.     drops = {
  14.         max_items = 4,
  15.         items = {
  16.             {
  17.                 items = {'default:coal_lump'},
  18.                 rarity = 5,
  19.             },
  20.             {
  21.                 items = {'default:clay_lump'},
  22.                 rarity = 4,
  23.             },
  24.             {
  25.                 items = {'default:iron_lump'},
  26.                 rarity = 40,
  27.             },
  28.             {
  29.                 items = {'default:ore_lump'},
  30.                 rarity = 70,
  31.             },
  32.             {
  33.                 items = {'default:gravel'},
  34.                 rarity = 3,
  35.             },
  36.             {
  37.                 items = {'default:stone'},
  38.                 rarity = 2,
  39.             },
  40.             {
  41.                 items = {'default:sand'},
  42.                 rarity = 2,
  43.             },
  44.             {
  45.                 items = {'default:dirt'},
  46.             },
  47.         },
  48.     },
  49.     armor = 3,
  50.     drawtype = "front",
  51.     water_damage = 0,
  52.     lava_damage = 10,
  53.     light_damage = 3,
  54.     on_rightclick = nil,
  55.     attack_type = "dogfight",
  56. })
  57. mobs:register_spawn("mobs:ninja", {"brilliant_blocks:sand"}, 8, -1, 600, 40, 31000)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement