diff options
| author | raaaaaven <168305416+raaaaaven@users.noreply.github.com> | 2024-07-15 19:49:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-15 20:49:13 +0200 |
| commit | 88faa15a0dd554148f3fadcc8f3d2df741e87cde (patch) | |
| tree | 7207b9e81a67c5493b15eb80a313e93b218f9d16 /src/main/java/at/hannibal2/skyhanni/features | |
| parent | b7c7711d40a0676d530d7b8eb258ec946f8012ad (diff) | |
| download | skyhanni-88faa15a0dd554148f3fadcc8f3d2df741e87cde.tar.gz skyhanni-88faa15a0dd554148f3fadcc8f3d2df741e87cde.tar.bz2 skyhanni-88faa15a0dd554148f3fadcc8f3d2df741e87cde.zip | |
Feature: Reset Custom Wardrobe Settings (#2120)
Co-authored-by: J10a1n15 <45315647+j10a1n15@users.noreply.github.com>
Co-authored-by: raven <raveeeennnn@hotmail.com>
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/wardrobe/CustomWardrobeReset.kt | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/wardrobe/CustomWardrobeReset.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/wardrobe/CustomWardrobeReset.kt new file mode 100644 index 000000000..209bd3df7 --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/wardrobe/CustomWardrobeReset.kt @@ -0,0 +1,41 @@ +package at.hannibal2.skyhanni.features.inventory.wardrobe + +import at.hannibal2.skyhanni.SkyHanniMod + +object CustomWardrobeReset { + private val config get() = SkyHanniMod.feature.inventory.customWardrobe + + @JvmStatic + fun resetSpacing() { + with(config.spacing) { + globalScale.set(100) + outlineThickness.set(5) + outlineBlur.set(0.5f) + slotWidth.set(75) + slotHeight.set(140) + playerScale.set(75) + maxPlayersPerRow.set(9) + horizontalSpacing.set(3) + verticalSpacing.set(3) + buttonSlotsVerticalSpacing.set(10) + buttonHorizontalSpacing.set(10) + buttonVerticalSpacing.set(10) + buttonWidth.set(50) + buttonHeight.set(20) + backgroundPadding.set(10) + } + } + + @JvmStatic + fun resetColor() { + with(config.color) { + backgroundColor = "0:127:0:0:0" + equippedColor = "0:127:85:255:85" + favoriteColor = "0:127:255:85:85" + samePageColor = "0:127:94:108:255" + otherPageColor = "0:127:0:0:0" + topBorderColor = "0:255:255:200:0" + bottomBorderColor = "0:255:255:0:0" + } + } +} |
