{% 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' %}
{% include 'snippets/Riskblock.html' %}
Each year the flood risk is {{risk}} percent
{% include 'snippets/Damageblock.html' %}
{% include 'snippets/Insuranceblock.html' %}
{% if scenario_nr == "0" %}
Attention! This is a test scenario. You can use this scenario to get familiar with the game.
The results will not be taken into account for your final payoff.
{% elif scenario_nr == "1" %}
Attention! Some information is different across scenarios.
Please consider the information at the start of a scenario carefully and make your decisions.
{% else %}
Attention! This is a new scenario and it is independent of the previous scenario.
{% if risk == previous_floodrisk and deductible != previous_deductible %}
The deductible has changed.
{% elif risk != previous_floodrisk and deductible == previous_deductible %}
The flood risk has changed.
{% elif risk != previous_floodrisk and deductible != previous_deductible %}
Both the flood risk and the deductible have changed.
{% endif %}
{%if player.has_insurance %}
The premium has changed accordingly.
{% endif %}
{%endif%}
{% include 'snippets/InstructionsCounter.html' %}
{% endblock %}