Guest User

Untitled

a guest
Jun 25th, 2019
67
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. })
RAW Paste Data