Change money to automatically color grey when something cannot be bought.

This commit is contained in:
Olivier Gagnon
2021-09-04 03:27:31 -04:00
parent 3a943e0e50
commit 6e013e4e6a
37 changed files with 112 additions and 92 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ export function executeDarkwebTerminalCommand(commandArray: string[]): void {
function listAllDarkwebItems(): void {
for(const key in DarkWebItems) {
const item = DarkWebItems[key];
postElement(<>{item.program} - {Money(item.price)} - {item.description}</>);
postElement(<>{item.program} - <Money money={item.price} player={Player} /> - {item.description}</>);
}
}