init.lua 597 B

1234567891011121314151617181920212223
  1. local S = minetest.get_translator("xspikes")
  2. minetest.register_node("xspikes:steel_spike", {
  3. description = S("Steel Spikes"),
  4. damage_per_second = 4,
  5. drawtype = "firelike",
  6. groups = {cracky=2},
  7. walkable = false,
  8. buildable_to = true,
  9. tiles = {"xspikes_steel_spike.png"},
  10. stack_max = 16,
  11. })
  12. minetest.register_node("xspikes:wood_spike", {
  13. description = S("Wood Spikes"),
  14. damage_per_second = 2,
  15. drawtype = "firelike",
  16. groups = {choppy=3,flammable=3},
  17. walkable = false,
  18. buildable_to = true,
  19. tiles = {"xspikes_wood_spike.png"},
  20. stack_max = 16,
  21. })