Skip to content

Commit

Permalink
[Added] New Icons
Browse files Browse the repository at this point in the history
  • Loading branch information
SaberAkiyama committed Mar 25, 2023
1 parent d3c8dbf commit 793156a
Show file tree
Hide file tree
Showing 23 changed files with 1,665 additions and 255 deletions.
172 changes: 110 additions & 62 deletions SA ShapIcon/@Resources/Plus/Category/Gaming.inc

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
617 changes: 436 additions & 181 deletions SA ShapIcon/@Resources/Plus/Scripts/Category/Gaming.lua

Large diffs are not rendered by default.

117 changes: 117 additions & 0 deletions SA ShapIcon/@Resources/Plus/Scripts/Gaming.lua
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ function setDBDColorManual(selectedCode)

end

function setDeadCellsColorManual(selectedCode)
SKIN:Bang('!CommandMeasure "MeterSkinDeadCells" "' .. colorSelect[selectedCode]['colorCode'] .. '"')

end

function setDeadSpaceRMColorManual(selectedCode)
SKIN:Bang('!CommandMeasure "MeterSkinDeadSpaceRM" "' .. colorSelect[selectedCode]['colorCode'] .. '"')

Expand Down Expand Up @@ -544,6 +549,11 @@ function setRecRoomColorManual(selectedCode)

end

function setRE4RemakeColorManual(selectedCode)
SKIN:Bang('!CommandMeasure "MeterSkinRE4Remake" "' .. colorSelect[selectedCode]['colorCode'] .. '"')

end

function setREVIllageColorManual(selectedCode)
SKIN:Bang('!CommandMeasure "MeterSkinREVIllage" "' .. colorSelect[selectedCode]['colorCode'] .. '"')

Expand Down Expand Up @@ -669,6 +679,11 @@ function setTCFColorManual(selectedCode)

end

function setTLOUPart1ColorManual(selectedCode)
SKIN:Bang('!CommandMeasure "MeterSkinTLOUPart1" "' .. colorSelect[selectedCode]['colorCode'] .. '"')

end

function setTW3ColorManual(selectedCode)
SKIN:Bang('!CommandMeasure "MeterSkinTW3" "' .. colorSelect[selectedCode]['colorCode'] .. '"')

Expand Down Expand Up @@ -1376,6 +1391,29 @@ end

--; ============================================================

function setDeadCellsMaskCh(selectedColorCh)
SKIN:Bang('!WriteKeyValue Variables DeadCellsMaskChCode ' .. colorChSelect[selectedColorCh]['chamCode'] .. ' "#@#Plus\\Variables.inc"')
SKIN:Bang('!WriteKeyValue Variables DeadCellsMaskChName "' .. colorChSelect[selectedColorCh]['chamName'] .. '" "#@#Plus\\Variables.inc"')
SKIN:Bang('!RefreshGroup ShapeSettings')

end

function setDeadCellsSG1Ch(selectedColorCh)
SKIN:Bang('!WriteKeyValue Variables DeadCellsShapeGradient1ChCode ' .. colorChSelect[selectedColorCh]['chamCode'] .. ' "#@#Plus\\Variables.inc"')
SKIN:Bang('!WriteKeyValue Variables DeadCellsShapeGradient1ChName "' .. colorChSelect[selectedColorCh]['chamName'] .. '" "#@#Plus\\Variables.inc"')
SKIN:Bang('!RefreshGroup ShapeSettings')

end

function setDeadCellsSG2Ch(selectedColorCh)
SKIN:Bang('!WriteKeyValue Variables DeadCellsShapeGradient2ChCode ' .. colorChSelect[selectedColorCh]['chamCode'] .. ' "#@#Plus\\Variables.inc"')
SKIN:Bang('!WriteKeyValue Variables DeadCellsShapeGradient2ChName "' .. colorChSelect[selectedColorCh]['chamName'] .. '" "#@#Plus\\Variables.inc"')
SKIN:Bang('!RefreshGroup ShapeSettings')

end

--; ============================================================

function setDeadSpaceRMMaskCh(selectedColorCh)
SKIN:Bang('!WriteKeyValue Variables DeadSpaceRMMaskChCode ' .. colorChSelect[selectedColorCh]['chamCode'] .. ' "#@#Plus\\Variables.inc"')
SKIN:Bang('!WriteKeyValue Variables DeadSpaceRMMaskChName "' .. colorChSelect[selectedColorCh]['chamName'] .. '" "#@#Plus\\Variables.inc"')
Expand Down Expand Up @@ -3216,6 +3254,29 @@ end

--; ============================================================

