Make the TV catch fire eventually.
This commit is contained in:
parent
7b9f5a54e8
commit
e67d018079
Binary file not shown.
After Width: | Height: | Size: 1.6 MiB |
|
@ -19,6 +19,7 @@
|
||||||
<section>
|
<section>
|
||||||
<section>
|
<section>
|
||||||
<h3>TV</h3>
|
<h3>TV</h3>
|
||||||
|
<div class="flamecontainer"><img class="flames" src="img/flames.gif"></div>
|
||||||
<div id="tv-container">
|
<div id="tv-container">
|
||||||
|
|
||||||
<ul id="tv" class="alerts">
|
<ul id="tv" class="alerts">
|
||||||
|
|
|
@ -117,6 +117,9 @@ function spawnTimeoutListener() {
|
||||||
on asserted Syndicate.Timer.timeLaterThan(powerOnTime + 3000) {
|
on asserted Syndicate.Timer.timeLaterThan(powerOnTime + 3000) {
|
||||||
react { assert tvAlert('Stove on too long?'); }
|
react { assert tvAlert('Stove on too long?'); }
|
||||||
}
|
}
|
||||||
|
on asserted Syndicate.Timer.timeLaterThan(powerOnTime + 10000) {
|
||||||
|
$("img.flames").show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,20 @@ template {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.flamecontainer {
|
||||||
|
position: relative;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
img.flames {
|
||||||
|
display: none;
|
||||||
|
position: absolute;
|
||||||
|
bottom: -20px;
|
||||||
|
left: 25px;
|
||||||
|
width: 356px;
|
||||||
|
}
|
||||||
|
|
||||||
#tv-container {
|
#tv-container {
|
||||||
background: url('img/tvscreen.gif');
|
background: url('img/tvscreen.gif');
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
|
|
Loading…
Reference in New Issue