tutorial text fix

This commit is contained in:
Mashy 2019-11-20 18:47:22 +10:00
parent 19072926e6
commit b6553d89c4

View File

@ -4,7 +4,7 @@ const actions = require('./actions');
function tutorialConstructDisplay(player, instance, tutorial, i) { function tutorialConstructDisplay(player, instance, tutorial, i) {
if (instance.time_control === 'Practice' && instance.rounds.length === 1 && tutorial && tutorial < 6) { if (instance.time_control === 'Practice' && instance.rounds.length === 1 && tutorial && tutorial < 6) {
if (tutorial <= 2 || (tutorial > 2 && i > 0)) { if (tutorial <= 2 || (tutorial > 2 && i > 0)) {
const classes = `instance-construct`; const classes = 'instance-construct';
return (<div key={player.constructs[i].id} class={classes}></div>); return (<div key={player.constructs[i].id} class={classes}></div>);
} }
} }
@ -112,9 +112,8 @@ function tutorialStage(tutorial, ws, clearTutorial, instance) {
<div class='info-item'> <div class='info-item'>
<h2>Tutorial</h2> <h2>Tutorial</h2>
<p> Welcome to the vbox phase tutorial.</p> <p> Welcome to the vbox phase tutorial.</p>
<p> Colours are used to create powerful combinations. </p> <p> Colours are used to create powerful combinations with base items. </p>
<p> Buy two colours from the vbox by double clicking. <br /> <p> Buy the two colours from the vbox to continue. </p>
You can also click the colour once and then click the inventory. </p>
</div> </div>
); );
} }
@ -151,8 +150,7 @@ function tutorialStage(tutorial, ws, clearTutorial, instance) {
<h2>Tutorial</h2> <h2>Tutorial</h2>
<p> You can also buy specialisation items for your constructs. <br /> <p> You can also buy specialisation items for your constructs. <br />
Specialisation items increase stats including power, speed and life. </p> Specialisation items increase stats including power, speed and life. </p>
<p> Buy the specialisation item from the vbox by double clicking. <br /> <p> Buy the specialisation item from the vbox to continue. </p>
You can also click the specialisation once and then click the inventory. </p>
</div> </div>
); );
} }