function setRE4RemakeMaskCh(selectedColorCh)
SKIN:Bang('!WriteKeyValue Variables RE4RemakeMaskChCode ' .. colorChSelect[selectedColorCh]['chamCode'] .. ' "#@#Plus\\Variables.inc"')
SKIN:Bang('!WriteKeyValue Variables RE4RemakeMaskChName "' .. colorChSelect[selectedColorCh]['chamName'] .. '" "#@#Plus\\Variables.inc"')
SKIN:Bang('!RefreshGroup ShapeSettings')

end

function setRE4RemakeSG1Ch(selectedColorCh)
SKIN:Bang('!WriteKeyValue Variables RE4RemakeShapeGradient1ChCode ' .. colorChSelect[selectedColorCh]['chamCode'] .. ' "#@#Plus\\Variables.inc"')
SKIN:Bang('!WriteKeyValue Variables RE4RemakeShapeGradient1ChName "' .. colorChSelect[selectedColorCh]['chamName'] .. '" "#@#Plus\\Variables.inc"')
SKIN:Bang('!RefreshGroup ShapeSettings')

end

function setRE4RemakeSG2Ch(selectedColorCh)
SKIN:Bang('!WriteKeyValue Variables RE4RemakeShapeGradient2ChCode ' .. colorChSelect[selectedColorCh]['chamCode'] .. ' "#@#Plus\\Variables.inc"')
SKIN:Bang('!WriteKeyValue Variables RE4RemakeShapeGradient2ChName "' .. colorChSelect[selectedColorCh]['chamName'] .. '" "#@#Plus\\Variables.inc"')
SKIN:Bang('!RefreshGroup ShapeSettings')

end

--; ============================================================

function setREVillageMaskCh(selectedColorCh)
SKIN:Bang('!WriteKeyValue Variables REVillageMaskChCode ' .. colorChSelect[selectedColorCh]['chamCode'] .. ' "#@#Plus\\Variables.inc"')
SKIN:Bang('!WriteKeyValue Variables REVillageMaskChName "' .. colorChSelect[selectedColorCh]['chamName'] .. '" "#@#Plus\\Variables.inc"')
Expand Down Expand Up @@ -3791,6 +3852,29 @@ end

--; ============================================================

function setTLOUPart1MaskCh(selectedColorCh)
SKIN:Bang('!WriteKeyValue Variables TLOUPart1MaskChCode ' .. colorChSelect[selectedColorCh]['chamCode'] .. ' "#@#Plus\\Variables.inc"')
SKIN:Bang('!WriteKeyValue Variables TLOUPart1MaskChName "' .. colorChSelect[selectedColorCh]['chamName'] .. '" "#@#Plus\\Variables.inc"')
SKIN:Bang('!RefreshGroup ShapeSettings')

end

function setTLOUPart1SG1Ch(selectedColorCh)
SKIN:Bang('!WriteKeyValue Variables TLOUPart1ShapeGradient1ChCode ' .. colorChSelect[selectedColorCh]['chamCode'] .. ' "#@#Plus\\Variables.inc"')
SKIN:Bang('!WriteKeyValue Variables TLOUPart1ShapeGradient1ChName "' .. colorChSelect[selectedColorCh]['chamName'] .. '" "#@#Plus\\Variables.inc"')
SKIN:Bang('!RefreshGroup ShapeSettings')

end

function setTLOUPart1SG2Ch(selectedColorCh)
SKIN:Bang('!WriteKeyValue Variables TLOUPart1ShapeGradient2ChCode ' .. colorChSelect[selectedColorCh]['chamCode'] .. ' "#@#Plus\\Variables.inc"')
SKIN:Bang('!WriteKeyValue Variables TLOUPart1ShapeGradient2ChName "' .. colorChSelect[selectedColorCh]['chamName'] .. '" "#@#Plus\\Variables.inc"')
SKIN:Bang('!RefreshGroup ShapeSettings')

end

--; ============================================================

function setTW3MaskCh(selectedColorCh)
SKIN:Bang('!WriteKeyValue Variables TW3MaskChCode ' .. colorChSelect[selectedColorCh]['chamCode'] .. ' "#@#Plus\\Variables.inc"')
SKIN:Bang('!WriteKeyValue Variables TW3MaskChName "' .. colorChSelect[selectedColorCh]['chamName'] .. '" "#@#Plus\\Variables.inc"')
Expand Down Expand Up @@ -4590,6 +4674,17 @@ function setDBDMask(selectedMask)
SKIN:Bang('!RefreshGroup ShapeSettings')
end

