General improvements

I forgot what I actually changed. It may not even be playable, I just want to get this up there.
This commit is contained in:
Asraelite 2023-03-31 11:43:56 +02:00
parent 8a0bf0ada9
commit c73130e3ff
25 changed files with 584 additions and 274 deletions

View file

@ -187,7 +187,7 @@ export function collectItem(type, id, name) {
notify('Collected fuel: +10');
return true;
} else {
if (inventory.usedSpace > inventory.capacity) {
if (inventory.usedSpace >= inventory.capacity) {
notify('No space left in inventory', 60);
return false;
}