667 B
667 B
gameauthapi
Spawnables
Spawnables describe items that can appear in the world. Along with the name and spawn rate, they now specify how the item behaves when a player performs the required collect action.
- CollectAction – the action a player must perform.
- CollectResults – a list of possible outcomes when the collect action
succeeds. Each entry defines:
- Result – textual description of the outcome.
- SuccessRate – percentage chance (0-100) for that outcome.
- Uses – optional number of times the item can be successfully acted on before being removed.
0means it never expires unlessConsumeOnSuccessistrue.