2021-12-11 06:25:26 +00:00
|
|
|
<!-- Train award -->
|
2021-11-24 16:48:06 +00:00
|
|
|
{% if p.award_count("train") %}
|
2021-12-19 13:01:28 +00:00
|
|
|
{% include "CHRISTMAS/awards/Christmas/Sleighs.html" %}
|
2021-12-04 20:10:56 +00:00
|
|
|
{% endif %}
|
|
|
|
|
2021-12-11 06:25:26 +00:00
|
|
|
<!-- Poop award -->
|
|
|
|
{% if p.award_count("shit") %}
|
2021-12-24 23:02:34 +00:00
|
|
|
<script defer src="/assets/CHRISTMAS/js/bugs.js?a=1"></script>
|
2021-12-11 06:25:26 +00:00
|
|
|
{% set minbugs = 10*p.award_count("shit") if p.award_count("shit") < 3 else 20 %}
|
|
|
|
{% set maxbugs = 20*p.award_count("shit") if p.award_count("shit") < 3 else 40 %}
|
|
|
|
<script>
|
|
|
|
new BugController({
|
2021-12-14 22:48:37 +00:00
|
|
|
imageSprite: "/assets/CHRISTMAS/images/fly-sprite.gif",
|
2021-12-11 06:25:26 +00:00
|
|
|
canDie: false,
|
|
|
|
minBugs: {{minbugs}},
|
|
|
|
maxBugs: {{maxbugs}},
|
|
|
|
mouseOver: "multiply"
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<!-- Fireflies award -->
|
|
|
|
{% if p.award_count("fireflies") %}
|
2021-12-24 23:02:34 +00:00
|
|
|
<script defer src="/assets/CHRISTMAS/js/fireflies.js?a=1"></script>
|
2021-12-11 06:25:26 +00:00
|
|
|
{% set minbugs = 10*p.award_count("fireflies") if p.award_count("fireflies") < 3 else 20 %}
|
|
|
|
{% set maxbugs = 20*p.award_count("fireflies") if p.award_count("fireflies") < 3 else 40 %}
|
|
|
|
<script>
|
|
|
|
new BugController({
|
2021-12-14 22:48:37 +00:00
|
|
|
imageSprite: "/assets/CHRISTMAS/images/fireflies.gif",
|
2021-12-11 06:25:26 +00:00
|
|
|
canDie: false,
|
|
|
|
minBugs: {{minbugs}},
|
|
|
|
maxBugs: {{maxbugs}},
|
|
|
|
mouseOver: "multiply"
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
{% endif %}
|
|
|
|
|