Skip to content

Commit da785b0

Browse files
Added starting stars option to tribes (#52)
Now a tribe can specify how many stars it should start with. The only tribe registered at the moment (Imperius) starts with 7 stars.
1 parent 4a0729f commit da785b0

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

OpenPolytopia.Common/Tribe.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ public class Tribe {
6363
/// The terrain generation rates of a tribe
6464
/// </summary>
6565
public required TerrainRate TerrainRate { get; init; }
66+
67+
/// <summary>
68+
/// The starting stars of a tribe
69+
/// </summary>
70+
public required int StartingStars { get; init; }
6671
}
6772

6873
/// <summary>

OpenPolytopia.Common/resources/tribes.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"tribes": [
33
{
44
"type": "imperius",
5+
"starting_stars": 7,
56
"tribe": {
67
"starting_tech": {
78
"branch": "organization",

0 commit comments

Comments
 (0)