Add hazardMap and hazardMapAuthor to RulesetSettings (#63)

* add HazardMap and HazardMapAuthor to RulesetSettings

* test for format of hazard map properties
This commit is contained in:
Rob O'Dwyer 2022-03-03 12:21:09 -08:00 committed by GitHub
parent 09aa6e01f9
commit 9cf20bb8ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 0 deletions

View file

@ -57,6 +57,8 @@ type RulesetSettings struct {
FoodSpawnChance int32 `json:"foodSpawnChance"`
MinimumFood int32 `json:"minimumFood"`
HazardDamagePerTurn int32 `json:"hazardDamagePerTurn"`
HazardMap string `json:"hazardMap"`
HazardMapAuthor string `json:"hazardMapAuthor"`
RoyaleSettings RoyaleSettings `json:"royale"`
SquadSettings SquadSettings `json:"squad"`
}