Open Sesame: Doors, Switches, Locks and Chests Kit
README.md
Item
Something a player picks up by walking over it: a key, a coloured keycard, a coin or a gem, in the wood, sci-fi or cartoon look. Each peer asks the item's owner for it when its own player walks over it; the owner checks the player is there and the item is still there for them, then adds keys, keycard_<color>, coins or gems (or item) to that player's count in interactKit's inventory and fires collect on every peer. perPlayer items are taken once by every player; shared ones go to the first. Put it on a synced entity, or use Interact.spawnKey. Needs nothing beside it.