function setDeadCellsMask(selectedMask)
SKIN:Bang('!WriteKeyValue Variables DeadCellsMask "' .. selectedMask .. '" "#@#Plus\\Variables.inc" ')
SKIN:Bang('!WriteKeyValue Variables DeadCellsMaskMeter "' .. maskGamingSelect[selectedMask]['gamingMaskMeter'] .. '" "#@#Plus\\Variables.inc" ')
SKIN:Bang('!WriteKeyValue Variables DeadCellsShape "' .. maskGamingSelect[selectedMask]['gamingMaskShape'] .. '" "#@#Plus\\Variables.inc" ')
SKIN:Bang('!WriteKeyValue Variables DeadCellsMaskStyle "' .. maskGamingSelect[selectedMask]['gamingMaskStyle'] .. '" "#@#Plus\\Variables.inc" ')
SKIN:Bang('!WriteKeyValue Variables DeadCellsRegularHidden "' .. maskGamingSelect[selectedMask]['gamingRegularHidden'] .. '" "#@#Plus\\Variables.inc" ')

SKIN:Bang('!UpdateGroup ShapeSettings')
SKIN:Bang('!RefreshGroup ShapeSettings')
end

function setDeadSpaceRMMask(selectedMask)
SKIN:Bang('!WriteKeyValue Variables DeadSpaceRMMask "' .. selectedMask .. '" "#@#Plus\\Variables.inc" ')
SKIN:Bang('!WriteKeyValue Variables DeadSpaceRMMaskMeter "' .. maskGamingSelect[selectedMask]['gamingMaskMeter'] .. '" "#@#Plus\\Variables.inc" ')
Expand Down Expand Up @@ -5470,6 +5565,17 @@ function setRecRoomMask(selectedMask)
SKIN:Bang('!RefreshGroup ShapeSettings')
end

function setRE4RemakeMask(selectedMask)
SKIN:Bang('!WriteKeyValue Variables RE4RemakeMask "' .. selectedMask .. '" "#@#Plus\\Variables.inc" ')
SKIN:Bang('!WriteKeyValue Variables RE4RemakeMaskMeter "' .. maskGamingSelect[selectedMask]['gamingMaskMeter'] .. '" "#@#Plus\\Variables.inc" ')
SKIN:Bang('!WriteKeyValue Variables RE4RemakeShape "' .. maskGamingSelect[selectedMask]['gamingMaskShape'] .. '" "#@#Plus\\Variables.inc" ')
SKIN:Bang('!WriteKeyValue Variables RE4RemakeMaskStyle "' .. maskGamingSelect[selectedMask]['gamingMaskStyle'] .. '" "#@#Plus\\Variables.inc" ')
SKIN:Bang('!WriteKeyValue Variables RE4RemakeRegularHidden "' .. maskGamingSelect[selectedMask]['gamingRegularHidden'] .. '" "#@#Plus\\Variables.inc" ')

SKIN:Bang('!UpdateGroup ShapeSettings')
SKIN:Bang('!RefreshGroup ShapeSettings')
end

function setREVillageMask(selectedMask)
SKIN:Bang('!WriteKeyValue Variables REVillageMask "' .. selectedMask .. '" "#@#Plus\\Variables.inc" ')
SKIN:Bang('!WriteKeyValue Variables REVillageMaskMeter "' .. maskGamingSelect[selectedMask]['gamingMaskMeter'] .. '" "#@#Plus\\Variables.inc" ')
Expand Down Expand Up @@ -5745,6 +5851,17 @@ function setTCFMask(selectedMask)
SKIN:Bang('!RefreshGroup ShapeSettings')
end

function setTLOUPart1Mask(selectedMask)
SKIN:Bang('!WriteKeyValue Variables TLOUPart1Mask "' .. selectedMask .. '" "#@#Plus\\Variables.inc" ')
SKIN:Bang('!WriteKeyValue Variables TLOUPart1MaskMeter "' .. maskGamingSelect[selectedMask]['gamingMaskMeter'] .. '" "#@#Plus\\Variables.inc" ')
SKIN:Bang('!WriteKeyValue Variables TLOUPart1Shape "' .. maskGamingSelect[selectedMask]['gamingMaskShape'] .. '" "#@#Plus\\Variables.inc" ')
SKIN:Bang('!WriteKeyValue Variables TLOUPart1MaskStyle "' .. maskGamingSelect[selectedMask]['gamingMaskStyle'] .. '" "#@#Plus\\Variables.inc" ')
SKIN:Bang('!WriteKeyValue Variables TLOUPart1RegularHidden "' .. maskGamingSelect[selectedMask]['gamingRegularHidden'] .. '" "#@#Plus\\Variables.inc" ')

SKIN:Bang('!UpdateGroup ShapeSettings')
SKIN:Bang('!RefreshGroup ShapeSettings')
end

