Forked from SSN007/gist:d8b43680d29306f9f50421fc43fd4659
Created
January 24, 2024 18:01
-
-
Save tborychowski/3169d613138ac02441ac20939d6b079f to your computer and use it in GitHub Desktop.
CHEAT FOR A DARK ROOM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.each(State.stores, function(e,i) { State.stores[e] = 1000000000; }) | |
OR | |
var high = 100000 | |
var checkAll = setInterval(function() { | |
var bn = [ | |
'attack', | |
'attack_bolas', | |
'attack_bone-spear', | |
'attack_grenade', | |
'attack_iron-sword', | |
'attack_laser-rifle', | |
'attack_rifle', | |
'attack_steel-sword', | |
'continue', | |
'enter', | |
'gatherButton', | |
'loot_takeEverything', | |
'meds', | |
'reinforceButton', | |
'stokeButton', | |
'trapsButton' | |
]; | |
for (var i = 0; i < bn.length; i++) { | |
$('#' + bn[i] + ':not(.disabled)').click(); | |
} | |
}, 500); | |
Path.DEFAULT_BAG_SPACE = high; | |
World.BASE_HEALTH = high; | |
World.setHp(high); | |
World.BASE_WATER = high; | |
Ship.BASE_HULL = high; | |
var fillStore = setInterval(function() { | |
var items = [ | |
'alien alloy', | |
'bait', | |
'bolas', | |
'bone spear', | |
'bullets', | |
'charm', | |
'cloth', | |
'coal', | |
'compass', | |
'cured meat', | |
'energy cell', | |
'fur', | |
'grenade', | |
'iron sword', | |
'iron', | |
'laser rifle', | |
'leather', | |
'meat', | |
'medicine', | |
'rifle', | |
's armour', | |
'scales', | |
'steel sword', | |
'steel', | |
'sulphur', | |
'teeth', | |
'torch', | |
'wood' | |
]; | |
for (var i = 0; i < items.length; i++) { | |
State.stores[items[i]] = high; | |
} | |
}, 500); | |
var fillOutfits = setInterval(function() { | |
var outfits = [ | |
'bolas', | |
'bone spear', | |
'bullets', | |
'charm', | |
'cured meat', | |
'energy cell', | |
'grenade', | |
'iron sword', | |
'laser rifle', | |
'medicine', | |
'rifle', | |
'steel sword', | |
'torch' | |
]; | |
for (var i = 0; i < outfits.length; i++) { | |
Path.outfit[outfits[i]] = high / 100; | |
} | |
}, 500); | |
var perks = [ | |
'barbarian', | |
'boxer', | |
'desert rat', | |
'evasive', | |
'gastronome', | |
'martial artist', | |
'precise', | |
'scout', | |
'slow metabolism', | |
'stealthy', | |
'unarmed master' | |
]; | |
for (var i = 0; i < perks.length; i++) { | |
$SM.addPerk(perks[i]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment