ADR Cheats

Javascript based cheats for A Dark Room

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Elijah Wales
今日安裝
0
安裝總數
490
評價
1 0 0
版本
3.1
建立日期
2019-11-16
更新日期
2023-11-20
尺寸
20.3 KB
授權條款
未知
腳本執行於

This is a script that has cheats for A Dark Room.
I was bored one day and decided to make this. I really dunno how to code well in javascript so uh this is probably not well made :p
If you want to improve this go ahead, I'd be interested in seeing it as well :)

--
Changelog:
* 1.1 - Added additional resources (weren't in my original js that I used to make this)
* 1.2 - Made Auto Stoke/Gather/Check into individual keybinds
* 1.3 - Changed $SM.set to $SM.add so that it adds the resources/weapons instead of just setting them
* 1.4 - Changed from If Statements to switch statements
* 1.5 - Added: No Food/Water Consumption, Cured Meat/Medicine heals 50k, 999,999,999 HP, 999,999 Weight (Rucksack space), Add 100 Cured Meat & Medicine to current amount in rucksack, and reset embark timer.
* 1.6 - Added notification message in the games notifications for enabling cheats, made things a bit more modular, and also added Userscript stuff
* 2.0 - Added a cheat menu with buttons for the cheats. Keybinds still work in place of them if you don't want to use it
* 2.1 - Put the stuff being appended into it's own function as well as changed the buttons to be append through an array and a for-statement
* 2.2 - Added some checking to Stoke, Gather and Check which should stop any errors from not having things unlocked.
* 2.3 - Auto Stoke/Light, Gather and Check are now toggles. Activating it once will enabled it and activating it again will disable it.
* 2.4 - Minor change to how buttons are created. This won't affect the user at all, just for the sake slightly condensing the code.
* 3.0 - Major rewrite, please view here for more info: Changelog.
* 3.1 - Thanks to NightSpaceC: Added new resources, added auto-attacking.