Files
gameauthapi/README.md
T

15 lines
667 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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. `0` means it never expires unless `ConsumeOnSuccess` is `true`.