Advertisement
Guest User

whaaaaaaaaaaaat

a guest
Jul 30th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.67 KB | None | 0 0
  1. minetest.register_node("electrica:cobalt_ore", {
  2. description = "Cobalt Ore",
  3. is_ground_content = true,
  4. tiles = {"default_stone.png^electrica_cobalt_ore.png"},
  5.  
  6. drop = {
  7.     max_items = 2,  -- Maximum number of items to drop
  8. items = {  -- Choose max_items randomly from this list.
  9.     {items = {'electrica:cobalt_lump 1-3', 'electrica:quartz_lump 3-6'}, -- Items to drop.
  10.     rarity = 4, -- Propability of dropping is 1 / rarity
  11. },
  12.    {items = {'default:gravel'}} -- max_items defines this dropping somehow with rarity have no effing idea what this does
  13.     }
  14. },
  15. sounds = default.node_sound_metal_defaults(),
  16. groups = {cracky=1, stone=1, cracky=3, oddly_breakable_by_hand=1 },
  17. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement