Skip to content

Commit

Permalink
Merge pull request #6 from ZeikJT/ZeikJT-patch-default-values-off
Browse files Browse the repository at this point in the history
Patch default values to off
  • Loading branch information
ZeikJT authored Sep 9, 2023
2 parents 1cea15a + 6199b02 commit 08b9c2a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
54 changes: 27 additions & 27 deletions cheats.js
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 08b9c2a

Please sign in to comment.