items.lua 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. minetest.register_node("griefer:grieferstone", {
  2. description = "Oerkki Stone\n\nSummons the Oerkki from darkness into light.\nAn important component of gateway portals.",
  3. tiles = {
  4. "griefer_stonetop.png",
  5. "griefer_stonetop.png",
  6. "griefer_stoneside.png",
  7. },
  8. sounds = default.node_sound_stone_defaults(),
  9. groups = utility.dig_groups("obsidian"),
  10. drop = "default:goldblock",
  11. silverpick_drop = true,
  12. --[[
  13. on_construct = function(...)
  14. return griefer.on_stone_construct(...)
  15. end,
  16. on_timer = function(...)
  17. return griefer.on_stone_timer(...)
  18. end,
  19. --]]
  20. after_destruct = function(pos)
  21. minetest.after(0, ambiance.recheck_nearby_sound_beacons, {x=pos.x, y=pos.y, z=pos.z}, 16)
  22. end,
  23. })
  24. minetest.register_craft({
  25. output = 'griefer:grieferstone',
  26. recipe = {
  27. {'default:obsidian', 'default:obsidian', 'default:obsidian'},
  28. {'default:obsidian', 'default:goldblock', 'default:obsidian'},
  29. {'default:obsidian', 'default:obsidian', 'default:obsidian'},
  30. }
  31. })
  32. minetest.register_alias("mobs_monster:oerkki_stone", "griefer:grieferstone")