Khaligufzel / Dimensionfall

A survival game inspired by Cataclysm: Dark Days Ahead and Bright Nights.
MIT License
12 stars 5 forks source link

Crafting menu craft action does not respect inventory volume #202

Closed snipercup closed 3 months ago

snipercup commented 3 months ago

When crafting an item, it will always be added to the inventory, even if volume is at max capacity.

Steps to reproduce:

We need to modify these lines: https://github.com/Khaligufzel/CataX/blob/0f31ed68c6a2e2c955c1786d1a9e66aa5a37db95/Scripts/item_manager.gd#L303-L314

So that we check if it fits before crafting.