init.lua 701 B

12345678910111213141516171819
  1. stairs = {}
  2. function stairs.register_stair(subname, recipeitem, groups, images, description, sounds)
  3. stairsplus.register_stair(
  4. "stairs", subname, recipeitem, groups, images, description, subname, sounds, false
  5. )
  6. end
  7. function stairs.register_slab(subname, recipeitem, groups, images, description, sounds)
  8. stairsplus.register_slab(
  9. "stairs", subname, recipeitem, groups, images, description, subname, sounds, false
  10. )
  11. end
  12. function stairs.register_stair_and_slab(subname, recipeitem, groups, images, desc_stair, desc_slab, sounds)
  13. stairs.register_stair(subname, recipeitem, groups, images, desc_stair, sounds)
  14. stairs.register_slab(subname, recipeitem, groups, images, desc_slab, sounds)
  15. end