diff --git a/src/views/wired/WiredView.types.ts b/src/views/wired/WiredView.types.ts index 42a15ce3..aa76a13e 100644 --- a/src/views/wired/WiredView.types.ts +++ b/src/views/wired/WiredView.types.ts @@ -10,10 +10,10 @@ export class WiredLayoutViewProps export class WiredFurniType { - public static _Str_5431: number = 0; - public static _Str_4873: number = 1; - public static _Str_4991: number = 2; - public static _Str_5430: number = 3; + public static STUFF_SELECTION_OPTION_NONE: number = 0; + public static STUFF_SELECTION_OPTION_BY_ID: number = 1; + public static STUFF_SELECTION_OPTION_BY_ID_OR_BY_TYPE: number = 2; + public static STUFF_SELECTION_OPTION_BY_ID_BY_TYPE_OR_FROM_CONTEXT: number = 3; } export const WIRED_STRING_DELIMETER: string = '\t'; diff --git a/src/views/wired/views/actions/base/WiredActionBaseView.tsx b/src/views/wired/views/actions/base/WiredActionBaseView.tsx index 9411ea19..5eb407d7 100644 --- a/src/views/wired/views/actions/base/WiredActionBaseView.tsx +++ b/src/views/wired/views/actions/base/WiredActionBaseView.tsx @@ -10,7 +10,7 @@ import { WiredActionBaseViewProps } from './WiredActionBaseView.types'; export const WiredActionBaseView: FC = props => { - const { requiresFurni = WiredFurniType._Str_5431, save = null, children = null } = props; + const { requiresFurni = WiredFurniType.STUFF_SELECTION_OPTION_NONE, save = null, children = null } = props; const [ delay, setDelay ] = useState(-1); const { trigger = null, setActionDelay = null } = useWiredContext(); diff --git a/src/views/wired/views/actions/bot-change-figure/WiredActionBotChangeFigureView.tsx b/src/views/wired/views/actions/bot-change-figure/WiredActionBotChangeFigureView.tsx index 85ddb413..f6ab7ceb 100644 --- a/src/views/wired/views/actions/bot-change-figure/WiredActionBotChangeFigureView.tsx +++ b/src/views/wired/views/actions/bot-change-figure/WiredActionBotChangeFigureView.tsx @@ -33,7 +33,7 @@ export const WiredActionBotChangeFigureView: FC<{}> = props => }, [ botName, figure, setStringParam ]); return ( - +
setBotName(event.target.value) } /> diff --git a/src/views/wired/views/actions/bot-follow-avatar/WiredActionBotFollowAvatarView.tsx b/src/views/wired/views/actions/bot-follow-avatar/WiredActionBotFollowAvatarView.tsx index d3386c04..19cc8d79 100644 --- a/src/views/wired/views/actions/bot-follow-avatar/WiredActionBotFollowAvatarView.tsx +++ b/src/views/wired/views/actions/bot-follow-avatar/WiredActionBotFollowAvatarView.tsx @@ -23,7 +23,7 @@ export const WiredActionBotFollowAvatarView: FC<{}> = props => }, [ followMode, botName, setStringParam, setIntParams ]); return ( - +
setBotName(event.target.value) } /> diff --git a/src/views/wired/views/actions/bot-give-hand-item/WiredActionBotGiveHandItemView.tsx b/src/views/wired/views/actions/bot-give-hand-item/WiredActionBotGiveHandItemView.tsx index cea80078..ff68b0b4 100644 --- a/src/views/wired/views/actions/bot-give-hand-item/WiredActionBotGiveHandItemView.tsx +++ b/src/views/wired/views/actions/bot-give-hand-item/WiredActionBotGiveHandItemView.tsx @@ -25,7 +25,7 @@ export const WiredActionBotGiveHandItemView: FC<{}> = props => }, [ handItemId, botName, setStringParam, setIntParams ]); return ( - +
setBotName(event.target.value) } /> diff --git a/src/views/wired/views/actions/bot-move/WiredActionBotMoveView.tsx b/src/views/wired/views/actions/bot-move/WiredActionBotMoveView.tsx index 6d7c583b..0704ba03 100644 --- a/src/views/wired/views/actions/bot-move/WiredActionBotMoveView.tsx +++ b/src/views/wired/views/actions/bot-move/WiredActionBotMoveView.tsx @@ -20,7 +20,7 @@ export const WiredActionBotMoveView: FC<{}> = props => }, [ botName, setStringParam ]); return ( - +
setBotName(event.target.value) } /> diff --git a/src/views/wired/views/actions/bot-talk-to-avatar/WiredActionBotTalkToAvatarView.tsx b/src/views/wired/views/actions/bot-talk-to-avatar/WiredActionBotTalkToAvatarView.tsx index d1c1bb1d..ee8abea6 100644 --- a/src/views/wired/views/actions/bot-talk-to-avatar/WiredActionBotTalkToAvatarView.tsx +++ b/src/views/wired/views/actions/bot-talk-to-avatar/WiredActionBotTalkToAvatarView.tsx @@ -28,7 +28,7 @@ export const WiredActionBotTalkToAvatarView: FC<{}> = props => }, [ botName, message, talkMode, setStringParam, setIntParams ]); return ( - +
setBotName(event.target.value) } /> diff --git a/src/views/wired/views/actions/bot-talk/WiredActionBotTalkView.tsx b/src/views/wired/views/actions/bot-talk/WiredActionBotTalkView.tsx index a7d18be1..a73c1179 100644 --- a/src/views/wired/views/actions/bot-talk/WiredActionBotTalkView.tsx +++ b/src/views/wired/views/actions/bot-talk/WiredActionBotTalkView.tsx @@ -28,7 +28,7 @@ export const WiredActionBotTalkView: FC<{}> = props => }, [ botName, message, talkMode, setStringParam, setIntParams ]); return ( - +
setBotName(event.target.value) } /> diff --git a/src/views/wired/views/actions/bot-teleport/WiredActionBotTeleportView.tsx b/src/views/wired/views/actions/bot-teleport/WiredActionBotTeleportView.tsx index 48e74006..bd916693 100644 --- a/src/views/wired/views/actions/bot-teleport/WiredActionBotTeleportView.tsx +++ b/src/views/wired/views/actions/bot-teleport/WiredActionBotTeleportView.tsx @@ -20,7 +20,7 @@ export const WiredActionBotTeleportView: FC<{}> = props => }, [ botName, setStringParam ]); return ( - +
setBotName(event.target.value) } /> diff --git a/src/views/wired/views/actions/call-another-stack/WiredActionCallAnotherStackView.tsx b/src/views/wired/views/actions/call-another-stack/WiredActionCallAnotherStackView.tsx index fc8cfb64..3a2f37c6 100644 --- a/src/views/wired/views/actions/call-another-stack/WiredActionCallAnotherStackView.tsx +++ b/src/views/wired/views/actions/call-another-stack/WiredActionCallAnotherStackView.tsx @@ -5,6 +5,6 @@ import { WiredActionBaseView } from '../base/WiredActionBaseView'; export const WiredActionCallAnotherStackView: FC<{}> = props => { return ( - + ); } diff --git a/src/views/wired/views/actions/chase/WiredActionChaseView.tsx b/src/views/wired/views/actions/chase/WiredActionChaseView.tsx index 137e2b74..91b8ee30 100644 --- a/src/views/wired/views/actions/chase/WiredActionChaseView.tsx +++ b/src/views/wired/views/actions/chase/WiredActionChaseView.tsx @@ -5,6 +5,6 @@ import { WiredActionBaseView } from '../base/WiredActionBaseView'; export const WiredActionChaseView: FC<{}> = props => { return ( - + ); } diff --git a/src/views/wired/views/actions/chat/WiredActionChatView.tsx b/src/views/wired/views/actions/chat/WiredActionChatView.tsx index 17ab0dd7..4d9e54b2 100644 --- a/src/views/wired/views/actions/chat/WiredActionChatView.tsx +++ b/src/views/wired/views/actions/chat/WiredActionChatView.tsx @@ -20,7 +20,7 @@ export const WiredActionChatView: FC<{}> = props => }, [ message, setStringParam ]); return ( - +
setMessage(event.target.value) } /> diff --git a/src/views/wired/views/actions/flee/WiredActionFleeView.tsx b/src/views/wired/views/actions/flee/WiredActionFleeView.tsx index 17fa4bad..927ffea9 100644 --- a/src/views/wired/views/actions/flee/WiredActionFleeView.tsx +++ b/src/views/wired/views/actions/flee/WiredActionFleeView.tsx @@ -5,6 +5,6 @@ import { WiredActionBaseView } from '../base/WiredActionBaseView'; export const WiredActionFleeView: FC<{}> = props => { return ( - + ); } diff --git a/src/views/wired/views/actions/join-team/WiredActionJoinTeamView.tsx b/src/views/wired/views/actions/join-team/WiredActionJoinTeamView.tsx index 077be945..4dc6844e 100644 --- a/src/views/wired/views/actions/join-team/WiredActionJoinTeamView.tsx +++ b/src/views/wired/views/actions/join-team/WiredActionJoinTeamView.tsx @@ -20,7 +20,7 @@ export const WiredActionJoinTeamView: FC<{}> = props => }, [ selectedTeam, setIntParams ]); return ( - + { [1, 2, 3, 4].map(team => { return ( diff --git a/src/views/wired/views/actions/kick-from-room/WiredActionKickFromRoomView.tsx b/src/views/wired/views/actions/kick-from-room/WiredActionKickFromRoomView.tsx index 3e221293..65933838 100644 --- a/src/views/wired/views/actions/kick-from-room/WiredActionKickFromRoomView.tsx +++ b/src/views/wired/views/actions/kick-from-room/WiredActionKickFromRoomView.tsx @@ -20,7 +20,7 @@ export const WiredActionKickFromRoomView: FC<{}> = props => }, [ message, setStringParam ]); return ( - +
setMessage(event.target.value) } /> diff --git a/src/views/wired/views/actions/leave-team/WiredActionLeaveTeamView.tsx b/src/views/wired/views/actions/leave-team/WiredActionLeaveTeamView.tsx index 44d97432..0ea0dee3 100644 --- a/src/views/wired/views/actions/leave-team/WiredActionLeaveTeamView.tsx +++ b/src/views/wired/views/actions/leave-team/WiredActionLeaveTeamView.tsx @@ -5,6 +5,6 @@ import { WiredActionBaseView } from '../base/WiredActionBaseView'; export const WiredActionLeaveTeamView: FC<{}> = props => { return ( - + ); } diff --git a/src/views/wired/views/actions/move-furni/WiredActionMoveFurniView.tsx b/src/views/wired/views/actions/move-furni/WiredActionMoveFurniView.tsx index b387284b..7572bd06 100644 --- a/src/views/wired/views/actions/move-furni/WiredActionMoveFurniView.tsx +++ b/src/views/wired/views/actions/move-furni/WiredActionMoveFurniView.tsx @@ -56,7 +56,7 @@ export const WiredActionMoveFurniView: FC<{}> = props => }, [ movement, rotation, setIntParams ]); return ( - +
{ LocalizeText('wiredfurni.params.movefurni') }
setMovement(0)} /> diff --git a/src/views/wired/views/actions/reset/WiredActionResetView.tsx b/src/views/wired/views/actions/reset/WiredActionResetView.tsx index b99cce9c..ff977014 100644 --- a/src/views/wired/views/actions/reset/WiredActionResetView.tsx +++ b/src/views/wired/views/actions/reset/WiredActionResetView.tsx @@ -5,6 +5,6 @@ import { WiredActionBaseView } from '../base/WiredActionBaseView'; export const WiredActionResetView: FC<{}> = props => { return ( - + ); } diff --git a/src/views/wired/views/actions/set-furni-state-to/WiredActionSetFurniStateToView.tsx b/src/views/wired/views/actions/set-furni-state-to/WiredActionSetFurniStateToView.tsx index 2511481a..668d1fa9 100644 --- a/src/views/wired/views/actions/set-furni-state-to/WiredActionSetFurniStateToView.tsx +++ b/src/views/wired/views/actions/set-furni-state-to/WiredActionSetFurniStateToView.tsx @@ -24,7 +24,7 @@ export const WiredActionSetFurniStateToView: FC<{}> = props => }, [ directionFlag, positionFlag, setIntParams, stateFlag ]); return ( - +
setStateFlag(e.target.checked ? 1 : 0)} />