Adding barracks

This commit is contained in:
hz
2026-05-19 04:42:57 -05:00
parent 34d406e993
commit 78513603ab
10 changed files with 556 additions and 152 deletions
+5 -2
View File
@@ -44,8 +44,10 @@ training record.
Buildings are stored on location records. `LogCamp` can be built on controlled
Forest territory, takes 60 seconds to build, and adds 5 wood per minute after it
finishes. `Mine` can be built on controlled Ore territory, takes 60 seconds to
build, and adds 5 ore per minute after it finishes. Each location has one
building slot; a building under construction occupies that slot.
build, and adds 5 ore per minute after it finishes. `Barracks` can be built on
any controlled territory, costs 500 gold, 100 wood, and 100 ore, and takes 60
seconds to build. Each location has one building slot; a building under
construction occupies that slot.
Timer settings are stored in the MongoDB `GameSettings` collection and are
seeded on first read:
@@ -53,3 +55,4 @@ seeded on first read:
- `ScoutTrainingSeconds`
- `LogCampBuildSeconds`
- `MineBuildSeconds`
- `BarracksBuildSeconds`