Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. local plastic_itemstring
  2. if minetest.get_modpath("basic_materials") then
  3. plastic_itemstring = "basic_materials:plastic_sheet"
  4. elseif minetest.get_modpath("luxury_decor") then
  5. plastic_itemstring = "luxury_decor:plastic_sheet"
  6. else
  7. error("'plastic_sheet' crafting element is required to be registered!")
  8. end
  9.  
  10. minetest.register_craft({
  11. output = "adv_vehicles:car_frame",
  12. recipe = {
  13. {plastic_itemstring, plastic_itemstring, plastic_itemstring},
  14. {plastic_itemstring, plastic_itemstring, plastic_itemstring},
  15. {plastic_itemstring, "", ""}
  16. }
  17. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement