21 lines
662 B
Markdown
21 lines
662 B
Markdown
# gameauthapi
|
||
|
||
# Deploy
|
||
- git pull
|
||
- dotnet publish -c Release
|
||
- sudo systemctl restart gameapi.service
|
||
|
||
# Check logs
|
||
journalctl -u gameapi.service -b --no-pager --lines=100
|
||
|
||
## 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. |