horny mode option

This commit is contained in:
SpikeHD
2022-09-02 20:11:14 -07:00
parent c1842722b4
commit 6eab66032b
3 changed files with 19 additions and 1 deletions

View File

@@ -26,7 +26,8 @@
"theme": "Set Theme",
"patch_metadata": "Automatically Patch Metadata",
"use_proxy": "Use Internal Proxy",
"wipe_login": "Wipe Login Cache"
"wipe_login": "Wipe Login Cache",
"horny_mode": "Horny Mode"
},
"downloads": {
"grasscutter_stable_data": "Download Grasscutter Stable Data",

View File

@@ -35,6 +35,7 @@ interface IState {
patch_metadata: boolean
use_internal_proxy: boolean
wipe_login: boolean
horny_mode: boolean
swag: boolean
// Swag stuff
@@ -61,6 +62,7 @@ export default class Options extends React.Component<IProps, IState> {
patch_metadata: false,
use_internal_proxy: false,
wipe_login: false,
horny_mode: false,
swag: false,
// Swag stuff
@@ -103,6 +105,7 @@ export default class Options extends React.Component<IProps, IState> {
patch_metadata: config.patch_metadata || false,
use_internal_proxy: config.use_internal_proxy || false,
wipe_login: config.wipe_login || false,
horny_mode: config.horny_mode || false,
swag: config.swag_mode || false,
// Swag stuff
@@ -401,6 +404,18 @@ export default class Options extends React.Component<IProps, IState> {
/>
</div>
</div>
<div className="OptionSection" id="menuOptionsContainerHorny">
<div className="OptionLabel" id="menuOptionsLabelHorny">
<Tr text="options.horny_mode" />
</div>
<div className="OptionValue" id="menuOptionsCheckboxHorny">
<Checkbox
onChange={() => this.toggleOption('horny_mode')}
checked={this.state?.horny_mode}
id="hornyMode"
/>
</div>
</div>
<Divider />

View File

@@ -23,6 +23,7 @@ let defaultConfig: Configuration
patch_metadata: true,
use_internal_proxy: true,
wipe_login: false,
horny_mode: false,
}
})()
@@ -48,6 +49,7 @@ export interface Configuration {
patch_metadata: boolean
use_internal_proxy: boolean
wipe_login: boolean
horny_mode: boolean
swag_mode?: boolean
// Swag stuff