1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00
royalnet/templates/owlcaptain.html

187 lines
9.4 KiB
HTML
Raw Normal View History

2018-10-07 15:19:42 +00:00
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="keywords" content="Royal Games, halloween, arg">
<title>a curse.</title>
2018-10-07 18:16:10 +00:00
<link href="{{ url_for('static', filename='owl.less') }}" rel="stylesheet/less" type="text/css">
2018-10-07 15:19:42 +00:00
<script src="https://cdnjs.cloudflare.com/ajax/libs/less.js/3.0.2/less.min.js"></script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<script>
2018-10-07 18:16:10 +00:00
var username;
var user_id;
2018-10-08 22:51:57 +00:00
var sound = new Audio("{{ url_for('static', filename='endgame.ogg') }}");
2018-10-07 18:16:10 +00:00
2018-10-07 15:19:42 +00:00
function timer() {
let now = new Date().getTime();
let to = new Date("Oct 31, 2018 15:30:00").getTime();
let result = to - now;
document.getElementById("time-left").innerHTML = Math.floor(String((result / 3600000))) + "h "
+ Math.floor(String((result / 60000) % 60)) + "m "
+ Math.floor(String((result / 1000) % 60)) + "s";
}
2018-10-07 18:16:10 +00:00
function ident() {
let r = fetch("https://ryg.steffo.eu/ses/identify", {
method: "GET",
mode: "cors",
credentials: "include"
}).done((result) => {
2018-10-07 19:26:53 +00:00
result.json().done((result) => {
if(result["id"] === null) {
document.getElementById("main").innerHTML = "i don't know you. " +
"<a href='https://ryg.steffo.eu/login'>try logging in</a> first.";
return;
}
user_id = result["id"];
username = result["username"];
document.getElementsByName("user_id").forEach((item) => {
item.setAttribute("value", user_id);
})
2018-10-08 22:51:57 +00:00
sound.loop = true;
sound.play();
2018-10-07 19:26:53 +00:00
});
2018-10-07 18:16:10 +00:00
})
}
2018-10-07 15:19:42 +00:00
setInterval(timer, 100);
2018-10-07 18:16:10 +00:00
window.onload = ident;
2018-10-07 15:19:42 +00:00
</script>
</head>
<body>
2018-10-07 18:16:10 +00:00
<div id="main" class="container">
2018-10-07 15:19:42 +00:00
<h1>
a curse.
</h1>
<div class="timer">
<span id="time-left"></span>
</div>
<div class="curse">
a curse lies in waiting for the night of the dead.<br>
you and your friends are in danger.<br>
stop it before it activates.<br>
<br>
i'm willing to help you.<br>
you will have to perform a ritual.<br>
here are the steps.<br>
<br>
you can perform them in any order, except for the final step.<br>
i'll reveal that when all others are complete, just to be safe.
</div>
<div class="subquests">
2018-10-12 16:49:17 +00:00
{% if g.all_moons_done %}
<div class="quest">
<div class="progress">
<i class="far fa-moon todo"></i>
</div>
<h1>
PERFORM THE RITUAL!
</h1>
<div class="description">
if <a href="https://ryg.steffo.eu/game/halloween">you have enough moons</a>, prepare for a journey to the unknown.<br>
when the time runs out, prepare for the ritual.<br>
you'll receive the location through a safe channel, please do not spread it.
</div>
</div>
{% endif %}
2018-10-07 15:19:42 +00:00
{% for quest in g.event_progress %}
<div class="quest {% if quest %}quest-clear{% endif %}" id="{{ loop.index }}">
<div class="progress">
{% if quest %}
<i class="fas fa-moon done"></i>
{% else %}
<i class="far fa-moon todo"></i>
{% endif %}
</div>
{% if loop.index == 1 %}
{# hecarim o chaos knight #}
<h2>
unleash the horsemen
</h2>
2018-10-07 18:16:10 +00:00
<div class="description">
2018-10-07 15:19:42 +00:00
you'll need the help of the horsemen of the apocalypse to dispel the curse.<br>
2018-10-07 22:42:45 +00:00
lead Chaos to victory in the battle of the ancients, or summon War from the shadow isles on the rift, and you'll gain their support.
2018-10-07 15:19:42 +00:00
</div>
{% elif loop.index == 2 %}
{# la zucca di balu e max #}
<h2>
2018-10-12 18:45:33 +00:00
<u title="updated"></u> carve the ritual pumpkin
2018-10-07 15:19:42 +00:00
</h2>
2018-10-07 18:16:10 +00:00
<div class="description">
2018-10-07 15:19:42 +00:00
prepare a pumpkin, and empty its inside.<br>
carve something on its exterior then put a light inside of it.<br>
when dusk has come, take a picture, and <a href="/whatpumpkin">post it to the owl captain</a>.
</div>
{% elif loop.index == 3 %}
{# https://osu.ppy.sh/beatmapsets/385#osu/2038 #}
<h2>
circle the sound
</h2>
2018-10-07 18:16:10 +00:00
<div class="description">
2018-10-07 15:19:42 +00:00
find the 2038th sound of halloween.<br>
then, follow the circle pattern.<br>
<br>
it is rather dashing, isn't it?
</div>
{% elif loop.index == 4 %}
2018-10-08 22:51:57 +00:00
{# 1 #}
2018-10-07 15:19:42 +00:00
<h2>
2018-10-12 18:45:33 +00:00
<u title="updated"></u> uproot the evil
2018-10-07 15:19:42 +00:00
</h2>
2018-10-07 18:16:10 +00:00
<div class="description">
2018-10-07 15:19:42 +00:00
listen to the sounds in here.<br>
do you hear the evil that stole your voice?<br>
2018-10-12 18:45:33 +00:00
answer it.<br>
<i>you might need a fiery fox.</i>
2018-10-07 15:19:42 +00:00
</div>
<form action="/voiceofevil" method="POST">
<input name="solution" type="text" placeholder="?">
2018-10-07 19:26:53 +00:00
<input type="hidden" name="user_id">
2018-10-07 15:19:42 +00:00
<input type="submit" value="this is my answer!">
</form>
{% elif loop.index == 5 %}
2018-10-08 22:51:57 +00:00
{# ghostbusters #}
2018-10-07 15:19:42 +00:00
<h2>
remove the ghosts
</h2>
2018-10-07 18:16:10 +00:00
<div class="description">
2018-10-07 15:19:42 +00:00
during the ritual something strange might happen.<br>
in that case, the ghosts probably will be to blame.<br>
to be safe, i would remove them...<br>
<br>
who should you call?
</div>
{% elif loop.index == 6 %}
<h2>
conquer the mansion
</h2>
2018-10-07 18:16:10 +00:00
<div class="description">
<a href="{{ url_for('static', filename='snesfile.zip') }}">a mansion</a> has appeared.<br>
2018-10-07 15:19:42 +00:00
prove yourself worthy, and find the words hidden deep inside.<br>
only then i can trust you to completely perform the ritual.
</div>
<form action="/mansion" method="POST">
<input name="solution" type="text" placeholder="?">
2018-10-07 19:26:53 +00:00
<input type="hidden" name="user_id">
2018-10-07 15:19:42 +00:00
<input type="submit" value="this is my answer!">
</form>
{% elif loop.index == 7 %}
<h2>
2018-10-08 22:51:57 +00:00
fire the magic
2018-10-07 15:19:42 +00:00
</h2>
2018-10-07 18:16:10 +00:00
<div class="description">
2018-10-08 22:51:57 +00:00
the ritual requires very strong magic.<br>
gather all your power, and hit someone with all of it.<br>
this magic talisman will absorb it if it's strong enough.<br>
2018-10-07 15:19:42 +00:00
2018-10-08 22:51:57 +00:00
<i>the talisman is made of white marble, and has "800+" engraved on it.</i>
2018-10-07 15:19:42 +00:00
</div>
{% endif %}
</div>
{% endfor %}
</div>
</div>
</body>
</html>