2023-09-28 23:58:09 +00:00
|
|
|
{% if p.award_count("haunt", v) %}
|
2023-10-15 11:46:10 +00:00
|
|
|
<link rel="stylesheet" href="{{'events/homoween/css/haunt.css' | asset}}">
|
|
|
|
<script defer src="{{'events/homoween/js/haunt.js' | asset}}" defer></script>
|
2023-09-28 23:58:09 +00:00
|
|
|
<div id="haunted-effect" class="fixed-top"></div>
|
2023-10-13 22:30:49 +00:00
|
|
|
{% if (not v or v.event_music) and not (hole and hole.name == 'music') and not (p.embed and p.domain == 'twitter.com') %}
|
2023-10-12 19:38:30 +00:00
|
|
|
<audio id="thunder1" hidden preload="none" src="/assets/events/homoween/audio/haunted/thunder1.mp3"></audio>
|
|
|
|
<audio id="thunder2" hidden preload="none" src="/assets/events/homoween/audio/haunted/thunder1.mp3"></audio>
|
|
|
|
{% endif %}
|
2023-09-28 23:58:09 +00:00
|
|
|
{% 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}}">
|
2023-10-15 11:46:10 +00:00
|
|
|
<script defer src="{{'events/homoween/js/stab.js' | asset}}" defer></script>
|
2023-09-28 23:58:09 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if p.award_count("spiders", v) %}
|
2023-10-19 21:33:17 +00:00
|
|
|
<div>
|
|
|
|
{% set spiders = p.award_count("spiders", v) %}
|
|
|
|
{% for i in range(spiders) %}
|
|
|
|
<div class="spider">
|
|
|
|
<div class="spiderweb"></div>
|
|
|
|
<div class="body">
|
|
|
|
<div class="eye left"></div>
|
|
|
|
<div class="eye right"></div>
|
|
|
|
</div>
|
|
|
|
<div class="legs left">
|
|
|
|
<div class="leg"></div>
|
|
|
|
<div class="leg"></div>
|
|
|
|
<div class="leg"></div>
|
|
|
|
</div>
|
|
|
|
<div class="legs right">
|
|
|
|
<div class="leg"></div>
|
|
|
|
<div class="leg"></div>
|
|
|
|
<div class="leg"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2023-09-28 23:58:09 +00:00
|
|
|
{% 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) %}
|
|
|
|
<div class="fall-pumpkins">
|
2023-10-11 16:11:33 +00:00
|
|
|
{% for i in range(p.award_count("pumpkin", v)) %}
|
|
|
|
<div class="fall-pumpkin">
|
2023-12-01 20:07:24 +00:00
|
|
|
<img src="{{SITE_FULL_IMAGES}}/e/marseypumpking.webp" class="animate-spin" alt="animate marsey pumpkin icon">
|
2023-10-11 16:11:33 +00:00
|
|
|
</div>
|
2023-09-28 23:58:09 +00:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
2023-10-14 20:56:40 +00:00
|
|
|
{% if p.award_count("upsidedown", v) %}
|
2023-09-28 23:58:09 +00:00
|
|
|
<link rel="stylesheet" href="{{'events/homoween/css/upsidedown.css' | asset}}">
|
2023-10-13 23:16:44 +00:00
|
|
|
<canvas id="canvas"></canvas>
|
|
|
|
<script defer src="{{'events/homoween/js/upsidedown.js' | asset}}"></script>
|
2023-09-28 23:58:09 +00:00
|
|
|
{% 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}}">
|
2023-10-11 15:37:06 +00:00
|
|
|
<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 %}
|