Jump to content

Recommended Posts

Posted

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! :)

Posted (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 by Spear and Fang
Posted
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 }

 

Posted (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 by Spear and Fang
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.