Spawnables now contain configuration for CollectAction outcomes
This commit is contained in:
@@ -7,4 +7,16 @@ dotnet publish -c Release
|
||||
sudo systemctl restart gameapi.service
|
||||
|
||||
# Check logs
|
||||
journalctl -u gameapi.service -b --no-pager --lines=100
|
||||
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.
|
||||
Reference in New Issue
Block a user