{% extends "floodgame/Page.html" %} {% load staticfiles otree_tags %} {% block title %} {% include 'snippets/Title.html' %} {% endblock %} {% block content %} {% include 'snippets/Progressbar.html' %} {% include 'snippets/Earningsbar.html' %} {% if player.flooded %} {% else %} {% endif %}
{% for item in items %}
{% if item|slugify in floodnrs and item == "012"%}
home you
{% elif item|slugify in floodnrs %}
home
{% elif item == "012" %}
home you
{% else %}
home
{% endif %} {% if forloop.counter|divisibleby:"10" and not forloop.last %}
{% endif %}
{% endfor %}
{% for item in items2 %}
{% if item|slugify in floodnrs %}
home
{% else %}
home
{% endif %} {% if forloop.counter|divisibleby:"10" and not forloop.last %}
{% endif %}
{% endfor %}

{% if player.flooded and player.has_insurance %} Because you have mandatory insurance and your house was flooded, you should pay your deductible (eigen risico).

{% elif player.flooded and not player.has_insurance %} You did not have insurance and your house was flooded. Please pay the damage.

{% elif not player.flooded %} Because your house was not flooded, you don't have to pay anything.

{% else %} Something went wrong.. {% endif %}

{% include 'snippets/InstructionsCounter.html' %} {% endblock %}