From 2ca4aad82f270e9da5b6b8d1e681b0e9f97b291f Mon Sep 17 00:00:00 2001 From: ZeikJT Date: Fri, 8 Sep 2023 17:52:50 -0700 Subject: [PATCH 1/2] Make cheat defaults be off Honestly not sure why they all defaulted to on... probably just because I was testing them all and it was easier that way, whoops! --- cheats.js | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/cheats.js b/cheats.js index 1ecbec8..78474bf 100644 --- a/cheats.js +++ b/cheats.js @@ -1,39 +1,39 @@ // Written against CrossCode V1.2.0-5 (() => { const CHEAT_CONFIG = [ - ["xpcheat", {defaultValue: true, type: "CHECKBOX"}], + ["xpcheat", {defaultValue: false, type: "CHECKBOX"}], ["xpmultiplier", {defaultValue: 10, type: "SLIDER", min: 0, max: 100, requires: ["xpcheat"]}], ["xpmingain", {defaultValue: 1, type: "SLIDER", min: 0, max: 1000, requires: ["xpcheat"]}], - ["creditcheat", {defaultValue: true, type: "CHECKBOX"}], + ["creditcheat", {defaultValue: false, type: "CHECKBOX"}], ["creditmultiplier", {defaultValue: 10, type: "SLIDER", min: 0, max: 100, requires: ["creditcheat"]}], - ["donotremovecredit", {defaultValue: true, type: "CHECKBOX"}], - ["donotremovearenacoins", {defaultValue: true, type: "CHECKBOX"}], - ["arenaalwaysbonuses", {defaultValue: true, type: "CHECKBOX"}], - ["arenaperfectchain", {defaultValue: true, type: "CHECKBOX"}], - ["arenanodamagepenalty", {defaultValue: true, type: "CHECKBOX"}], - ["arenaalwaysplat", {defaultValue: true, type: "CHECKBOX"}], - ["ignorespcheat", {defaultValue: true, type: "CHECKBOX"}], - ["overheatelim", {defaultValue: true, type: "CHECKBOX"}], - ["invincible", {defaultValue: true, type: "CHECKBOX"}], - ["cpcheat", {defaultValue: true, type: "CHECKBOX"}], - ["consumableinfinite", {defaultValue: true, type: "CHECKBOX"}], - ["consumablenocooldown", {defaultValue: true, type: "CHECKBOX"}], - ["noknockbackonhit", {defaultValue: true, type: "CHECKBOX"}], - ["noactioncancelonhit", {defaultValue: true, type: "CHECKBOX"}], - ["tradecheat", {defaultValue: true, type: "CHECKBOX"}], - ["enemydropcheat", {defaultValue: true, type: "CHECKBOX"}], - ["plantdropcheat", {defaultValue: true, type: "CHECKBOX"}], - ["donotremovetrophypoints", {defaultValue: true, type: "CHECKBOX", preconditions: ["NEW_GAME_PLUS"]}], - ["jumphigher", {defaultValue: true, type: "CHECKBOX"}], + ["donotremovecredit", {defaultValue: false, type: "CHECKBOX"}], + ["donotremovearenacoins", {defaultValue: false, type: "CHECKBOX"}], + ["arenaalwaysbonuses", {defaultValue: false, type: "CHECKBOX"}], + ["arenaperfectchain", {defaultValue: false, type: "CHECKBOX"}], + ["arenanodamagepenalty", {defaultValue: false, type: "CHECKBOX"}], + ["arenaalwaysplat", {defaultValue: false, type: "CHECKBOX"}], + ["ignorespcheat", {defaultValue: false, type: "CHECKBOX"}], + ["overheatelim", {defaultValue: false, type: "CHECKBOX"}], + ["invincible", {defaultValue: false, type: "CHECKBOX"}], + ["cpcheat", {defaultValue: false, type: "CHECKBOX"}], + ["consumableinfinite", {defaultValue: false, type: "CHECKBOX"}], + ["consumablenocooldown", {defaultValue: false, type: "CHECKBOX"}], + ["noknockbackonhit", {defaultValue: false, type: "CHECKBOX"}], + ["noactioncancelonhit", {defaultValue: false, type: "CHECKBOX"}], + ["tradecheat", {defaultValue: false, type: "CHECKBOX"}], + ["enemydropcheat", {defaultValue: false, type: "CHECKBOX"}], + ["plantdropcheat", {defaultValue: false, type: "CHECKBOX"}], + ["donotremovetrophypoints", {defaultValue: false, type: "CHECKBOX", preconditions: ["NEW_GAME_PLUS"]}], + ["jumphigher", {defaultValue: false, type: "CHECKBOX"}], ["jumphighermodifier", {defaultValue: 5, type: "SLIDER", min: 1, max: 10, requires: ["jumphigher"]}], ["jumpfurther", {defaultValue: 10, type: "SLIDER", min: 10, max: 40, requires: ["jumphigher"]}], - ["skipintro", {defaultValue: true, type: "CHECKBOX"}], - ["unlimiteddashes", {defaultValue: true, type: "CHECKBOX"}], - ["runspeed", {defaultValue: true, type: "CHECKBOX"}], + ["skipintro", {defaultValue: false, type: "CHECKBOX"}], + ["unlimiteddashes", {defaultValue: false, type: "CHECKBOX"}], + ["runspeed", {defaultValue: false, type: "CHECKBOX"}], ["runspeedmultiplier", {defaultValue: 10, type: "SLIDER", min: 1, max: 100, requires: ["runspeed"]}], - ["maxresistance", {defaultValue: true, type: "CHECKBOX"}], - ["instantaim", {defaultValue: true, type: "CHECKBOX"}], - ["dontresetpuzzles", {defaultValue: true, type: "CHECKBOX"}], + ["maxresistance", {defaultValue: false, type: "CHECKBOX"}], + ["instantaim", {defaultValue: false, type: "CHECKBOX"}], + ["dontresetpuzzles", {defaultValue: false, type: "CHECKBOX"}], ]; const CHEAT_CONFIG_MAP = new Map(CHEAT_CONFIG); From 6199b02bd765a7294e520152b8c30ac7f5bc7abd Mon Sep 17 00:00:00 2001 From: ZeikJT Date: Fri, 8 Sep 2023 17:54:06 -0700 Subject: [PATCH 2/2] Update package.json version Bump patch version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 107e361..03ba023 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "Cheats", "postload": "cheats.js", - "version": "1.4.0", + "version": "1.4.1", "homepage": "https://github.com/ZeikJT/CrossCodeCheats", "description": "This mod adds cheats to CrossCode.", "ccmodDependencies": {