Prison Keycard System

I’m making a prison escape game. I want prisoners to be able to look under tables and inside drawers to find keycards and cash

Already Solved

then i want the players to be able to use keycards on certain doors, but I don’t want players to lose their keycard when using it on a door. how do I do this?

When the player tries to open the door, check if the amount of the keycard is >0 (using a checker), and then open the door if the check passes.

5 Likes

Don’t forget to add a solution!