Khaligufzel / Dimensionfall

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

Allow placing itemgroups on the ground in maps #239

Closed snipercup closed 2 months ago

snipercup commented 2 months ago

Requires #238

Besides adding itemgroups to furniture on the map, you can now also place the itemgroups on the ground. The idea is the same as in CDDA, you walk around in a field and find a stone here and there.

A minor issue that's still there is when you have the container open in the inventory menu and remove an item from the container and it's sprite updates, the inventorywindow doesn't reflect that change in the container selection column.

Right now the itemgroups on the map have a fixed location. So each time the map spawns, it will be in exactly the same place. In the future we might come up with a way to have it spawn somewhere random.