How to make machine stop working when player has no needed items

2 posts / 0 new
Last post
Offline
Last seen: 11 months 4 weeks ago
Joined: 04/24/2015 - 01:00
Gems: 0
How to make machine stop working when player has no needed items

It is supposed to take up 1 copper 1 zinc and make 1 brass but if you have no copper or zinc it still works. If you can please help i would appreicate it very much.



KKNTheLegend's picture
Offline
Last seen: 2 years 2 months ago
Joined: 07/19/2015 - 19:06
Gems: 0
here's what you need to do.

here's what you need to do. select "Stack event", and where it says "(In all cases)", click that arrow next to it and choose "hasPlayerInInventory[Item/Block]", choose Copper, then click OK. now click "Add Event" and have the next event be "Consume item in inventory", then select Copper again. now do the same,  but for Zinc. for the final part, select "Add item to inventory" and choose Brass.

Hope this works for you, it works every time for me!