summaryrefslogtreecommitdiff
path: root/views/gemini/send-resources
diff options
context:
space:
mode:
Diffstat (limited to 'views/gemini/send-resources')
-rw-r--r--views/gemini/send-resources/01-resource-types.twig4
-rw-r--r--views/gemini/send-resources/02-villages.twig6
2 files changed, 10 insertions, 0 deletions
diff --git a/views/gemini/send-resources/01-resource-types.twig b/views/gemini/send-resources/01-resource-types.twig
new file mode 100644
index 0000000..586aa1e
--- /dev/null
+++ b/views/gemini/send-resources/01-resource-types.twig
@@ -0,0 +1,4 @@
+Sendable Resource Capability: {{ marketplace.getResourceCapabilities(village) }}
+{% for resourceType in ['wood', 'clay', 'iron', 'food'] %}
+=> /village/{{ village.x }}/{{ village.y }}/send-resources/type/{{ resourceType }} {{ resourceType }}
+{% endfor %}
diff --git a/views/gemini/send-resources/02-villages.twig b/views/gemini/send-resources/02-villages.twig
new file mode 100644
index 0000000..54ccc5c
--- /dev/null
+++ b/views/gemini/send-resources/02-villages.twig
@@ -0,0 +1,6 @@
+{{ selectedResourceType }}
+Sendable Resource Capability: {{ marketplace.getResourceCapabilities(village) }}
+
+{% for listVillage in villages %}
+=> /village/{{ village.x }}/{{ village.y }}/send-resources/type/{{ selectedResourceType }}/village/{{ listVillage.x }}/{{ listVillage.y }} {{ listVillage.name }} - {{ listVillage.x }} x {{ listVillage.y }}
+{% endfor %}