Devices
This creates your classic unlockable pathways.
It uses conditional buttons to check if a player has enough gold to buy entry.
Upon a successful purchase, it physically "opens" the door by instantly hiding the closed props, showing the open props, disabling invisible barriers, and playing a purchase sound.