Temporarily disabled buy and sell buttons
This commit is contained in:
@@ -11,5 +11,8 @@
|
|||||||
"Gambeson": { "cost": 100, "combatBoost": 0.03, "scientistsRequired": 3, "purchasable": true },
|
"Gambeson": { "cost": 100, "combatBoost": 0.03, "scientistsRequired": 3, "purchasable": true },
|
||||||
"Chainmail": { "cost": 150, "combatBoost": 0.04, "scientistsRequired": 4, "purchasable": true },
|
"Chainmail": { "cost": 150, "combatBoost": 0.04, "scientistsRequired": 4, "purchasable": true },
|
||||||
"Platemail": { "cost": 200, "combatBoost": 0.05, "scientistsRequired": 5, "purchasable": true }
|
"Platemail": { "cost": 200, "combatBoost": 0.05, "scientistsRequired": 5, "purchasable": true }
|
||||||
|
},
|
||||||
|
"Consumables": {
|
||||||
|
"Potion": { "cost": 100, "combatBoost": 0.04, "scientistsRequired": 1, "purchasable": true }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -46,8 +46,8 @@ class Equipment extends React.Component {
|
|||||||
<p className='col centered'>{display[key].type}</p>
|
<p className='col centered'>{display[key].type}</p>
|
||||||
<p className='col centered'>{display[key].owned}</p>
|
<p className='col centered'>{display[key].owned}</p>
|
||||||
<p className='col centered'>{display[key].cost}</p>
|
<p className='col centered'>{display[key].cost}</p>
|
||||||
<button className='col centered' disabled={display[key].cost > this.props.gold}>+ Buy +</button>
|
<button className='col centered' disabled={true || display[key].cost > this.props.gold}>+ Buy +</button>
|
||||||
<button className='col centered' disabled={display[key].owned === 0}>- Sell -</button>
|
<button className='col centered' disabled={true || display[key].owned === 0}>- Sell -</button>
|
||||||
</div>)}
|
</div>)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user