jun1per Posted March 12 Report Posted March 12 I'm curious if anyone here has figured out if the "returnedStack" function is able to give more than a single item. I've tried it before but have had no luck and I'd like to know if I'm simply formatting it incorrectly or if their is a built in limitation. Thanks!
Spear and Fang Posted March 14 Report Posted March 14 (edited) if you mean more than one of the same item, here is an example cut and pasted directly from vanilla assets returnedStack: { type: "item", code: "metalbit-cupronickel", quantity: 8 } Edited March 14 by Spear and Fang
jun1per Posted March 14 Author Report Posted March 14 9 minutes ago, Spear and Fang said: if you mean more than one of the same item, here is an example cut and pasted directly from vanilla assets returnedStack: { type: "item", code: "metalbit-cupronickel", quantity: 8 } Not exactly what I was looking for. I was thinking more like receiving two different extra items using returnedStack, like getting both cupronickel bits and gold bits in addition to the original output from the same recipe. Something like this probably: returnedStack: { type: "item", code: "metalbit-cupronickel", quantity: 8 }, { type: "item", code: "metalbit-gold", quantity: 8 }
Spear and Fang Posted March 14 Report Posted March 14 (edited) yeah I don't think that is possible, at least I don't see anything like that in vanilla. BUT if you have another recipe ingredient that doesn't return anything maybe you could stick it in there? Edited March 14 by Spear and Fang
Recommended Posts