From 82875448c485d26375ed6dea4e64e940f6e10f74 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 8 Jan 2024 15:10:10 +0100 Subject: gemini --- views/gemini/send-units/01-units.twig | 3 +++ views/gemini/send-units/02-villages.twig | 5 +++++ views/gemini/send-units/03-actions.twig | 5 +++++ 3 files changed, 13 insertions(+) create mode 100644 views/gemini/send-units/01-units.twig create mode 100644 views/gemini/send-units/02-villages.twig create mode 100644 views/gemini/send-units/03-actions.twig (limited to 'views/gemini/send-units') diff --git a/views/gemini/send-units/01-units.twig b/views/gemini/send-units/01-units.twig new file mode 100644 index 0000000..6996c3b --- /dev/null +++ b/views/gemini/send-units/01-units.twig @@ -0,0 +1,3 @@ +{% for unit in village.getUnits(village.id, 1) %} +=> /village/{{ village.x }}/{{ village.y }}/send-units/type/{{ unit.type }} {{ unit.type }} +{% endfor %} diff --git a/views/gemini/send-units/02-villages.twig b/views/gemini/send-units/02-villages.twig new file mode 100644 index 0000000..80f5326 --- /dev/null +++ b/views/gemini/send-units/02-villages.twig @@ -0,0 +1,5 @@ +{{ selectedUnit }} + +{% for listVillage in villages %} +=> /village/{{ village.x }}/{{ village.y }}/send-units/type/{{ selectedUnit }}/village/{{ listVillage.x }}/{{ listVillage.y }} {{ listVillage.name }} - {{ listVillage.x }} - {{ listVillage.y }} +{% endfor %} diff --git a/views/gemini/send-units/03-actions.twig b/views/gemini/send-units/03-actions.twig new file mode 100644 index 0000000..2b0ed45 --- /dev/null +++ b/views/gemini/send-units/03-actions.twig @@ -0,0 +1,5 @@ +{{ selectedUnit }} +{{ selectedVillage.name }} - {{ selectedVillage.x }} x {{ selectedVillage.y }} + +=> /village/{{ village.x }}/{{ village.y }}/send-units/type/{{ selectedUnit }}/village/{{ selectedVillage.x }}/{{ selectedVillage.y }}/action/Borrow Borrow +=> /village/{{ village.x }}/{{ village.y }}/send-units/type/{{ selectedUnit }}/village/{{ selectedVillage.x }}/{{ selectedVillage.y }}/action/Gift Gift -- cgit v1.2.3