function setTW3Mask(selectedMask)
SKIN:Bang('!WriteKeyValue Variables TW3Mask "' .. selectedMask .. '" "#@#Plus\\Variables.inc" ')
SKIN:Bang('!WriteKeyValue Variables TW3MaskMeter "' .. maskGamingSelect[selectedMask]['gamingMaskMeter'] .. '" "#@#Plus\\Variables.inc" ')
Expand Down
213 changes: 213 additions & 0 deletions SA ShapIcon/@Resources/Plus/Set Icon/Dead Cells.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,213 @@
[MeterCurrentText]
Meter=String
MeterStyle=IconTextCurrent
X=960
Y=80
Text=Current Icon

[MeterDeadCellsText]
Meter=String
MeterStyle=IconTextName
X=0r
Y=5R
Text=Dead Cells

; ============================================================
; ============================================================

[MeterMaskShape]
Meter=Shape
MeterStyle=Mask#DeadCellsShape#90
MyFillGradient=#ShapeGradientAngle# | #DeadCellsShapeGradient1Base#,255 ; 1.0 | #DeadCellsShapeGradient2Base#,255 ; 0.0
X=915
Y=170
Hidden=#BaseHidden#
UpdateDivider=#BaseUpdate#

[MeterMaskImage]
Meter=#DeadCellsMaskMeter#
MeterStyle=Mask#DeadCellsMaskStyle#90
MaskFillColorSetting=Fill Color #DeadCellsMaskBase#
ImageTint=#DeadCellsMaskBase#
X=0r
Y=0r
Hidden=#BaseHidden#
UpdateDivider=#BaseHidden#

[MeterIconImageDeadCells]
Meter=Image
ImageName=#@#Plus\Image Shapes\Settings\Icon\Gaming\Dead Cells.png
ImageTint=#DeadCellsMaskBase#
X=0r
Y=0r
AntiAlias=1
Hidden=#BaseHidden#
UpdateDivider=#BaseHidden#

; ============================================================

[MeterMaskShapeCh]
Meter=Shape
MeterStyle=Mask#DeadCellsShape#90
MyFillGradient=#ShapeGradientAngle# | [Desktop#DeadCellsShapeGradient1ChCode#],255 ; 1.0 | [Desktop#DeadCellsShapeGradient2ChCode#],255 ; 0.0
X=915
Y=170
Hidden=#ChameleonHidden#
UpdateDivider=#ChameleonUpdate#

