You are now in the school canteen. The staff is there as well: the plan might get more complicated.
- Click on the corn on the table to take it with you.
+ Click on the corn cobs on the table to take them with you.
-
- Oh jeez! The school cooking staff turned into what appears to be a devil-worshippers gang!
+
+ Oh jeez! The school's cooking staff turned into what appears to be a devil-worshippers gang!
You still have fluoride with you though: use it to fight them back!
Click on the school's staff to neutralize them with the poisonous chemical.
@@ -72,7 +78,7 @@
-
+
fluoride: / 5
@@ -85,7 +91,7 @@
window.onload = function() {
window.localStorage.setItem("school_canteen","opened");
console.log ("school canteen:",localStorage.school_canteen);
- $('.cobs_collected').html("0");
+ $('.cobs_collected').html(fluoride);
}
@@ -96,8 +102,24 @@
var player_img = document.querySelector("#player_img");
player_img.appendChild(img);
- //get player name from local storage
-
+ //change characters + invert
+
+ $("#table").click (function(){
+ $(".cooking, #table, .message1 ").hide();
+ $(".satan, #column, .message2").show();
+ $(".invert").addClass("invert_style");
+ });
+
+ //fight
+ var avatar = $("#player_img");
+ var weapon = $("#pill");
+
+ $(".figure1").click (function(){
+ avatar.animate({top:'16%'}, "slow");
+ weapon.animate({top:'16%'}, "slow");
+ weapon.show();
+ fluoride -- ;
+ });
diff --git a/tree/imgs/canteen/devil_rites_4.gif b/tree/imgs/canteen/devil_rites_4.gif
new file mode 100644
index 0000000..6d286e8
Binary files /dev/null and b/tree/imgs/canteen/devil_rites_4.gif differ
diff --git a/tree/imgs/canteen/fire_2.gif b/tree/imgs/canteen/fire_2.gif
new file mode 100644
index 0000000..50ad34f
Binary files /dev/null and b/tree/imgs/canteen/fire_2.gif differ
diff --git a/tree/imgs/canteen/fire_5.gif b/tree/imgs/canteen/fire_5.gif
new file mode 100644
index 0000000..b11ebae
Binary files /dev/null and b/tree/imgs/canteen/fire_5.gif differ
diff --git a/tree/imgs/canteen/pill.gif b/tree/imgs/canteen/pill.gif
new file mode 100644
index 0000000..51deffc
Binary files /dev/null and b/tree/imgs/canteen/pill.gif differ
diff --git a/tree/imgs/canteen/pill.png b/tree/imgs/canteen/pill.png
new file mode 100644
index 0000000..837f7ff
Binary files /dev/null and b/tree/imgs/canteen/pill.png differ
diff --git a/tree/imgs/canteen/woman_rites_1.gif b/tree/imgs/canteen/woman_rites_1.gif
index d36f788..6818c80 100644
Binary files a/tree/imgs/canteen/woman_rites_1.gif and b/tree/imgs/canteen/woman_rites_1.gif differ
diff --git a/tree/imgs/canteen/woman_rites_5 2.gif b/tree/imgs/canteen/woman_rites_5 2.gif
new file mode 100644
index 0000000..de21846
Binary files /dev/null and b/tree/imgs/canteen/woman_rites_5 2.gif differ