sequenceDiagram
actor Player
participant Unlock
participant Roller
participant SkillChallenge
Note over Player,SkillChallenge: Unlocking a container
Player->>+Unlock: Request unlock
Unlock->>+Roller: Roll stat
Roller->>-Unlock: Roll result
Note right of Player: This is a request to the player model
Unlock-->>+Player: Request player stat
Player-->>-Unlock: Player stat
Unlock->>+Unlock: Compute roll
Unlock->>+SkillChallenge: Request challenge parameters
SkillChallenge->>-Unlock: Challenge parameters
Unlock->>Unlock: Determine outcome
Unlock->>Player: Report outcome