Plus -> + for specs

This commit is contained in:
Mashy 2019-10-23 09:06:49 +10:00
parent 8ac1b964b8
commit 9590f1668d
3 changed files with 5 additions and 7 deletions

View File

@ -3,25 +3,20 @@
*PRODUCTION*
* give the vbox and inventory distinct delineation
* vbox phase skill list navigator (overlay maybe?)
* can't reset password without knowing password =\
* mobile styles
* mobile info page
* fix info page for tablet layout
* can't reset password without knowing password =\
* Invert recharge
* Convert spec 'Plus' -> '+' when it appears as combo text in combiner and in info text
## SOON
* equip from shop (buy and equip without putting in your inventory) for bases
* move item from one construct to another
* bot game grind
* ACP
* essential
* audio
@ -61,6 +56,7 @@
## LATER
* constants
* bot game grind
$$$
* Items

View File

@ -152,10 +152,11 @@ function InfoComponent(args) {
: false;
const itemRegEx = /(Red|Blue|Green)/;
const itemSourceDescription = reactStringReplace(itemSourceInfo, itemRegEx, match => shapes[match]());
const infoText = info.replace('Plus', '+');
return (
<div class="info-spec">
<h2>{info} - {fullInfo.cost}b</h2>
<h2>{infoText} - {fullInfo.cost}b</h2>
<h3>SPEC</h3>
{itemSourceDescription}
<div>{infoDescription}</div>

View File

@ -370,6 +370,7 @@ function Vbox(args) {
return true;
}));
comboItem = comboItemObj ? comboItemObj.item : 'refine';
comboItem = comboItem.replace('Plus', '+');
text = `Combine - ${comboItem}`;
}