mnml/client/src/constants.jsx

80 lines
2.8 KiB
JavaScript

const SOURCE_DURATION_MS = 1000;
const TARGET_DELAY_MS = 500;
const TARGET_DURATION_MS = 1500;
const POST_SKILL_DURATION_MS = 1000;
const SOURCE_AND_TARGET_TOTAL_DURATION = TARGET_DELAY_MS + TARGET_DURATION_MS;
module.exports = {
TIMES: {
SOURCE_DURATION_MS,
TARGET_DELAY_MS,
TARGET_DURATION_MS,
POST_SKILL_DURATION_MS,
SOURCE_AND_TARGET_TOTAL_DURATION,
},
COLOURS: {
GREEN: '#1FF01F',
RED: '#a52a2a',
BLUE: '#3498db',
WHITE: '#f5f5f5', // whitesmoke
PURPLE: '#9355b5', // 6lack - that far cover
},
INFO: {
vbox: {
item: 'VBOX',
description: 'Contains ITEMS that are available for you to buy.\nDouble-click to purchase.',
},
inventory: {
item: 'INVENTORY',
description: 'Holds purchased ITEMS.\nClick to add ITEM to I-COMBINATOR.',
},
combiner: {
item: 'I-COMBINATOR',
description: 'Combines purchased ITEMS into more powerful variants. Hover over an ITEM to see recipes.',
},
bits: {
item: 'BITS',
description: 'The VBOX currency.\nColours: 1b\nSkills: 2b\nSpecs: 3b\nWin: +12b\nLose: +9b',
},
ready: {
item: 'READY',
description: 'Ends the VBOX PHASE. If your opponent is also ready the GAME PHASE begins.',
},
lobbyReady: {
item: 'READY',
description: 'Ready for the game to begin. When all players are ready the first VBOX PHASE begins.',
},
reclaim: {
item: 'RECLAIM',
description: 'Reclaim ITEMS for half the purchase cost of their combined ITEMS.\nClick to enable and click ITEM to reclaim.',
},
refine: {
item: 'REFINE',
description: 'Refine ITEMS currently in I-COMBINATOR into more powerful variants',
},
refill: {
item: 'REFILL',
description: 'Refill the VBOX with new ITEMS.\nCosts 5b.',
},
equipSkills: {
item: 'QUICK ACCESS - SKILLS',
description: 'Click to select \nClick target CONSTRUCT to equip',
},
equipSpecs: {
item: 'QUICK ACCESS - SPECS',
description: 'Click to select \nClick target CONSTRUCT to equip',
},
constructSkills: {
item: 'SKILLS',
description: 'Skills are used by Constructs in-game.\nClick a SKILL above and select a CONSTRUCT to equip.\nDouble-click to unequip.',
},
constructSpecs: {
item: 'SPECS',
description: 'SPECS increase the STATS of a CONSTRUCT.\nSPECS have increased effect once they reach a THRESHOLD across your whole team.\nClick a SPEC above and select a CONSTRUCT to equip.\nDouble-click to unequip.',
},
},
};