From f3977a67508c0a79f31e60a5128ef8181cff1340 Mon Sep 17 00:00:00 2001 From: jzeiber <23410344+jzeiber@users.noreply.github.com> Date: Tue, 21 Nov 2023 21:03:59 -0500 Subject: [PATCH] Ability to sentry units --- README.md | 4 ++- bundle/index.html | 2 +- cart/cart.wasm | Bin 63182 -> 63821 bytes src/src/game.cpp | 71 ++++++++++++++++++++++++++++-------------- src/src/game.h | 6 ++-- src/src/gamedata.h | 4 +-- src/src/icondata.cpp | 3 +- src/src/icondata.h | 3 +- src/src/sprites.cpp | 60 +++++++++++++++++------------------ src/src/stategame.cpp | 54 ++++++++++++++++++++++++++------ src/src/stategame.h | 4 +-- 11 files changed, 137 insertions(+), 74 deletions(-) diff --git a/README.md b/README.md index e268acc..bc9e186 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,8 @@ Land units may disembark by moving from the sea unit to a land space Water units that dock at a city will disembark their embarked units at that city (Land units in this situation maintain their movement points) +You may sentry a unit to skip them when cycling to the next unit in the menu. To select them while in sentry status you must scroll to the unit's position on the map and select next unit at loc. If an enemy moves within 4 spaces of unit it will automatically remove sentry status. + Selecting building "None" in a city production will convert 50% of excess resources into gold (It will still create the necessary resources for the upkeep of units from this city) Cities will auto select which surrounding tiles to gather resources from. Food production is prioritized first. @@ -64,7 +66,7 @@ Aqueduct - Allows city expanding beyond a population of 15 (must have granary as - No fog of war - No Science/Tech tree - No government -- No sentry/fotifications/goto for units +- No fotifications/goto for units - No diplomacy - No trade routes - No roads/land improvements diff --git a/bundle/index.html b/bundle/index.html index 97d9594..8b0240a 100644 --- a/bundle/index.html +++ b/bundle/index.html @@ -10,7 +10,7 @@
- +