Advertisement
Guest User

minetest.get_craft_result

a guest
Jan 13th, 2014
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. output, decremented_input = minetest.get_craft_result({ method = "normal", width = 1, items = { ItemStack("default:coal_lump 2"), ItemStack("default:stick 2") }})
  2. print ("ran")
  3.  
  4. -- Returns nil but according to the wiki should be {wear = 0, name = "default:torch", count = 4, metadata = ""}
  5. print (dump(output.item:to_table()))
  6. -- Returns userdata
  7. print (dump(output.item))
  8. -- Returns table of time and item
  9. print (dump(output))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement