From b21316248572cb27ed1f504529ad6680a473022e Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Tue, 2 Jan 2024 20:42:01 +0100 Subject: gemini --- views/http/map.twig | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 views/http/map.twig (limited to 'views/http/map.twig') diff --git a/views/http/map.twig b/views/http/map.twig new file mode 100644 index 0000000..29f0294 --- /dev/null +++ b/views/http/map.twig @@ -0,0 +1,42 @@ +{% extends 'base.twig' %} + +{% block main %} +
+
+ + + +
+
+
+ + + +
+
+ {% for row in range(-range, range) %} + {% for column in range(-range, range) %} + {% set village = map[x + column][y + row] %} +
+ {% if village %} + + {{ map[x + column][y + row].name }} + + {% endif %} +
+ {% endfor %} + {% endfor %} +
+
+ + + +
+
+
+ + + +
+
+{% endblock %} -- cgit v1.2.3