From 9d0a49de199c8f45df3516fe41a2247b783170e1 Mon Sep 17 00:00:00 2001 From: landgreen Date: Tue, 20 Sep 2022 21:15:18 -0700 Subject: [PATCH] n-gon --- js/level.js | 4 ++-- js/lore.js | 6 ++++-- todo.txt | 4 ---- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/js/level.js b/js/level.js index 62588ab..a03d5fe 100644 --- a/js/level.js +++ b/js/level.js @@ -24,7 +24,7 @@ const level = { // m.immuneCycle = Infinity //you can't take damage // tech.tech[297].frequency = 100 // m.couplingChange(5) - // m.setField("molecular assembler") //molecular assembler standing wave time dilation perfect diamagnetism metamaterial cloaking wormhole negative mass + // m.setField("perfect diamagnetism") //molecular assembler standing wave time dilation perfect diamagnetism metamaterial cloaking wormhole negative mass // simulation.molecularMode = 2 // m.damage(0.1); // b.giveGuns("nail gun") //0 nail gun 1 shotgun 2 super balls 3 wave 4 missiles 5 grenades 6 spores 7 drones 8 foam 9 harpoon 10 mine 11 laser @@ -58,7 +58,7 @@ const level = { // simulation.isCheating = false //true; // level.levelsCleared = 10 // mobs.mobDeaths = 200 - // localSettings.loreCount = 6; //this sets what conversation is heard + // localSettings.loreCount = 6 //this sets what conversation is heard // if (localSettings.isAllowed) localStorage.setItem("localSettings", JSON.stringify(localSettings)); //update local storage // level.onLevel = -1 //this sets level.levels[level.onLevel] = undefined which is required to run the conversation // level.null() diff --git a/js/lore.js b/js/lore.js index 2db9ba4..0604eac 100644 --- a/js/lore.js +++ b/js/lore.js @@ -664,10 +664,12 @@ const lore = { () => { if (mobs.mobDeaths < level.levelsCleared) { lore.miriam.text(`So I think it worked.`) - localSettings.loreCount++ - if (localSettings.isAllowed) localStorage.setItem("localSettings", JSON.stringify(localSettings)); //update local storage + // localSettings.loreCount++ + // if (localSettings.isAllowed) localStorage.setItem("localSettings", JSON.stringify(localSettings)); //update local storage } else if (!simulation.isCheating) { lore.miriam.text(`Looks like you got back here, but you killed ${mobs.mobDeaths} mobs`) + localSettings.loreCount-- + if (localSettings.isAllowed) localStorage.setItem("localSettings", JSON.stringify(localSettings)); //update local storage } }, () => { diff --git a/todo.txt b/todo.txt index a9e2201..a2f259b 100644 --- a/todo.txt +++ b/todo.txt @@ -1,11 +1,7 @@ ******************************************************** NEXT PATCH ************************************************** -IceIX is faster, but doesn't last as long - effective range and damage should be about the same -slow fall while perfect diamagnetism is active -bug fixes *********************************************************** TODO *****************************************************