summaryrefslogtreecommitdiff
path: root/views/gemini/village.twig
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-01-08 15:10:10 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-01-08 15:10:10 +0100
commit82875448c485d26375ed6dea4e64e940f6e10f74 (patch)
treeff2580447429309824e7d64401ad75e7f756e45e /views/gemini/village.twig
parentb21316248572cb27ed1f504529ad6680a473022e (diff)
gemini
Diffstat (limited to 'views/gemini/village.twig')
-rw-r--r--views/gemini/village.twig16
1 files changed, 7 insertions, 9 deletions
diff --git a/views/gemini/village.twig b/views/gemini/village.twig
index 199f53a..d351eb6 100644
--- a/views/gemini/village.twig
+++ b/views/gemini/village.twig
@@ -90,6 +90,7 @@ Resources:
{% if village.canTrain(village, unit, 1) %}
=> /village/{{ village.x }}/{{ village.y }}/unit/{{ unit.type }}/create Train
{% endif %}
+=> /village/{{ village.x }}/{{ village.y }}/send-units/type/{{ unit.type }} Send
{% else %}
~traveling~
{% endif %}
@@ -116,21 +117,18 @@ Travel Time: {{ unit.getTravelTime(unit, village.getDistance(unit.getHomeVillage
# Send Units
-TODO
-* list possible units
-* list possible villages
-* send INPUT request for amount
+{% include 'send-units/01-units.twig' %}
# Send Resources
TODO
* list possible resource types
+=> /village/{{ village.x }}/{{ village.y }}/send-resources/type/wood Wood
+=> /village/{{ village.x }}/{{ village.y }}/send-resources/type/clay Clay
+=> /village/{{ village.x }}/{{ village.y }}/send-resources/type/iron Iron
+=> /village/{{ village.x }}/{{ village.y }}/send-resources/type/food Food
* list possible villages
* send INPUT request for amount
-
-Logged in as {{ session.user.username }}
-=> /logout Logout
-
-Server Time: {{ 'now' | date('c') }}
+{% include 'footer.twig' %}