Your browser lacks required capabilities. Please upgrade it or switch to another to continue.
<<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<<silently>>
<<set $message to 0>>
<<set $revolver to 0>>
<<set $balle to 0>>
<<set $clefhorloge to 0>>
<<set $phone to 0>>
<<set $numtel to 0>>
<<set $chambre to 0>>
<<set $salon to 0>>
<<set $piano to 0>>
<<set $salleamanger to 0>>
<<set $salleporte to 0>>
<<set $compteurenigme to 0>>
<<set $resolu1 to 0>>
<<set $resolu2 to 0>>
<<set $resolu3 to 0>>
<<set $resolu4 to 0>>
<<set $resolu5 to 0>>
<<set $resolu6 to 0>>
<<set $resoluP1 to 0>>
<<set $resoluP2 to 0>>
<<set $resolu7 to 0>>
<</silently>>
<<if $message eq 0>>
Vous venez de recevoir un nouveau message<</if>><<if $message gt 0>>Vous venez de recevoir un nouveau message du même expéditeur<</if>>
[[Cliquez ici pour lire le message|Lire le message]]
</div>
</div>
</div>
<<cacheaudio "debut" "http://wwwetu.utc.fr/~tchevali/debut.mp3">>
<<cacheaudio "themeprincipal" "http://wwwetu.utc.fr/~tchevali/themeprincipal.mp3">>
<<cacheaudio "ambiance" "http://wwwetu.utc.fr/~tchevali/ambiance.mp3">>
<<cacheaudio "voix" "http://wwwetu.utc.fr/~tchevali/pianovoix.mp3">>
<<cacheaudio "musiquefin" "http://wwwetu.utc.fr/~tchevali/musiquefin.mp3">>
<<cacheaudio "gameover" "http://wwwetu.utc.fr/~tchevali/gameover.mp3">>
<<audio "debut" volume 0.25 loop play>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.okobjets = 0;
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
Bonjour,
Un utilisateur a tenté d'établir une connexion avec vous le <<currentdate>> à <<currenttime>> sur la plateforme de chat en direct LIVEChat4Ever.fr
Pour accepter la connexion suivez ce lien :
[[LlVEChat4Ever.com/acceptconnexion/536->Conversation1]]
LIVEChat4Ever est un site francophone permettant à des utilisateurs du monde entier de discuter de manière instantannée, et ce, de manière totalement gratuite, anonyme et sécurisée.
Pour en apprendre plus sur LiveChat4Ever, n'hésitez pas à vous rendre sur notre site :
[[LIVEChat4Ever.fr->Error500]]
[[Supprimer ce message|Supprimer message]]
[[Ignorer ce message|Ignorer message]]
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
@@.typed-speed20;Au secours ! Aidez-moi!...@@
<<timed 3s t8n>>[[Qui êtes-vous ? Vous êtes en danger ?|Who]]
[[(Ne pas répondre)|Not answering]]<</timed>>
</div>
</div>
</div>
<<audio "debut" pause>><<audio "ambiance" volume 0 fadeoverto 5 0.2>>
<<audio "ambiance" loop play>>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
Error 500.
Server is currently down. Please try later.
[[Go Back|Lire le message]]
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.okobjets = 0;
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
Message supprimé!
[[Retourner à la boîte de réception|Nouveaumessage]]
<<set $message to $message+1>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.okobjets = 0;
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
Message ignoré !
[[Retourner à la boîte de réception|Nouveaumessage]]
<<set $message to $message+1>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.okobjets = 0;
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
@@.typed-speed20;Laissez-moi sortir ! Je ne vous ai rien fait. Si c'est de l'argent que vous voulez, je peux vous en donner.@@
<<timed 3s t8n>>[[Ce n'est pas moi qui vous ait enfermé. Calmez-vous et dites-moi ce qu'il vous arrive.->accept0]]
[[Désolé je ne vous connais pas et je ne peux pas vous aider.->Not answering]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
@@.typed-speed20;<div class='j'>D'accord, je vais vous croire. Vous pouvez me décrire la situation ?</div>
Je me suis réveillé il y a peu de temps et à ce moment-là, j'ai entendu une voix. Un homme me parle, il me dit que je suis pris au piège dans cette pièce et que mon intelligence va être mise à l'épreuve. D'après lui, l'unique porte de cette pièce est fermée par un cadenas à 5 chiffres, et ces chiffres sont obtenus en résolvant 5 énigmes parmi les 9 dissimulées dans la pièce. Je dois sortir de cette pièce avant le temps imparti sinon l'homme viendra me tuer de ses propres mains. Je pense que c'est un psychopathe...
<div class="j">Et vous avez combien de temps exactement ?</div>
Seulement 30 minutes à partir de@@<<timed 20s t8n>><<link "maintenant" "suite">><</link>><</timed>>
<<set $minutes to 29>>
<<set $seconds to 59>>
</div>
</div>
</div>
<<silently>>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><</silently>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
@@.typed-speed20-delay3000;Je vous en supplie, répondez, ce n’est pas une blague, je me suis fait kidnapper !@@
<<timed 6s t8n>>[[(C'est assez inquiétant. Si je ne réponds pas, je pense que je vais le regretter.)->accept]]
[[(Pourquoi une personne kidnappée aurait-elle accès à un ordinateur ? Je vais quand même répondre, je n'ai rien à perdre...)->accept]]<</timed>>
/*<<linkreplace "...">><</linkreplace>>*/
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
@@.typed-speed20; Merci beaucoup vous êtes mon seul contact, la seule personne qui va pouvoir m'aider. Car je suis paniqué et totalement perdu. Je pense que je me suis fait kidnapper.@@
<<timed 7s t8n>>[[Répondre->accept]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<<set $chambre to 1>>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed20;J'ai plusieurs possibilités. Je peux explorer :@@
<<timed 2s t8n>>[[Le bureau à droite de mon lit->bureau]]<</timed>>
<<timed 3s t8n>><<if $numtel is 0>>[[La table de chevet à gauche de mon lit->tablechevet]]<<else>>La table de chevet à gauche de mon lit<</if>><</timed>>
<<timed 4s t8n>>[[Le tapis au centre->tapis0]]<</timed>>
@@.typed-speed20-delay6000;Où devrais-je aller selon toi ?@@
</div>
</div>
</div>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>>
<<script>>window.hideStore();<</script>> <<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed20;Ca alors !
Sur la table de chevet, il y a un téléphone portable. Je peux le@@<<timed 3s t8n>>[[prendre->tel]]<</timed>>
@@.typed-speed20;Sinon, je peux explorer le reste de la @@<<timed 6s t8n>>[[pièce->chambre]]<</timed>>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed20;Ce tapis a quelque chose chose de spécial...
D'ici, j'ai un aperçu des autres sections de la pièce où je suis enfermé. Je peux aller :@@
<<timed 6s t8n>>[[A gauche->salon]]<</timed>>
<<timed 7s t8n>>[[A droite->salle à manger]]<</timed>>
@@.typed-speed20-delay3000;Ou je peux continuer à explorer la @@<<timed 10s t8n>>[[section où je me trouve->chambre]]<</timed>>
</div>
</div>
</div>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="0%";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>>
<<script>>window.hideStore();<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed20;Il y a 3 tiroirs et les autres rangements du bureau sont vides. Je pense que ça vaut le coup d'essayer d'en ouvrir un. Lequel ?@@
<<timed 5s t8n>>[[Tiroir du haut->tiroirh]]<</timed>>
<<timed 6s t8n>><<if $resolu2 is 0>>[[Tiroir du milieu->tiroirm]]<<else>>Tiroir du milieu<</if>><</timed>>
<<timed 7s t8n>><<if $revolver is 0>>[[Tiroir du bas->tiroirb]]<<else>>Tiroir du bas<</if>><</timed>>
@@.typed-speed20-delay3000;Sinon, je peux continuer à explorer le @@<<timed 10s t8n>>[[reste de la chambre->chambre]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
<<if $clefhorloge is 0>>@@.typed-speed20;Zut, ce tiroir est verrouillé.@@<</if>>
<<if $clefhorloge is 1>>@@.typed-speed20;La forme de la pointe d'aiguille que j'ai récupérée sur l'horloge semble correspondre à la serrure de ce tiroir.@@
<<timed 3s t8n>>[[Ouvrir le tiroir->dossierpsycho]]<</timed>><</if>>
<img src="http://a53.idata.over-blog.com/1/20/30/05/serrures/trou-de-serrure-ronde.JPG" style="width:200px;position:relative;left:20%">
@@.typed-speed20;Continuons de fouiller le @@<<timed 3s t8n>>[[bureau->tiroirs]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed25;Il y a un mot à l'intérieur du tiroir : "Ce tiroir est O-Q-P."@@
<img src="http://wwwetu.utc.fr/~piteuxco/photo3.png" usemap="#image-map">
<map name="image-map">
<area data-passage="Doublefond" target="" alt="" title="" coords="52,53,75,88,77,55" shape="poly">
</map>
@@.typed-speed25;Etrange, il n'y a pourtant rien dedans.@@
@@.typed-speed25_delay4000;Continuons de fouiller le @@<<timed 8s t8n>>[[bureau->tiroirs]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed20;J'ouvre le tiroir... Il y a un revolver à l'intérieur.
Le revolver est chargé avec une balle réelle. Pourquoi un psychopathe me donnerait-il un revolver chargé ?@@
<<timed 5s t8n>><<link "Prendre le revolver" "tiroirs">><<set $revolver to 1>><</link>><</timed>>
<<timed 6s t8n>>[[Laisser le revolver en place->tiroirs]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<<set $salon to 1>>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed20;Je suis maintenant dans une sorte de salon. Il y a :@@
<<timed 3s t8n>>[[Un canapé->canape]]<</timed>>
<<timed 4s t8n>><<if $resolu4 is 0>>[[Une table basse->tablebasse]]<<else>>Une table basse<</if>><</timed>>
<<timed 5s t8n>><<if $resolu6 is 0>>[[Une télévision écran plat->TV]]<<else>>Une télévision écran plat<</if>><</timed>>
@@.typed-speed20-delay1000;Sinon, je peux explorer les autres sections de la pièce en allant :@@
<<timed 9s t8n>>[[A droite->tapis0]]<</timed>>
<<timed 10s t8n>>[[A gauche->salle piano]]<</timed>>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="0%";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<<set $salleamanger to 1>>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed20;Une salle à manger ! Malheureusement, aucune trace de nourriture. Les seuls objets utiles sont :@@
<<timed 3s t8n>><<if $resolu5 is 0>>[[Un buffet->buffet]]<<else>>Un buffet<</if>><</timed>>
<<timed 4s t8n>><<if $resolu3 is 0>>[[Une table de salle à manger->tablemanger]]<<else>>Une table de salle à manger<</if>><</timed>>
@@.typed-speed20-delay1000;Je peux continuer à explorer en allant :@@
<<timed 6s t8n>>[[A droite->porte]]<</timed>>
<<timed 7s t8n>>[[A gauche->tapis0]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="0%";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").innerHTML ="";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").innerHTML ="<img id='map' src='http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png'>";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed25;Pour le moment, je n'ai pas bougé du lit où je me suis réveillé. La pièce a une forme et une disposition étrange. D'où je suis , j'ai l'impression qu'elle est organisée en sections délimitées par des bibliothèques. On dirait un vrai labyrinthe.
<div class='j'>Ok à partir de maintenant, je vais te guider et je vais dessiner une carte de la pièce pour mieux se repérer.</div>@@<<timed 16s t8n>>[[Allons-y !->chambre]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed20;J'ai peur que cet ordinateur s'éteigne tout à coup. Je pense que si tu me donnes ton numéro de téléphone, on multiplie par deux nos chances de rester en contact. Qu'est-ce que tu en penses ? Tu veux bien me confier ton numéro de téléphone ?@@
<<timed 10s t8n>>[[Non désolé->non tel]]<</timed>>
<<timed 11s t8n>>[[Oui cela semble être une bonne idée->Oui tel]]<</timed>>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed25;Merci beaucoup. Alors, quel est ton numéro de téléphone ?@@
<html>
<head>
<style type="text/css">
td{
border-width:1px;
border-style:solid;
border-color:#FFF;
cursor:pointer;
padding:30px;
}
</style>
<script>
var chiffre=""
function teste(evt){
if(evt.target.textContent.length==1){
chiffre+=evt.target.textContent
document.getElementById("affichage").textContent=chiffre
}
}
function valider(){
if(chiffre.length==10){
document.getElementById("affichage2").textContent="Merci";
}
}
function effacer(){
chiffre=""
document.getElementById("affichage").textContent=chiffre
}
</script>
</head>
<body>
<div align="center">
<table onclick="teste(event)">
<tr><td style="width:50px" align="center">1</div></td><td style="width:50px" align="center">2</td><td style="width:50px" align="center">3</td></tr>
<tr><td style="width:10px" align="center">4</td><td style="width:10px" align="center">5</td><td style="width:5px" align="center">6</td></tr>
<tr><td style="width:10px" align="center">7</td><td style="width:10px" align="center">8</td><td style="width:5px" align="center">9</td></tr>
<tr><td style="width:10px" onclick="valider(chiffre)">valider</td><td align="center">0</td><td style="width:10px" onclick="effacer(chiffre)">effacer</td></tr>
</table>
</br>
</div>
Téléphone (numéro à 10 chiffres):<span id="affichage"></span>
</br>
<span id="affichage2"></span>
</body>
</html>
<<silently>><<set $okteleph to false>><<set $phone to 1>><<repeat 1s>>
<<script>>
var x = document.getElementById("affichage2").innerHTML
if (x == 'Merci') {
State.variables.okteleph = "true";
State.variables.numtel= document.getElementById("affichage").innerHTML;
}
<</script>>
<<if $okteleph is "true">><<goto chambre>><</if>>
<</repeat>><</silently>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed20;Ok comme tu voudras. Continuons l'@@<<timed 3s t8n>>[[exploration->chambre]]<</timed>>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed20;On peut cacher plein de choses dans un canapé. Je peux fouiller :@@
<<timed 2s t8n>>[[Les coussins->coussin]]<</timed>>
<<timed 3s t8n>>[[En-dessous des sièges->siege]]<</timed>>
<<timed 4s t8n>>[[Derrière les dossiers->dossier]]<</timed>>
@@.typed-speed20;Sinon, pour ne pas perdre de temps, je peux inspecter les autres objets de cette@@<<timed 6s t8n>>[[section->salon]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed20;Sur la table, il y a un petit parchemin et des cartes à jouer. Les indices pour disposer les bonnes cartes dans le bon ordre sont les suivants:@@
@@.typed-speed20-delay1000;A gauche d'un roi, il y a une reine.@@
@@.typed-speed20-delay1000;A gauche d'un pique, il y a un carreau.@@
@@.typed-speed20-delay1000;A gauche d'un cœur, il y a une reine.@@
@@.typed-speed20-delay1000;A droite d'un as, il y a un pique.@@
@@.typed-speed20-delay2000;Je peux modifier les cartes en place en cliquant dessus. Puis je dois valider pour vérifier que ma réponse est correcte.@@
<html>
<head>
<style>
ol {
overflow: hidden;
}
li {
display: inline-block;
list-style: none;
}
.card {
background-color: #000000;
border-radius: 8px;
box-shadow: 0;
cursor: -webkit-grab;
margin :20px;
float: left;
list-style: none;
width: 115px;
height: 200px;
position: relative;
transition: all 0.2s ease;
}
.card:hover {
box-shadow: 8px 12px 0 #888888;
transform: translateX(-4px) translateY(-6px);
}
.card:active {
box-shadow: 0 0 0 3px #888888;
cursor: -webkit-grabbing;
transform: translateX(0px) translateY(4px);
}
</style>
</head>
<body>
<ul>
<li class="container">
<div class="card">
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/ab/01_of_spades_A.svg/1200px-01_of_spades_A.svg.png" id="1" alt="As pique" width=115px height=200px onclick="changeImage(this.getAttribute('id'))">
</div>
</li>
<li class="container">
<div class="card">
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/Queen_of_spades_fr.svg/1200px-Queen_of_spades_fr.svg.png" id="2" alt="Reine pique" width=115px height=200px onclick="changeImage(this.getAttribute('id'))">
</div>
</li>
<li class="container">
<div class="card">
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Queen_of_diamonds_fr.svg/1200px-Queen_of_diamonds_fr.svg.png" id="3" alt="Reine carreau" width=115px height=200px onclick="changeImage(this.getAttribute('id'))">
</div>
</li>
</ul>
<script>
function changeImage(id) {
var img= document.getElementById(id);
if (img.alt=="As pique"){
img.src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/8b/Joker_%28carte_de_jeu%29.jpg/220px-Joker_%28carte_de_jeu%29.jpg";
img.alt="Joker"
return;
}
if (img.alt=="Joker") {
img.src="https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/Queen_of_spades_fr.svg/1200px-Queen_of_spades_fr.svg.png";
img.alt="Reine pique";
return;
}
if (img.alt=="Reine pique") {
img.src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Queen_of_hearts_fr.svg/1200px-Queen_of_hearts_fr.svg.png";
img.alt="Reine coeur";
return;
}
if (img.alt=="Reine coeur") {
img.src="https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Queen_of_diamonds_fr.svg/1200px-Queen_of_diamonds_fr.svg.png";
img.alt="Reine carreau";
return;
}
if (img.alt=="Reine carreau") {
img.src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/fc/01_of_hearts_A.svg/1200px-01_of_hearts_A.svg.png";
img.alt="As coeur";
return;
}
if (img.alt=="As coeur") {
img.src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/King_of_hearts_fr.svg/langfr-150px-King_of_hearts_fr.svg.png";
img.alt="Roi coeur";
return;
}
if (img.alt=="Roi coeur") {
img.src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f7/King_of_diamonds_fr.svg/1200px-King_of_diamonds_fr.svg.png";
img.alt="Roi carreau";
return;
}
if (img.alt=="Roi carreau") {
img.src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/21/01_of_diamonds_A.svg/1200px-01_of_diamonds_A.svg.png";
img.alt="As carreau";
return;
}
if (img.alt=="As carreau") {
img.src="https://upload.wikimedia.org/wikipedia/commons/thumb/0/03/King_of_spades_fr.svg/1200px-King_of_spades_fr.svg.png";
img.alt="Roi pique";
return;
}
if (img.alt=="Roi pique") {
img.src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/ab/01_of_spades_A.svg/1200px-01_of_spades_A.svg.png";
img.alt="As pique";
return;
}
}
</script>
<div align="center">
<button onclick="myFunction()">Valider</button>
<script>
function myFunction() {
var img1= document.getElementById(1);
var img2= document.getElementById(2);
var img3= document.getElementById(3);
if (img1.alt=="As carreau" && img2.alt=="Reine pique" && img3.alt=="Roi coeur"){document.getElementById("demo").innerHTML = "BRAVO"} else document.getElementById("demo2").innerHTML = "Mauvaise réponse ! Essaie encore."
}
</script>
</div>
</body>
</html>
<div id="demo"></div>
<div id="demo2"></div>
<<silently>><<set $okcartes to false>><<repeat 1s>>
<<script>>
var x = document.getElementById("demo").innerHTML
if (x == 'BRAVO') {
State.variables.okcartes = "true";
}
<</script>>
<<if $okcartes is "true">><<goto Reussite4>><</if>>
<</repeat>><</silently>>
@@.typed-speed20-delay5000;Lorsque je le souhaite, je peux aussi retourner au@@<<timed 15s t8n>>[[salon]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed20;Une énigme est affichée à l’écran lorsque je me place devant.@@
@@.typed-speed20-delay2000;Un père et un fils ont à eux deux 36 ans. Sachant que le père a 30 ans de plus que le fils, quel âge a le fils ?@@
<html>
<body>
Réponse : <input id="text1" size="1"></br></br>
<input type="checkbox" id="condition"><label for="condition">J'accèpte les condtions d'utilisation de M. LePsychopathe</label></br></br>
(Ou je garde le contrôle de mon clavier pour valider)
<script>
document.addEventListener
("keydown", function(e)
{var keycode = (e.keyCode ? e.keyCode : e.which);
if (keycode == '17') {document.getElementById("valid").addEventListener
("click",function()
{var x1 = document.getElementById("text1").value;
if(x1==3)
{document.getElementById("demo").innerHTML = "BRAVO";}
}
)
}
}
)
function myFunction1(a)
{var x1 = document.getElementById("text1").value;
if(x1!=3)
{document.getElementById("demo2").innerHTML = "Ce n'est pas la bonne réponse";}
if(document.getElementById(a).checked != true && x1==3)
{document.getElementById("demo2").innerHTML = "Bonne réponse mais il manque une condition pour réussir l'énigme";
}
if(document.getElementById(a).checked == true && x1==3)
{document.getElementById("demo").innerHTML = "TEMPS EN MOINS";
}
}
</script>
<button id="valid" onclick="myFunction1('condition')">Valider</button>
</body>
</html>
<div id="demo"></div>
<div id="demo2"></div>
<<set $okTV1 to false>>
<<set $okTV2 to false>>
<<silently>><<repeat 1s>>
<<script>>
var x = document.getElementById("demo").innerHTML
if (x == 'TEMPS EN MOINS') {
State.variables.minutes = State.variables.minutes-5;
State.variables.oktv1 = "true";
}
if (x == 'BRAVO'){
State.variables.oktv2 = "true";
}
<</script>>
<<if $oktv1 is "true">><<goto ReussiteTV1>><</if>>
<<if $oktv2 is "true">><<goto ReussiteTV2>><</if>>
<</repeat>><</silently>>
@@.typed-speed20-delay5000;Rester devant cette télévision me rend fou. Continuons@@<<timed 15s t8n>>[[l'exploration->salon]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<<set $piano to 1>>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
<<audio "themeprincipal" volume 0.4>>
@@.typed-speed20;Nous voici dans une salle avec un@@<<timed 2s t8n>><<if $resolu7 is 0>>[[piano]]<<else>>piano<</if>><</timed>>@@.typed-speed20; et une@@<<timed 3s t8n>>[[horloge->bibliothèque]]<</timed>>
@@.typed-speed20-delay1000;Je peux continuer à explorer en allant :@@
<<timed 6s t8n>>[[A droite->salon]]<</timed>>
<<timed 7s t8n>>[[A gauche->porte]]<</timed>>
</div>
</div>
</div>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="0%";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>>
<<script>>window.hideStore();<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<<set $piano to false>>
<</silently>>
@@.typed-speed20;Le piano est prêt à être utilisé, un magnétophone est posé dessus. Il y a une partition où on peut lire le texte suivant:@@
@@.typed-speed20-delay1000;« Seuls les vrais génies savent jouer du piano à l’oreille. Sauras-tu reproduire le morceau de 5 notes que je t’impose ? »@@
<html>
<style>
.hidden {
position: absolute;
left: -10000em;
top: auto;
width: 1px;
height: 1px;
overflow: hidden;
}
</style>
<img src="http://wwwetu.utc.fr/~tchevali/Piano1.png" usemap="#image-map">
<map name="image-map">
<area target="" id="1" alt="Do" title="Do" coords="3,1,31,1,32,174,49,174,49,297,3,297" shape="poly" onclick="jouer(this.getAttribute('id'))">
<area target="" id="2" alt="Ré" title="Ré" coords="79,0,69,1,69,174,52,174,52,298,97,298,97,175,80,175" shape="poly" onclick="jouer(this.getAttribute('id'))">
<area target="" id="3" alt="Mi" title="Mi" coords="118,1,145,1,145,297,100,297,100,175,117,175" shape="poly" onclick="jouer(this.getAttribute('id'))">
<area target="" id="4" alt="Fa" title="Fa" coords="148,1,175,1,176,174,193,174,192,297,148,297" shape="poly" onclick="jouer(this.getAttribute('id'))">
<area target="" id="5" alt="Sol" title="Sol" coords="213,1,223,1,224,173,241,173,241,298,195,299,196,173,213,174" shape="poly" onclick="jouer(this.getAttribute('id'))">
<area target="" id="6" alt="La" title="La" coords="261,0,271,0,272,174,289,175,289,298,243,298,242,173,261,174" shape="poly" onclick="jouer(this.getAttribute('id'))">
<area target="" id="7" alt="Si" title="Si" coords="309,1,337,1,336,297,291,299,291,175,309,175" shape="poly" onclick="jouer(this.getAttribute('id'))">
<area target="" id="8" alt="Do#" title="Do%23" coords="33,1,68,174" shape="rect" onclick="jouer(this.getAttribute('id'))">
<area target="" id="9" alt="Ré#" title="Ré%23" coords="81,0,116,173" shape="rect" onclick="jouer(this.getAttribute('id'))">
<area target="" id="10" alt="Fa#" title="Fa%23" coords="176,0,212,174" shape="rect" onclick="jouer(this.getAttribute('id'))">
<area target="" id="11" alt="Sol#" title="Sol%23" coords="224,1,260,174" shape="rect" onclick="jouer(this.getAttribute('id'))">
<area target="" id="12" alt="La#" title="La%23" coords="272,1,308,174" shape="rect" onclick="jouer(this.getAttribute('id'))">
</map>
<p id="cle" class="hidden"></p>
<script>
function jouer(id){
var note=document.getElementById(id);
var audio = new Audio('http://wwwetu.utc.fr/~tchevali/musique/'+note.title+'.mp3');
audio.play();
document.getElementById("cle").innerHTML+=note.alt;
}
</script>
</html>
<<script>>
window.Valider = function (){
var cle = document.getElementById("cle");
if (cle.innerHTML == "MiSol#LaSol#Mi") {State.variables.piano = true;}
else {document.getElementById("demo") = "Ce n'est pas la bonne réponse, réinitialise et retente ta chance.";}
}
window.Reinitialiser = function (){
var texte = document.getElementById("cle");
texte.innerHTML = "";
}
window.JouerMorceau = function (){
var audio =new Audio('http://wwwetu.utc.fr/~piteuxco/pianovoix.mp3');
audio.play();
audio.volume = 1;
}
<</script>>
<<button "Jouer le morceau">><<script>> JouerMorceau();<</script>><</button>>
<<button "Valider">> <<script>> Valider();<</script>> <<if $piano eq true>> <<goto "Reussite7">> <</if>> <</button>>
<<button "Réinitialiser">> <<script>> Reinitialiser(); <</script>> <</button>>
<<audio "themeprincipal" volume 0.08>>
<div id="demo"></div>
@@.typed-speed20-delay2000;Si tu n'es pas un grand mélomane, je te propose de continuer@@<<timed 5s>>[[l’exploration->salle piano]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
<div align=center>
<article class="clock">
<div class="hours-container">
<div class="hours"></div>
</div>
<div class="minutes-container">
<div class="minutes"></div>
</div>
<div class="seconds-container">
<div class="seconds"></div>
</div>
</article>
</div>
@@.typed-speed20;Une magnifique horloge qui illustre le peu de temps qu’il me reste …@@
<<timed 3s>>[[Continuons l’exploration->salle piano]]<</timed>>
<<timed 61s>><<goto "Easter egg">><</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<<set $salleporte to 1>>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed20;Enfin !!! J'ai trouvé la @@<<timed 2s t8n>>[[porte->examiner]]<</timed>>@@.typed-speed20;Dans cette section, il y a aussi un étrange @@<<timed 4s t8n>>[[panneau]]<</timed>>
@@.typed-speed20-delay1000;D'autre part, je peux accéder à deux sections :@@
<<timed 6s t8n>>[[Une section à ma droite->salle piano]]<</timed>>
<<timed 7s t8n>>[[Une section à ma gauche->salle à manger]]<</timed>>
</div>
</div>
</div>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="0%";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>>
<<script>>window.hideStore();<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed20;La porte est verrouillée par un cadenas. Il me faut une combinaison à 5 chiffres pour pouvoir sortir.@@
<<switch $compteurenigme>>
<<case 0>>
<<case 1>><table><tr><td class="petitcadre">8</td></tr></table>
<<case 2>><table><tr><td class="petitcadre">8</td><td class="petitcadre">5</td></tr></table>
<<case 3>><table><tr><td class="petitcadre">8</td><td class="petitcadre">5</td><td class="petitcadre">6</td></tr></table>
<<case 4>><table><tr><td class="petitcadre">8</td><td class="petitcadre">5</td><td class="petitcadre">6</td><td class="petitcadre">1</td></tr></table>
<<case 5 6 7 8 9>><table><tr><td class="petitcadre">8</td><td class="petitcadre">5</td><td class="petitcadre">6</td><td class="petitcadre">1</td><td class="petitcadre">1</td><td><<button "Valider" "fin du jeu">><</button>></td></tr></table>
<</switch>>
[[Retourner explorer->porte]]
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<audio "themeprincipal" pause>>
<<audio "musiquefin" volume 0.4 loop play>>
@@.typed-speed20;Bien joué, vous avez terminé le jeu!
Mais, plongé comme vous étiez dans la peau du héros, avez-vous remarqué que vous m'avez fourni des données très personnelles. Moi, le psychopathe, je sais maintenant que@@
@@.typed-speed20-delay500;Vous vous appelez@@<<timed 5s t8n>><<print $nom>> <<print $prenom>><</timed>>
@@.typed-speed20-delay500;Votre numéro de téléphone est le@@<<timed 8s t8n>><<print $numtel>><</timed>>
@@.typed-speed20-delay500;Votre adresse IP est connue@@
Merci d'avoir joué avec les psychopathes CHEVALIER Théo, PITEUX Corentin, TARDY Julie et VAYSSE Benjamin.
<<link "Quitter le jeu">><<script>>window.close()<</script>><</link>>
<<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:
<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed20;Sur le buffet, il y a des bougies et des allumettes. Jusque-là rien d’anormal.@@
@@.typed-speed20-delay1000;Mais au milieu du buffet, il y a une figure faite avec 4 allumettes disposées et sur le mur au-dessus, un énoncé écrit en cendre et qui me semble insoluble.
"Le but de cette énigme est de réaliser un carré en ne déplaçant qu’une seule allumette au plus."@@
<html>
<img src="http://wwwetu.utc.fr/~tchevali/enigme%20allumettes.png" usemap="#image-map" id=1>
<map name="image-map">
<area target="" alt="1" title="1" coords="221,37,214,192" shape="rect" onclick="echange(this.getAttribute('title'))">
<area target="" alt="2" title="2" coords="62,203,208,192" shape="rect" onclick="echange(this.getAttribute('title'))">
<area target="" alt="3" title="3" coords="212,195,224,355" shape="rect" onclick="echange(this.getAttribute('title'))">
<area target="" alt="4" title="4" coords="375,206,228,192" shape="rect" onclick="echange(this.getAttribute('title'))">
</map>
<img src="http://wwwetu.utc.fr/~tchevali/sol1.png" usemap="#image-map2" id=2 style="display:none;">
<img src="http://wwwetu.utc.fr/~tchevali/sol3.png" usemap="#image-map3" id=3 style="display:none;">
<img src="http://wwwetu.utc.fr/~tchevali/sol2.png" usemap="#image-map4" id=4 style="display:none;">
<img src="http://wwwetu.utc.fr/~tchevali/sol4.png" usemap="#image-map5" id=5 style="display:none;">
<img src="http://wwwetu.utc.fr/~tchevali/enigme%20allumettes.png" id=42 style="display:none;">
<map name="image-map2">
<area target="" id=6 alt="5" title="6" coords="228,211,216,343" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=7 alt="6" title="7" coords="64,335,208,347" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=8 alt="7" title="8" coords="234,335,381,348" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=9 alt="8" title="9" coords="384,201,396,332" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=10 alt="9" title="10" coords="384,54,394,184" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=11 alt="10" title="11" coords="236,37,380,49" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=12 alt="11" title="12" coords="58,36,204,50" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=13 alt="12" title="13" coords="42,58,54,185" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=14 alt="13" title="14" coords="44,206,56,336" shape="rect" onclick="mettre(this.getAttribute('id'))">
</map>
<map name="image-map3">
<area target="" id=15 alt="5" title="15" coords="221,37,214,192" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=16 alt="6" title="16" coords="64,335,208,347" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=17 alt="7" title="17" coords="234,335,381,348" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=18 alt="8" title="18" coords="384,201,396,332" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=19 alt="9" title="19" coords="384,54,394,184" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=20 alt="10" title="20" coords="236,37,380,49" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=21 alt="11" title="21" coords="58,36,204,50" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=22 alt="12" title="22" coords="42,58,54,185" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=23 alt="13" title="23" coords="44,206,56,336" shape="rect" onclick="mettre(this.getAttribute('id'))">
</map>
<map name="image-map4">
<area target="" id=24 alt="5" title="24" coords="62,203,208,192" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=25 alt="6" title="25" coords="64,335,208,347" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=26 alt="7" title="26" coords="234,335,381,348" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=27 alt="8" title="27" coords="384,201,396,332" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=28 alt="9" title="28" coords="384,54,394,184" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=29 alt="10" title="29" coords="236,37,380,49" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=30 alt="11" title="30" coords="58,36,204,50" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=31 alt="12" title="31" coords="42,58,54,185" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=32 alt="13" title="32" coords="44,206,56,336" shape="rect" onclick="mettre(this.getAttribute('id'))">
</map>
<map name="image-map5">
<area target="" id=33 alt="5" title="33" coords="375,206,228,192" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=34 alt="6" title="34" coords="64,335,208,347" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=35 alt="7" title="35" coords="234,335,381,348" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=36 alt="8" title="36" coords="384,201,396,332" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=37 alt="9" title="37" coords="384,54,394,184" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=38 alt="10" title="38" coords="236,37,380,49" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=39 alt="11" title="39" coords="58,36,204,50" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=40 alt="12" title="40" coords="42,58,54,185" shape="rect" onclick="mettre(this.getAttribute('id'))">
<area target="" id=41 alt="13" title="41" coords="44,206,56,336" shape="rect" onclick="mettre(this.getAttribute('id'))">
</map>
<script>
function echange(title){
var img = document.getElementById("1");
img.style="display:none";
if (title=="1") {
var pog= document.getElementById("3");
pog.style="display:inline;";
}
else if (title=="2"){
var pog= document.getElementById("4");
pog.style="display:inline;";
}
else if (title=="3") {
var pog= document.getElementById("2");
pog.style="display:inline;";
}
else {
var pog= document.getElementById("5");
pog.style="display:inline;";
}
}
</script>
<script>
function mettre(id){
var sol= document.getElementById(id);
var img = document.getElementById("42");
if (sol.id=="6") {
img.src="http://wwwetu.utc.fr/~tchevali/bonnereponse.png";
img.style="display:inline;";
var pog= document.getElementById("2");
pog.style="display:none;"
}
else if (sol.id=="7") {
img.src="http://wwwetu.utc.fr/~tchevali/bas_2.png";
img.style="display:inline;";
var pog= document.getElementById("2");
pog.style="display:none;"
}
else if (sol.id=="8") {
img.src="http://wwwetu.utc.fr/~tchevali/bas_3.png";
img.style="display:inline;";
var pog= document.getElementById("2");
pog.style="display:none;"
}
else if (sol.id=="9") {
img.src="http://wwwetu.utc.fr/~tchevali/bas_basdroite.png";
img.style="display:inline;";
var pog= document.getElementById("2");
pog.style="display:none;"
}
else if (sol.id=="10") {
img.src="http://wwwetu.utc.fr/~tchevali/bas_8.png";
img.style="display:inline;";
var pog= document.getElementById("2");
pog.style="display:none;"
}
else if (sol.id=="11") {
img.src="http://wwwetu.utc.fr/~tchevali/bas_4.png";
img.style="display:inline;";
var pog= document.getElementById("2");
pog.style="display:none;"
}
else if (sol.id=="12") {
img.src="http://wwwetu.utc.fr/~tchevali/bas_5.png";
img.style="display:inline;";
var pog= document.getElementById("2");
pog.style="display:none;"
}
else if (sol.id=="13") {
img.src="http://wwwetu.utc.fr/~tchevali/bas_7.png";
img.style="display:inline;";
var pog= document.getElementById("2");
pog.style="display:none;"
}
else if (sol.id=="14") {
img.src="http://wwwetu.utc.fr/~tchevali/bas_6.png";
img.style="display:inline;";
var pog= document.getElementById("2");
pog.style="display:none;"
}
else if (sol.id=="15") {
img.src="http://wwwetu.utc.fr/~tchevali/enigme%20allumettes.png";
img.style="display:inline;";
var pog= document.getElementById("3");
pog.style="display:none;"
}
else if (sol.id=="16") {
img.src="http://wwwetu.utc.fr/~tchevali/haut_7.png";
img.style="display:inline;";
var pog= document.getElementById("3");
pog.style="display:none;"
}
else if (sol.id=="17") {
img.src="http://wwwetu.utc.fr/~tchevali/haut_8.png";
img.style="display:inline;";
var pog= document.getElementById("3");
pog.style="display:none;"
}
else if (sol.id=="18") {
img.src="http://wwwetu.utc.fr/~tchevali/haut_2.png";
img.style="display:inline;";
var pog= document.getElementById("3");
pog.style="display:none;"
}
else if (sol.id=="19") {
img.src="http://wwwetu.utc.fr/~tchevali/haut_1.png";
img.style="display:inline;";
var pog= document.getElementById("3");
pog.style="display:none;"
}
else if (sol.id=="20") {
img.src="http://wwwetu.utc.fr/~tchevali/haut_6.png";
img.style="display:inline;";
var pog= document.getElementById("3");
pog.style="display:none;"
}
else if (sol.id=="21") {
img.src="http://wwwetu.utc.fr/~tchevali/haut_5.png";
img.style="display:inline;";
var pog= document.getElementById("3");
pog.style="display:none;"
}
else if (sol.id=="22") {
img.src="http://wwwetu.utc.fr/~tchevali/haut_4.png";
img.style="display:inline;";
var pog= document.getElementById("3");
pog.style="display:none;"
}
else if (sol.id=="23") {
img.src="http://wwwetu.utc.fr/~tchevali/haut_3.png";
img.style="display:inline;";
var pog= document.getElementById("3");
pog.style="display:none;"
}
else if (sol.id=="24") {
img.src="http://wwwetu.utc.fr/~tchevali/enigme%20allumettes.png";
img.style="display:inline;";
var pog= document.getElementById("4");
pog.style="display:none;"
}
else if (sol.id=="25") {
img.src="http://wwwetu.utc.fr/~tchevali/gauche_4.png";
img.style="display:inline;";
var pog= document.getElementById("4");
pog.style="display:none;"
}
else if (sol.id=="26") {
img.src="http://wwwetu.utc.fr/~tchevali/gauche_3.png";
img.style="display:inline;";
var pog= document.getElementById("4");
pog.style="display:none;"
}
else if (sol.id=="27") {
img.src="http://wwwetu.utc.fr/~tchevali/gauche_8.png";
img.style="display:inline;";
var pog= document.getElementById("4");
pog.style="display:none;"
}
else if (sol.id=="28") {
img.src="http://wwwetu.utc.fr/~tchevali/gauche_7.png";
img.style="display:inline;";
var pog= document.getElementById("4");
pog.style="display:none;"
}
else if (sol.id=="29") {
img.src="http://wwwetu.utc.fr/~tchevali/gauche_2.png";
img.style="display:inline;";
var pog= document.getElementById("4");
pog.style="display:none;"
}
else if (sol.id=="30") {
img.src="http://wwwetu.utc.fr/~tchevali/gauche_1.png";
img.style="display:inline;";
var pog= document.getElementById("4");
pog.style="display:none;"
}
else if (sol.id=="31") {
img.src="http://wwwetu.utc.fr/~tchevali/gauche_6.png";
img.style="display:inline;";
var pog= document.getElementById("4");
pog.style="display:none;"
}
else if (sol.id=="32") {
img.src="http://wwwetu.utc.fr/~tchevali/gauche_5.png";
img.style="display:inline;";
var pog= document.getElementById("4");
pog.style="display:none;"
}
else if (sol.id=="33") {
img.src="http://wwwetu.utc.fr/~tchevali/enigme%20allumettes.png";
img.style="display:inline;";
var pog= document.getElementById("5");
pog.style="display:none;"
}
else if (sol.id=="34") {
img.src="http://wwwetu.utc.fr/~tchevali/droite_2.png";
img.style="display:inline;";
var pog= document.getElementById("5");
pog.style="display:none;"
}
else if (sol.id=="35") {
img.src="http://wwwetu.utc.fr/~tchevali/droite_1.png";
img.style="display:inline;";
var pog= document.getElementById("5");
pog.style="display:none;"
}
else if (sol.id=="36") {
img.src="http://wwwetu.utc.fr/~tchevali/droite_8.png";
img.style="display:inline;";
var pog= document.getElementById("5");
pog.style="display:none;"
}
else if (sol.id=="37") {
img.src="http://wwwetu.utc.fr/~tchevali/droite_7.png";
img.style="display:inline;";
var pog= document.getElementById("5");
pog.style="display:none;"
}
else if (sol.id=="38") {
img.src="http://wwwetu.utc.fr/~tchevali/droite_4.png";
img.style="display:inline;";
var pog= document.getElementById("5");
pog.style="display:none;"
}
else if (sol.id=="39") {
img.src="http://wwwetu.utc.fr/~tchevali/droite_3.png";
img.style="display:inline;";
var pog= document.getElementById("5");
pog.style="display:none;"
}
else if (sol.id=="40") {
img.src="http://wwwetu.utc.fr/~tchevali/droite_5.png";
img.style="display:inline;";
var pog= document.getElementById("5");
pog.style="display:none;"
}
else{
img.src="http://wwwetu.utc.fr/~tchevali/droite_6.png";
img.style="display:inline;";
var pog= document.getElementById("5");
pog.style="display:none;"
}
}
</script>
<script>
function reinitialiser(){
var img = document.getElementById("42");
var pog = document.getElementById("1");
img.style="display:none;";
img.src="";
pog.style="display:inline;";
}
</script>
</html>
<button onclick="reinitialiser()">Réinitialiser</button>
<<set $allum to false>>
<<script>> window.final = function(){
var res = document.getElementById("42");
if(res.src=="http://wwwetu.utc.fr/~tchevali/bonnereponse.png") {State.variables.allum="true";}else{document.getElementById("demo").innerHTML="Ce n'est pas la bonne réponse. Des fois, la bonne réponse est plus simple qu'il n'y paraît";}
}
<</script>>
<<button "Valider">> <<script>>final();<</script>><<if $allum eq "true">><<goto "Reussite5">><</if>><</button>>
<div id="demo"></div>
@@.typed-speed20-delay5000;Si cela te paraît trop compliqué, ne perdons pas de temps et passons à@@<<timed 10s t8n>>[[autre chose->salle à manger]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed20;La table est ordonnée méticuleusement et il y a une carte de menu. L’ordre du jour est le suivant :@@
@@.typed-speed20;« les convives désirent boire des verres de 4dL d’eau. Or il existe 2 contenances de verre : 3dL et 5dL. Remplir et/ou vider les 2 verres de façon à obtenir un verre de 4dL et valider la réponse ».@@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Made with Thimble</title>
<style>
#gamecontainer {
width = 100%;
height = 100%;
}
#gamecontainer > div{
vertical-align: top;
box-sizing: border-box;
height: 100%;
display : inline-block;
}
#gamecontainer .right {
width: 30%
}
#gamecontainer .center {
width: 33%;
}
#gamecontainer .left {
width:33%;
text-align: center;
}
header {
position: relative;
}
h1 {
align-items: center; /* centrage vertical */
height: 80%; /* plaquage sur l'image - suppose une hauteur de référence */
display: flex;
/* plaquage sur l'image */
position: absolute;
text-align: center;
top: 0; /* plaquage sur l'image */
width: 100%; /* plaquage sur l'image */
}
h1 > p {
width: 100%; /* centrage horizontal */
text-align : center;
}
h1 > #verre2{
width: 80%; /* centrage horizontal */
text-align : center;
}
span{
display : block;
}
a{
text-align: center;
}
#verre1 {
color : #000000;
}
#verre2 {
color : #000000;
}
div > span {
text-align:center;
}
</style>
</head>
<body>
<div id="gamecontainer">
<div class="left">
<header>
<img src="http://wwwetu.utc.fr/~tchevali/verre.png" width=200px alt="" />
<h1><p id="verre1">0</p></h1>
</header>
Verre de 5dL
</div>
<div class="center">
</div>
<div class="right">
<header>
<img src="http://wwwetu.utc.fr/~tchevali/verre.png" width=200px alt="" />
<h1><p id="verre2">0</p></h1>
</header>
<span>Verre de 3dL</span>
</div>
</div>
<script>
function remplirverre1(){
document.getElementById("verre1").innerHTML="5";
}
function remplirverre2(){
document.getElementById("verre2").innerHTML="3";
}
function viderverre1(){
document.getElementById("verre1").innerHTML="0";
}
function viderverre2(){
document.getElementById("verre2").innerHTML="0";
}
function Transvaser1(){
var temp = document.getElementById("verre1").innerHTML;
var temp2 = document.getElementById("verre2").innerHTML;
if(temp2 ==2) {
if (temp>=1) {temp=temp-1; temp2=parseFloat(temp2)+1;}
}
if (temp2==1) {
if (temp>=2){temp=temp-2; temp2=parseFloat(temp2)+2;}
else {temp2=parseFloat(temp2)+parseFloat(temp); temp=temp-temp;}
}
if(temp2==0){
if (temp>=3){temp=temp-3; temp2=parseFloat(temp2)+3;}
else {temp2=parseFloat(temp2)+parseFloat(temp); temp=temp-temp;}
}
document.getElementById("verre1").innerHTML= temp;
document.getElementById("verre2").innerHTML = temp2;
if (temp==4) document.getElementById("demo").innerHTML = "BRAVO";
}
function Transvaser2(){
var temp = document.getElementById("verre1").innerHTML;
var temp2 = document.getElementById("verre2").innerHTML;
if(temp ==4) {
if (temp2>=1) {temp=parseFloat(temp)+1; temp2=temp2-1;}
}
if (temp==3) {
if (temp2>=2){temp=parseFloat(temp)+2; temp2=temp2-2;}
else {temp=parseFloat(temp2)+parseFloat(temp); temp2=temp2-temp2;}
}
if(temp<=2){
temp=parseFloat(temp2)+parseFloat(temp); temp2=temp2-temp2;
}
document.getElementById("verre1").innerHTML= temp;
document.getElementById("verre2").innerHTML = temp2;
if (temp==4) {document.getElementById("demo").innerHTML = "BRAVO";}
}
</script>
<span align="center">Que voulez-vous faire? </span>
<span><button onclick="remplirverre1()">Remplir le 1er verre</button>
<button onclick="remplirverre2()">Remplir le 2nd verre</button>
<button onclick="viderverre1()">Vider le 1er verre</button>
</span>
<span>
<button onclick="viderverre2()">Vider le 2nd verre</button>
<button onclick="Transvaser1()">Transvaser 1 vers 2</button>
<button onclick="Transvaser2()">Transvaser 2 vers 1</button>
</span>
</body>
</html>
<div id="demo"></div>
<div id="demo2"></div>
@@.typed-speed20-delay3000;Dès que tu es prêt, retournons explorer le reste de cette@@<<timed 12s t8n>>[[maudite pièce->salle à manger]]<</timed>>
<<silently>><<set $okverres to false>><<repeat 2s>>
<<script>>
var x = document.getElementById("demo").innerHTML
if (x == 'BRAVO') {
State.variables.okverres = "true";
}
<</script>>
<<if $okverres is "true">><<goto Reussite3>><</if>>
<</repeat>><</silently>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<style>
input[type=text], textarea {
min-width: 1em;
}
input {
padding: 1px 1px;
}
input, textarea {
color: #01A1FE;
background-color: #000;
border: 1px solid #000;
padding: .1em;
}
button, input, textarea {
outline: 0;
}
</style>
<div id="store" onclick="showStore()"></div>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
<<audio "ambiance" pause>><<audio "themeprincipal" loop play>>
<<audio "themeprincipal" volume 0.4>>
@@.typed-speed25;Je suis terrorisé, je n'arrive pas à réfléchir et j'ai besoin de ton aide pour ne pas faire de faux pas.
Au fait si ça peut t'aider, je m'appelle Theo CHAPPYS.
Et toi, comment tu t'appelles?@@
@@.typed-speed25-delay3000;<div class=j>Salut, moi c'est</div>@@<<timed 12s t8n>><div class=j><<textbox "$prenom" "prénom">><<textbox "$nom" "nom" "situation">></div>
(Appuie sur entrée après avoir saisi ton nom)<</timed>>
<<timed 30s t8n>> [[Dépêchons-nous, le temps est compté !->situation]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<<audio "themeprincipal" pause>>
<<set $revolver to 0>>
<<audio "themeprincipal" pause>>
<<audio "gameover" volume 0.4 loop play>>
<<if $revolver eq 0>>@@.typed-speed120-delay2000;Mon temps est écoulé. Le psychopathe va venir et prendre mon âme. Adieu@@<<print $prenom>> <<print $nom>>
@@.typed-speed250-delay2000;...@@
<<else>>@@.typed-speed120-delay2000;Mon temps est écoulé. Mais j’ai un revolver donc j’ai encore peut-être une chance de m’en sortir. Prie pour moi, je te recontacte si je parviens à survivre.@@
@@.typed-speed250-delay2000;...@@
<</if>>
<<timed 19s t8n>><<link "Game Over">><<script>>window.close()<</script>><</link>><</timed>>
</div>
</div>
</div><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
Bonjour jeune apprenti,
Tu te trouves devant le tableau de bord de ma mémoire. Je te propose d’essayer de résoudre 2 énigmes qui ne sont pas dissimulées comme les autres mais dont la complexité est plus élevée. A toi de jouer !
<<if $resoluP1 is 0>>[[Enigme 1->Enigmepanneau1]]<<else>>Enigme 1<</if>>
<<if $resoluP2 is 0>>[[Enigme 2->Enigmepanneau2]]<<else>>Enigme 2<</if>>
@@.typed-speed20-delay5000;Ne restons pas indéfiniment devant ce message de psychopathe et continuons@@<<timed 7s t8n>>[[l'exploration->porte]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed20;En soulevant le planisphère, j’ai trouvé une énigme cachée ! Il s’agit de remplir un carré magique, dont l’énoncé est le suivant :
"Remplissez les cases vides du carré magique avec tous les chiffres de 1 à 9 pour que la somme de chaque ligne, chaque colonne et chaque grande diagonale soit égale au même nombre."@@
<html>
<head>
<style>
.column {
float: left;
width: 15%;
padding: 20px;
text-align: center;
position: relative;
left: 17.5%;
}
.row:after {
content: "";
display: table;
clear: both;
}
</style>
</head>
<div align=center>
<body>
<div class="row" >
<div class="column" style="background-color:#aaa;">
<input id=text1 size=1 >
</div>
<div class="column" style="background-color:#bbb;">
<input id=text2 size=1 >
</div>
<div class="column" style="background-color:#ccc;">
<input id=text3 size=1 >
</div>
</div>
<div class="row" >
<div class="column" style="background-color:#bbb;">
<input id=text4 size=1>
</div>
<div class="column" style="background-color:#ccc;">
<input id=text5 size=1 >
</div>
<div class="column" style="background-color:#bbb;">
<input id=text6 size=1 >
</div>
</div>
<div class="row" >
<div class="column" style="background-color:#ccc;">
<input id=text7 size=1 >
</div>
<div class="column" style="background-color:#bbb;">
<input id=text8 size=1 >
</div>
<div class="column" style="background-color:#aaa;">
<input id=text9 size=1 >
</div>
</div>
<button onclick="myFunction()">Valider</button>
<script>
function myFunction() {
var x1 = parseFloat(document.getElementById("text1").value);
var x2 = parseFloat(document.getElementById("text2").value);
var x3 = parseFloat(document.getElementById("text3").value);
var x4 = parseFloat(document.getElementById("text4").value);
var x5 = parseFloat(document.getElementById("text5").value);
var x6 = parseFloat(document.getElementById("text6").value);
var x7 = parseFloat(document.getElementById("text7").value);
var x8 = parseFloat(document.getElementById("text8").value);
var x9 = parseFloat(document.getElementById("text9").value);
if (x1+x2+x3==15 && x4+x5+x6==15 && x7+x8+x9==15 && x1+x4+x7==15 && x2+x5+x8==15 && x3+x6+x9==15 && x1+x5+x9==15 && x3+x5+x7==15) document.getElementById("demo").innerHTML = "BRAVO";
else document.getElementById("demo2").innerHTML = "Ce n'est pas la bonne réponse. Vérifie que les chiffres que tu as saisi sont compris entre 1 et 9 et que les sommes des diagonales sont chacune égales à 15."
}
</script>
</body>
</div>
</html>
<div id="demo"></div>
<div id="demo2"></div>
<<silently>><<set $okcarre to false>><<repeat 1s>>
<<script>>
var x = document.getElementById("demo").innerHTML
if (x == 'BRAVO') {
State.variables.okcarre = "true";
}
<</script>>
<<if $okcarre is "true">><<goto Reussite1>><</if>>
<</repeat>><</silently>>
@@.typed-speed20-delay2000;Je ne suis pas un génie en mathématiques donc je te laisse résoudre cette énigme.
Sinon, je peux retourner explorer le@@<<timed 15s t8n>>[[bureau]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<widget "currentdate">>\
<<print new Date().toDateString()>>\
<</widget>>
<<widget "currenttime">>\
<<set
_d to new Date(),
_am to (_d.getHours() < 12),
_hr to ((_d.getHours() % 12) || 12),
_mins to (_d.getMinutes() < 10 ? "0" : "") + _d.getMinutes()>>\
<<print _hr + ":" + _mins + " " + (_am ? "A" : "P") + "M">>\
<</widget>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<<set $compteurenigme +=1>>
<<set $resolu1 to 1>>
<</silently>>
<div class="colorheros">Bon travail ! Ce n’est pas un carré magique qui va nous arrêter.</div>
[[Continuons l’exploration !->bureau]]
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<<set $clefhorloge to 1>>
<</silently>>
@@.typed-speed20;Ça alors, l'aiguille des minutes vient de se détacher.@@
@@.typed-speed20;Cette aiguille qui se détache toute seule et qui a une forme étrange, ça me laisse perplexe. Je vais la conserver, elle pourrait m'être utile pour plus tard.@@
<<timed 5s>>[[Retournons à la salle du piano->salle piano]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><head>
<style>
/* Firefox old*/
@-moz-keyframes blink {
0% {
opacity:1;
}
50% {
opacity:0;
}
100% {
opacity:1;
}
}
@-webkit-keyframes blink {
0% {
opacity:1;
}
50% {
opacity:0;
}
100% {
opacity:1;
}
}
/* IE */
@-ms-keyframes blink {
0% {
opacity:1;
}
50% {
opacity:0;
}
100% {
opacity:1;
}
}
/* Opera and prob css3 final iteration */
@keyframes blink {
0% {
opacity:1;
}
50% {
opacity:0;
}
100% {
opacity:1;
}
}
.blink-image {
-moz-animation: blink normal 2s infinite ease-in-out; /* Firefox */
-webkit-animation: blink normal 2s infinite ease-in-out; /* Webkit */
-ms-animation: blink normal 2s infinite ease-in-out; /* IE */
animation: blink normal 2s infinite ease-in-out; /* Opera and prob css3 final iteration */
}
</style>
</head>
<body>
<div id="plan1">
<img id="imgporte" src="http://image.noelshack.com/fichiers/2018/48/2/1543338257-pressstart.jpg">
</div>
<div id="plan2">
<img id="imggmail" class="blink-image" src="http://image.noelshack.com/fichiers/2018/48/2/1543339111-gmail-icon.png">
</div>
<<set $ok to false>>
<<script>>
$(document).keypress(function(e) {
var keycode = (e.keyCode ? e.keyCode : e.which);
if (keycode == '13') {
State.variables.ok = "true";
}
});
<</script>>
<<silently>><<repeat 1s>>
<<if $ok is "true">><<goto Nouveaumessage>><</if>>
<</repeat>><</silently>>
</body><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed25;Ça alors ! Le tiroir est doté d’un double fond et il y a un coffre à code.@@
<html>
<head>
<style>
.casecode {
float: left;
width: 5%;
padding: 10px;
text-align: center;
position: relative;
left: 13%;
}
.row:after {
content: "";
display: table;
clear: both;
}
</style>
</head>
<div align=center>
<body>
<div class="row">
<div class="casecode" style="background-color:#ccc;">
<input id=text1 size=1 ></div>
<div class="casecode" style="background-color:#bbb;">
<input id=text2 size=1 ></div>
<div class="casecode" style="background-color:#aaa;">-</div>
<div class="casecode" style="background-color:#ccc;">
<input id=text3 size=1 ></div>
<div class="casecode" style="background-color:#bbb;">
<input id=text4 size=1 ></div>
<div class="casecode" style="background-color:#aaa;">-</div>
<div class="casecode" style="background-color:#ccc;">
<input id=text5 size=1 ></div>
<div class="casecode" style="background-color:#bbb;">
<input id=text6 size=1 ></div>
</div>
<div class="row" style="color:#000;">.</div><div class="row">
<button onclick="myFunction()">Valider</button>
</div>
<script>
function myFunction() {
var x1 = document.getElementById("text1").value;
var x2 = document.getElementById("text2").value;
var x3 = document.getElementById("text3").value;
var x4 = document.getElementById("text4").value;
var x5 = document.getElementById("text5").value;
var x6 = document.getElementById("text6").value;
if (x1==1 && x2==5 && x3==1 && x4==7 && x5==1 && x6==6) document.getElementById("demo").innerHTML = "BRAVO";
else document.getElementById("demo2").innerHTML = "Code invalide."
}
</script>
</div>
</body>
</html>
<div id="demo"></div>
<div id="demo2"></div>
<<silently>><<set $okcoffre to false>><<repeat 1s>>
<<script>>
var x = document.getElementById("demo").innerHTML
if (x == 'BRAVO') {
State.variables.okcoffre = "true";
}
<</script>>
<<if $okcoffre is "true">><<goto Reussite2>><</if>>
<</repeat>><</silently>>
@@.typed-speed25;Comment suis-je censé deviner le code sans aucune indication ?@@
@@.typed-speed25_startDelay4000;Je peux remettre le coffre en place et continuer@@<<timed 10s t8n>>[[l'exploration->tiroirs]]<</timed>>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<<set $compteurenigme +=1>>
<<set $resolu2 to 1>>
<</silently>>
<div class="colorheros">Bien joué mon ami, un chiffre supplémentaire vient de s’ajouter au code de la porte, continuons comme cela.</div>
[[Continuons l’exploration !->tiroirs]]
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
<div style="Font-Weight: Bold;">Enigme 1</div>
<html>
<body>
« Pour résoudre cette énigme, tu devras observer le mot ci-dessous sans rétine ou bien te retourner la tête pour qu'un code à 3 chiffres apparaisse. »
</br></br>
<div align="center">ELEctricité</div>
</br>
<input id="text1" size="3">
<button onclick="myFunction1()">Valider</button>
<script>
function myFunction1() {
var x1 = document.getElementById("text1").value;
if (x1==373) document.getElementById("demo").innerHTML = "BRAVO";
else document.getElementById("demo2").innerHTML = "Mauvaise réponse ! Try again."
}
</script>
</body>
</div>
</html>
<div id="demo"></div>
<div id="demo2"></div>
<<set $okpanneau1 to false>>
<<silently>><<repeat 1s>>
<<script>>
var x = document.getElementById("demo").innerHTML
if (x == 'BRAVO') {
State.variables.okpanneau1 = "true";
}
<</script>>
<<if $okpanneau1 is "true">><<goto ReussiteP1>><</if>>
<</repeat>><</silently>>
@@.typed-speed20-delay10000;Ne restons pas indéfiniment devant ce message de psychopathe et continuons@@<<timed 13s t8n>>[[l'exploration->porte]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
<html>
<body>
<div style="Font-Weight: Bold;">Enigme 2</div>
De 2 chiffres cette énigme est composée.
Pour trouver le premier chiffre de cette énigme, avoir exploré la pièce dans ses moindres recoins tu devras, puis prendre du recul pour avoir une vue aérienne tu devras, et enfin rassembler les 6 pièces du puzzle tu devras.
Pour trouver le second chiffre de cette énigme, trouver une arme tu devras, et la désarmer pour trouver le chiffre tu devras.
Simple n'est-il pas ?
<input id="text1" size="2">
<button onclick="myFunction3()">Valider</button>
<script>
function myFunction3() {
var x1 = document.getElementById("text1").value;
if (x1==87) document.getElementById("demo").innerHTML = "BRAVO";
else document.getElementById("demo2").innerHTML = "Mauvaise réponse ! Try again.";
}
</script>
</body>
</div>
</html>
<div id="demo"></div>
<div id="demo2"></div>
<<set $okpanneau2 to false>>
<<silently>><<repeat 1s>>
<<script>>
var x = document.getElementById("demo").innerHTML
if (x == 'BRAVO') {
State.variables.okpanneau2 = "true";
}
<</script>>
<<if $okpanneau2 is "true">><<goto ReussiteP2>><</if>>
<</repeat>><</silently>>
@@.typed-speed20-delay10000;Ne restons pas indéfiniment devant ce message de psychopathe et continuons@@<<timed 13s t8n>>[[l'exploration->porte]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<<set $compteurenigme +=1>>
<<set $resoluP2 to 1>>
<</silently>>
<div class="colorheros">Tu as un oeil de lynx ! Un chiffre supplémentaire est apparu sur le cadenas de la porte.</div>
[[Continuons l’exploration !->porte]]
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<<set $compteurenigme +=1>>
<<set $resoluP1 to 1>>
<</silently>>
<div class="colorheros">Impressionnant ! Un chiffre supplémentaire est apparu sur le cadenas de la porte.</div>
[[Continuons l’exploration !->porte]]
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:
<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<<set $compteurenigme +=1>>
<<set $resolu3 to 1>>
<</silently>>
Transaction de liquide effectuée ! Passons à [[l’étape suivante->salle à manger]].
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<<set $compteurenigme +=1>>
<<set $resolu4 to 1>>
<</silently>>
<div class="colorheros">Bonne réponse ! Les énigmes sur les cartes à jouer sont vraiment passionnantes. Continuons</div>[[l'exploration->salon]]
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:
<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<<set $compteurenigme +=1>>
<<set $resolu5 to 1>>
<</silently>>
<div class="colorheros">Bien joué. C’est vrai que la réponse paraît simple au final.
Retournons à notre</div>[[exploration->salle à manger]]
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
<img src="https://medias.cerveauetpsycho.fr/api/v1/files/5ab10b328fe56f0b9377c24c/methodes/preview-pdf" style="width:200px;position:relative;left:20%">
<<timed 2s t8n>>Acte 1:
Le maître du jeu, alias moi le psychopathe, crée une fausse messagerie électronique pour attirer la victime dans son piège.<</timed>>
<<timed 4s t8n>>Acte 2:
Le maître du jeu endort la vigilance de la victime en se faisant passer pour une autre victime : l'empathie humaine n'est qu'un subterfuge dont l'objectif est purement égoïste.<</timed>>
<<timed 6s t8n>>Acte 3:
La victime fictive invoque l'urgence de la situation et le temps limité pour inciter le joueur à exécuter des actions précipitées et non réfléchies.<</timed>>
<<timed 8s t8n>>Acte 4:
La victime fictive pose des questions innocentes pour récupérer des informations personnelles sur le joueur.<</timed>>
<<timed 10s t8n>>Acte 5:
Le maître du jeu a réalisé certaines énigmes dont le but est également de récupérer des données sur la vie privée du joueur.<</timed>>
<<timed 12s t8n>>Acte final:
Si ce jeu avait été une réalité, le psychopathe aurait pu persécuter la victime via le chantage,le rançonnage et la divulgation d'informations compromettantes.<</timed>>
<<timed 14s t8n>>[[Retourner au bureau->tiroirs]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed20;Un coussin est une pièce d'une matière souple, cousue et remplie d'un rembourrage. Celui-ci ne semble rien cacher de particulier...@@
@@.typed-speed20;Continuons de fouiller cet@@<<timed 7s t8n>>[[endroit->canape]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed20;Un siège est un objet fabriqué, un meuble disposé pour qu'on puisse s'y asseoir. Rien à voir de ce côté-là, juste une perte de temps supllémentaire!@@
@@.typed-speed20;Continuons de fouiller cet@@<<timed 5s t8n>>[[endroit->canape]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed20;Un dossier est une partie d'un siège sur laquelle on appuie le dos. Rien de dissimulé derrière ces dossiers-là...@@
@@.typed-speed20;Continuons de fouiller cet@@<<timed 4s t8n>>[[endroit->canape]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<<set $compteurenigme +=1>>
<<set $resolu6 to 1>>
<</silently>>
<div class="colorheros">Aïe. En acceptant des conditions d'utilisation douteuses, le compte à rebours a été décompté de 5 minutes. J’ai obtenu un chiffre du code de la porte mais il faut arrêter de perdre du temps inutilement.
Retourner explorer la</div> [[section actuelle->salon]]
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<<set $compteurenigme +=1>>
<<set $resolu6 to 1>>
<</silently>>
<div class="colorheros">C’est bon, j’ai obtenu un chiffre du code de la porte. Nous pouvons maintenant retourner explorer la</div> [[section actuelle->salon]]
<button id="valid" style="display:none;">Valider</button>
<div id="demo" style="display:none;"></div>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<</silently>>
@@.typed-speed25;Voyons voir, un bureau avec @@<<timed 2s t8n>>[[des tiroirs->tiroirs]]<</timed>>@@.typed-speed25-delay1000;et@@<<timed 4s t8n>><<if $resolu1 is 0>>[[un plan de travail->Plan de travail]]<<else>>un plan de travail<</if>><</timed>>
@@.typed-speed20-delay2000;Sinon, je peux explorer le reste de la @@<<timed 6s t8n>>[[pièce->chambre]]<</timed>>
</div>
</div>
</div>
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>><<script>>
document.myFunction2 = function() {
document.getElementById("objet4").innerHTML="<img src='https://www.chassons.com/wp-content/uploads/2015/06/7-mm--Remington-Magnum-balle-Swift-Sirocco-150-gr-culot.jpg' style = 'height:110px;margin:10px;'>";
}
document.goInventaire = function() {
document.body.style.background =
"url('http://image.noelshack.com/fichiers/2019/01/6/1546708607- backgroundstoreinventaire.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
var revolver=State.variables.revolver;
var clefhorloge = State.variables.clefhorloge;
var phone = State.variables.phone;
var enigmesrestantes = 5-State.variables.compteurenigme;
if (revolver==1){
document.getElementById("objet1").innerHTML ="<img src='https://www.armurerie-auxerre.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/n/1/n1-01_45_12.jpg' style='height:110px;margin:10px;' onclick='myFunction2()'>";
};
if (phone==1) {
document.getElementById("objet2").innerHTML ="<img src='https://image.darty.com/gps_communication/telephone_mobile/telephone_portable/echo_clap_2_rouge_t1702274296362A_152238413.jpg' style='height:110px;margin:10px;'>";};
if (clefhorloge==1) {
document.getElementById("objet3").innerHTML ="<img src='http://wwwetu.utc.fr/~piteuxco/aiguilleclef.png' style='height:110px;margin:10px;'>";};
document.getElementById("Enigmerest").innerHTML="Enigmes restantes :"+enigmesrestantes;
document.getElementById("carte").style.display ="none";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
document.closeInventaire = function() {
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
<</script>>
<div id="Enigmerest"></div>
<div id="inventaire" onclick="goInventaire()"></div>
<div id="noinventaire" onclick="closeInventaire()"></div>
<div id="objets"><table><tr><td><div id="objet1"></div></td><td><div id="objet2"></div></td><td><div id="objet3"></div></td></tr><tr><td><div id="objet4"></div></td><td></td><td></td></tr></table></div>
<div id="store" onclick="showStore()"></div>
<<if $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/b.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bs.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspiano.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspianosam.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger isnot 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bspp.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bss.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bssporte.png"></div>
<<elseif $salon eq 1 and $chambre eq 1 and $piano eq 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/all.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte isnot 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsam.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $piano isnot 1 and $salleamanger eq 1 and $salleporte eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsamporte.png"></div>
<<elseif $salon isnot 1 and $chambre eq 1 and $salleamanger eq 1 and $salleporte eq 1 and $sallepiano eq 1>>
<div id="carte"><img id="map" src="http://wwwetu.utc.fr/~vayssebe/captures%20pie%CC%80ce%20modifie%CC%81es/bsampp.png"></div>
<</if>>
<div class="overwrapper">
<div class="wrapper">
<div class="perspective">
<div class="cadre"><span id="clock"><span id="minutes">$minutes</span>:<span id="countdown">$seconds</span></span></div>
<<silently>>
<<repeat 1s>>
<<set $seconds -= 1>>
<<if $seconds gte 1>>
<<replace "#countdown">>$seconds<</replace>>
<<elseif $seconds lte 1 and $minutes gt 0>>
<<set $seconds to 60>>
<<set $minutes -=1>>
<<if $minutes gte 0>>
<<replace "#minutes">>$minutes<</replace>>
<</if>>
<<else>>
<<goto "Fail">>
<</if>>
<</repeat>>
<<set $compteurenigme +=1>>
<<set $resolu7 to 1>>
<</silently>>
<<audio "themeprincipal" volume 0.4 loop play>>
<div class="colorheros">Bien joué. Tu as l’oreille fine ! Continuons à explorer la</div> [[pièce->salle piano]]
<<script>>window.hideStore();<</script>>
<<script>>
window.showStore = function() {
State.variables.ouvert = 1;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/49/2/1543936489-backgroundstorecarte.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="block";
document.getElementById("store").style.top ="68%";
document.getElementById("store").onclick = function() { window.hideStore(); };
}
window.hideStore = function() {
State.variables.ouvert = 0;
document.body.style.background = "url('http://image.noelshack.com/fichiers/2018/43/2/1540307296-backgroundbasic.jpg')";
document.body.style.backgroundAttachment="fixed";
document.body.style.backgroundRepeat="no-repeat";
document.body.style.backgroundSize="contain";
document.getElementById("carte").style.display ="none";
document.getElementById("objet1").innerHTML ="";
document.getElementById("objet2").innerHTML ="";
document.getElementById("objet3").innerHTML ="";
document.getElementById("objet4").innerHTML ="";
document.getElementById("Enigmerest").innerHTML="";
document.getElementById("store").style.top ="0%";
document.getElementById("store").onclick = function() { window.showStore(); };
}
<</script>>