jun1per Posted Thursday at 05:09 AM Report Posted Thursday at 05:09 AM 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 Saturday at 03:49 AM Report Posted Saturday at 03:49 AM (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 Saturday at 03:50 AM by Spear and Fang
jun1per Posted Saturday at 04:02 AM Author Report Posted Saturday at 04:02 AM 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 Saturday at 04:28 AM Report Posted Saturday at 04:28 AM (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 Saturday at 04:30 AM by Spear and Fang
Recommended Posts