feat: smolecraft suggestions 1

This commit is contained in:
TrèsAbhi committed 2024-05-04 17:25:03 -05:00
1 parent a099df5133
commit aaf013c650
3 files changed
+16 -10

No files matched your search

@@ -93,6 +93,7 @@ export function Options() {
color={thisShell.id === antagonistShell.id ? undefined : 'gray'}
variant="soft"
key={thisShell.id}
size="3"
style={{
borderTopLeftRadius: shellIndex === 0 ? undefined : 0,
borderTopRightRadius: shellIndex === 0 ? undefined : 0,
@@ -114,8 +115,8 @@ export function Options() {
>
<img
alt={thisShell.name}
width={16}
height={16}
width={20}
height={20}
src={asset(`icons/shells/${thisShell.icon}.webp`)}
/>
</IconButton>
@@ -130,6 +131,7 @@ export function Options() {
borderBottomRightRadius: 0,
borderBottomLeftRadius: 0,
}}
size="3"
onClick={() => {
mutateDuel((draft) => {
draft.antagonist!.equipmentMatrix[0][0] = hasCalibratedShells
@@ -140,14 +142,15 @@ export function Options() {
>
<img
alt="Calibrated Shells"
width={16}
height={16}
width={20}
height={20}
src={asset('icons/equipment/103.webp')}
/>
</IconButton>
<IconButton
color={hasEnhancedArmor ? undefined : 'gray'}
variant="soft"
size="3"
style={{
borderTopRightRadius: 0,
borderTopLeftRadius: 0,
@@ -163,8 +166,8 @@ export function Options() {
>
<img
alt="Enhanced Armor"
width={16}
height={16}
width={20}
height={20}
src={asset('icons/equipment/110.webp')}
/>
</IconButton>