[MeterMaskImageCh]
Meter=#DeadCellsMaskMeter#
MeterStyle=Mask#DeadCellsMaskStyle#90 | #DeadCellsMaskChCode#ImageStyle
MaskFillColorSetting=Fill Color [Desktop#DeadCellsMaskChCode#]
ImageTint=[Desktop#DeadCellsMaskChCode#]
X=0r
Y=0r
Hidden=#ChameleonHidden#
UpdateDivider=#ChameleonUpdate#

[MeterIconImageChDeadCells]
Meter=Image
MeterStyle=#DeadCellsMaskChCode#ImageStyle
ImageName=#@#Plus\Image Shapes\Settings\Icon\Gaming\Dead Cells.png
ImageTint=[Desktop#DeadCellsMaskChCode#]
X=0r
Y=0r
AntiAlias=1
Hidden=#ChameleonHidden#
UpdateDivider=#ChameleonUpdate#

; ============================================================
; ============================================================

[MeterMask]
Meter=String
MeterStyle=IconText
X=840
Y=310
Text=Mask Shape

[MeterMaskActive]
Meter=String
MeterStyle=IconActive
X=0r
Y=5R
Text=#DeadCellsMask#
LeftMouseUpAction=[!ToggleConfig "#ROOTCONFIG#\Context\Plus" "Set Mask Shapes.ini"]
MouseOverAction=[!SetOption MeterMaskActive FontColor "255,215,0"][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption MeterMaskActive FontColor "255,255,255"][!UpdateMeter *][!Redraw]

[MeterColorMask]
Meter=String
MeterStyle=IconText
X=240r
Y=310
Text=Color Mask

[MeterColorMaskActive]
Meter=String
MeterStyle=IconActive
X=0r
Y=5R
Text=#DeadCellsMaskBase#
LeftMouseUpAction=[!CommandMeasure LuaGaming "setDeadCellsColorManual('Mask')"]
MouseOverAction=[!SetOption MeterColorMaskActive FontColor "255,215,0"][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption MeterColorMaskActive FontColor "255,255,255"][!UpdateMeter *][!Redraw]
Hidden=#BaseHidden#
UpdateDivider=#BaseUpdate#

[MeterColorMaskChActive]
Meter=String
MeterStyle=IconActive
X=0r
Y=0r
Text=#DeadCellsMaskChName#
LeftMouseUpAction=[!ToggleConfig "#ROOTCONFIG#\Context\Plus\Set Chameleon" "Mask.ini"]
MouseOverAction=[!SetOption MeterColorMaskChActive FontColor "255,215,0"][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption MeterColorMaskChActive FontColor "255,255,255"][!UpdateMeter *][!Redraw]
Hidden=#ChameleonHidden#
UpdateDivider=#ChameleonUpdate#

[MeterColorShapeGradient1]
Meter=String
MeterStyle=IconText
Group=PageGradient
X=840
Y=425
Text=Color Gradient 1

[MeterColorShapeGradient1Active]
Meter=String
MeterStyle=IconActive
Group=PageGradient
X=0r
Y=5R
Text=#DeadCellsShapeGradient1Base#
LeftMouseUpAction=[!CommandMeasure LuaGaming "setDeadCellsColorManual('Gradient 1')"]
MouseOverAction=[!SetOption MeterColorShapeGradient1Active FontColor "255,215,0"][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption MeterColorShapeGradient1Active FontColor "255,255,255"][!UpdateMeter *][!Redraw]
Hidden=#BaseHidden#
UpdateDivider=#BaseUpdate#

[MeterColorShapeGradient1ChActive]
Meter=String
MeterStyle=IconActive
Group=PageGradient
X=0r
Y=0r
Text=#DeadCellsShapeGradient1ChName#
LeftMouseUpAction=[!ToggleConfig "#ROOTCONFIG#\Context\Plus\Set Chameleon" "Gradient 1.ini"]
MouseOverAction=[!SetOption MeterColorShapeGradient1ChActive FontColor "255,215,0"][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption MeterColorShapeGradient1ChActive FontColor "255,255,255"][!UpdateMeter *][!Redraw]
Hidden=#ChameleonHidden#
UpdateDivider=#ChameleonUpdate#

[MeterColorShapeGradient2]
Meter=String
MeterStyle=IconText
Group=PageGradient
X=240r
Y=425
Text=Color Gradient 2

[MeterColorShapeGradient2Active]
Meter=String
MeterStyle=IconActive
Group=PageGradient
X=0r
Y=5R
Text=#DeadCellsShapeGradient2Base#
LeftMouseUpAction=[!CommandMeasure LuaGaming "setDeadCellsColorManual('Gradient 2')"]
MouseOverAction=[!SetOption MeterColorShapeGradient2Active FontColor "255,215,0"][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption MeterColorShapeGradient2Active FontColor "255,255,255"][!UpdateMeter *][!Redraw]
Hidden=#BaseHidden#
UpdateDivider=#BaseUpdate#

[MeterColorShapeGradient2ChActive]
Meter=String
MeterStyle=IconActive
Group=PageGradient
X=0r
Y=0r
Text=#DeadCellsShapeGradient2ChName#
LeftMouseUpAction=[!ToggleConfig "#ROOTCONFIG#\Context\Plus\Set Chameleon" "Gradient 2.ini"]
MouseOverAction=[!SetOption MeterColorShapeGradient2ChActive FontColor "255,215,0"][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption MeterColorShapeGradient2ChActive FontColor "255,255,255"][!UpdateMeter *][!Redraw]
Hidden=#ChameleonHidden#
UpdateDivider=#ChameleonUpdate#

; ============================================================
; ============================================================

[MeterSkinDeadCells]
Measure=Plugin
Plugin=InputText
StringAlign=Center
FontFace=Segoe UI
FontSize=15
W=140
H=30
AntiAlias=1
FocusDismiss=1
Command1=[!WriteKeyValue Variables DeadCellsMaskBase "$UserInput$" "#@#Plus\Variables.inc"] X=1012 Y=332 DefaultValue="#DeadCellsMaskBase#" [!RefreshGroup "ShapeSettings"]
Command2=[!WriteKeyValue Variables DeadCellsShapeGradient1Base "$UserInput$" "#@#Plus\Variables.inc"] X=772 Y=447 DefaultValue="#DeadCellsShapeGradient1Base#" [!RefreshGroup "ShapeSettings"]
Command3=[!WriteKeyValue Variables DeadCellsShapeGradient2Base "$UserInput$" "#@#Plus\Variables.inc"] X=1012 Y=447 DefaultValue="#DeadCellsShapeGradient2Base#" [!RefreshGroup "ShapeSettings"]
Loading

0 comments on commit 793156a

Please sign in to comment.