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

View File

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

View File

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