How to stop machine from working when player has no items

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

So I want to make a smeltery, right? I make the GUI, add the button and add the event to remove (1) copper ingot and (1) zinc ingot and give the player (1) brass ingot... Except.. there is one little problem... If you dont have copper or zinc in your inventory it still works.. I dont now how to  fix it please help!



Offline
Last seen: 3 weeks 2 days ago
Joined: 06/10/2017 - 01:15
Gems: 7
i can help  

i can help

 

Offline
Last seen: 3 weeks 2 days ago
Joined: 06/10/2017 - 01:15
Gems: 7
click on (all cases) and

click on (all cases) and paste this: hasPlayerInInventory[Itens.zinc_ingot]

Offline
Last seen: 3 weeks 2 days ago
Joined: 06/10/2017 - 01:15
Gems: 7
RE:click on (all cases) and

ops, i mean hasPlayerInInventory[Mod.zinc_ingot]