5180 fichiers 38.5 Mo 0 téléchargements 398 vues mis à jour il y a 7 heures ui
nitro-v36-with-renderer-v36 / src / components / wired / views / actions / WiredActionGiveFurniFromChestView.tsx
WiredActionGiveFurniFromChestView.tsx 917 o Télécharger le fichier
import { FC } from 'react';
import { WiredActionChestRewardBaseView } from './WiredActionChestRewardBaseView';

// Official give furni from chest (46): the shared chest reward editor, with the iteration order
// (0 random, 1 oldest first, 2 newest first) as the sixth int; nothing to choose when giving everything.
const ITERATION_TYPE = {
    titleKey: 'wiredfurni.params.chest_iteration_type',
    title: 'What is given:',
    options: [
        { value: 0, key: 'wiredfurni.params.chest_iteration_type.0', label: 'Random' },
        { value: 1, key: 'wiredfurni.params.chest_iteration_type.1', label: 'Oldest item first' },
        { value: 2, key: 'wiredfurni.params.chest_iteration_type.2', label: 'Most recent item first' }
    ],
    defaultValue: 0,
    disabledWhenEverything: true
};

export const WiredActionGiveFurniFromChestView: FC<{}> = () => <WiredActionChestRewardBaseView extra={ITERATION_TYPE} />;
15Sujets
1Dépôts
20Membres
3En ligne
Profile
Inscrit
Dernière visite
Messages
0
Votes positifs
0
Votes négatifs
0

Nous utilisons des cookies pour assurer le bon fonctionnement du site et améliorer votre expérience. en savoir plus

Autoriser