MarseyWorld/files/templates/events/homoween/awards.html

65 lines
2.4 KiB
HTML
Raw Normal View History

2023-09-28 23:58:09 +00:00
{% if p.award_count("haunt", v) %}
<link rel="stylesheet" href="{{'events/homoween/css/haunted.css' | asset}}">
<script defer src="{{'events/homoween/js/haunted.js' | asset}}" defer></script>
<div id="haunted-effect" class="fixed-top"></div>
{% endif %}
{% set stabs = p.award_count("stab", v) %}
{% if stabs %}
<input hidden id="stabs" value="{{stabs}}">
<link rel="stylesheet" href="{{'events/homoween/css/stab.css' | asset}}">
<script defer src="{{'events/homoween/js/sketch.js' | asset}}" defer></script>
<script defer src="{{'events/homoween/js/blood.js' | asset}}" defer></script>
{% endif %}
{% if p.award_count("spiders", v) %}
{% set spiders = p.award_count("spiders", v) %}
{% for i in range(spiders) %}
{% include "events/homoween/spider.html" %}
{% endfor %}
{% endif %}
{% if p.award_count("fog", v) %}
<canvas id="fog-effect" class="fog-effect"></canvas>
<script defer src="{{'events/homoween/js/fog.js' | asset}}" defer></script>
{% endif %}
{% if p.award_count("flashlight", v) %}
<link rel="stylesheet" href="{{'events/homoween/css/flashlight.css' | asset}}">
<div id="flashlight-effect" class="fixed-top"></div>
<script defer src="{{'events/homoween/js/flashlight.js' | asset}}"></script>
{% endif %}
{% if p.award_count("ectoplasm", v) %}
<link rel="stylesheet" href="{{'events/homoween/css/ectoplasm.css' | asset}}">
{% endif %}
{% if p.award_count("bones", v) %}
2023-10-10 15:42:46 +00:00
<div id="bones-container" data-bones="{{p.award_count('bones', v)}}"></div>
2023-09-28 23:58:09 +00:00
<script defer src="{{'events/homoween/js/bones.js' | asset}}"></script>
{% endif %}
{% if p.award_count("pumpkin", v) %}
{% set count = p.award_count("pumpkin", v) * 2 if p.award_count("pumpkin", v) <= 10 else 20 %}
<div class="fall-pumpkins">
{% for i in range(count) %}
<div class="fall-pumpkin">
<img src="/e/marseypumpking.webp" class="animate-spin" alt="animate marsey pumpkin icon">
2023-09-28 23:58:09 +00:00
</div>
{% endfor %}
</div>
{% endif %}
2023-10-09 16:35:51 +00:00
{% if p.award_count("upsidedown", v) and SITE == 'devrama.net' %}
2023-10-09 16:04:05 +00:00
<canvas id="canvas"></canvas>
2023-09-28 23:58:09 +00:00
<link rel="stylesheet" href="{{'events/homoween/css/upsidedown.css' | asset}}">
<script defer src="{{'events/homoween/js/upsidedown.js' | asset}}"></script>
{% endif %}
2023-10-11 15:14:58 +00:00
{% if p.award_count("stalker", v) %}
<link rel="stylesheet" href="{{'events/homoween/css/stalker.css' | asset}}">
<div id="stalkers-container" data-stalkers-count="{{p.award_count('stalker', v)}}"></div>
2023-10-11 15:14:58 +00:00
<script defer src="{{'events/homoween/js/stalker.js' | asset}}"></script>
{% endif %}