|
|
|
@ -228,7 +228,7 @@
|
|
|
|
|
window.localStorage.setItem("park","opened")
|
|
|
|
|
console.log ("park:",localStorage.park)
|
|
|
|
|
document.querySelector('#player_name').innerHTML = localStorage.playerName;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
//exhibition setting - deletes previous history everytime the journey starts again
|
|
|
|
|
|
|
|
|
|
var avatar_image = localStorage.getItem('myavatar');
|
|
|
|
@ -241,9 +241,10 @@
|
|
|
|
|
window.localStorage.setItem("park","opened")
|
|
|
|
|
console.log ("park:",localStorage.park)
|
|
|
|
|
document.querySelector('#player_name').innerHTML = localStorage.playerName;
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
//ordinary setting : asks the player whether they want to remove their history or not
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
if (localStorage.final === "opened" ) {
|
|
|
|
|
$(".memory").show();
|
|
|
|
|
$(".text_container").hide();
|
|
|
|
@ -271,7 +272,7 @@
|
|
|
|
|
document.querySelector('#player_name').innerHTML = localStorage.playerName;
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// open newspaper
|
|
|
|
|