You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* initial impl
* update optional api
* update workflow lol
* extra hook listener for good measure
* initial impl
* update optional api
* extra hook listener for good measure
* add cheat info
* adjust cheat options
Copy file name to clipboardExpand all lines: mod.json
+19-6Lines changed: 19 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -47,12 +47,6 @@
47
47
}
48
48
},
49
49
"settings": {
50
-
"safe-mode": {
51
-
"type": "bool",
52
-
"name": "Safe Mode",
53
-
"description": "Prevent accidentally saving progress made in levels while using this mod's features. <co>We recommend keeping this enabled while this mod is active!</cr>",
54
-
"default": true
55
-
},
56
50
"button": {
57
51
"type": "custom:menu",
58
52
"name": ""
@@ -66,6 +60,25 @@
66
60
],
67
61
"category": "universal"
68
62
},
63
+
"safe-mode-section": {
64
+
"type": "title",
65
+
"name": "Safe Mode",
66
+
"description": "Settings for Safe Mode."
67
+
},
68
+
"safe-mode": {
69
+
"type": "bool",
70
+
"name": "Enable",
71
+
"description": "Prevent accidentally saving progress made in levels while using this mod's features. <co>We recommend keeping this enabled while this mod is active!</cr>",
72
+
"default": true,
73
+
"enable-if": "!dyn-safe-mode",
74
+
"enable-if-description": "Disable Automatic Safe Mode to manually change this setting."
75
+
},
76
+
"dyn-safe-mode": {
77
+
"type": "bool",
78
+
"name": "Automatic",
79
+
"description": "Automatically toggle Safe Mode whenever you toggle any options that are marked as cheats.",
Copy file name to clipboardExpand all lines: src/hooks/Dementia.cpp
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ static auto const o = Option::create(THIS_ID)
15
15
->setDescription("Chance for the player to occasionally randomly teleport a few steps back while playing a level.\n<cl>suggested by imdissapearinghelp</c>")
16
16
->setCategory(category::misc)
17
17
->setSillyTier(SillyTier::Medium)
18
+
->setCheating(true)
18
19
->autoRegister();
19
20
20
21
class $modify(DementiaPlayerObject, PlayerObject) {
0 commit comments