Replace E effect cycling with effect selection menu

This commit is contained in:
Jage9
2026-02-21 02:06:32 -05:00
parent 5a3f3d3044
commit e3d2fe6404
5 changed files with 60 additions and 4 deletions

View File

@@ -26,6 +26,7 @@ export type GameMode =
| 'normal'
| 'nickname'
| 'chat'
| 'effectSelect'
| 'listUsers'
| 'listItems'
| 'addItem'
@@ -69,6 +70,7 @@ export type GameState = {
editingPropertyKey: string | null;
itemPropertyOptionValues: string[];
itemPropertyOptionIndex: number;
effectSelectIndex: number;
addItemTypeIndex: number;
isMuted: boolean;
player: Player;
@@ -98,6 +100,7 @@ export function createInitialState(): GameState {
editingPropertyKey: null,
itemPropertyOptionValues: [],
itemPropertyOptionIndex: 0,
effectSelectIndex: 0,
addItemTypeIndex: 0,
isMuted: false,
player: {