init.lua 1007 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. minetest.register_node("mese_post:mese_post_light", {
  2. description = "Mese Post Light",
  3. tiles = {
  4. "default_mese_post_light_top.png",
  5. "default_mese_post_light_top.png",
  6. "default_mese_post_light_side_dark.png",
  7. "default_mese_post_light_side_dark.png",
  8. "default_mese_post_light_side.png",
  9. "default_mese_post_light_side.png",
  10. },
  11. wield_image = "default_mese_post_light_side.png",
  12. drawtype = "nodebox",
  13. node_box = {
  14. type = "fixed",
  15. fixed = {
  16. {-2 / 16, -8 / 16, -2 / 16, 2 / 16, 8 / 16, 2 / 16},
  17. },
  18. },
  19. paramtype = "light",
  20. light_source = default.LIGHT_MAX - 1,
  21. sunlight_propagates = true,
  22. is_ground_content = false,
  23. groups = utility.dig_groups("wood", {flammable = 2}),
  24. sounds = default.node_sound_wood_defaults(),
  25. })
  26. minetest.register_craft({
  27. output = "mese_post:mese_post_light 3",
  28. recipe = {
  29. {"", "default:glass", ""},
  30. {"default:mese_crystal", "default:mese_crystal", "default:mese_crystal"},
  31. {"", "group:wood", ""},
  32. }
  33. })