Khaligufzel / Dimensionfall

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

Fix equipment not saving and loading #262

Closed snipercup closed 4 months ago

snipercup commented 4 months ago

Requires #260 Fixes #261

Fixes two problems:

  1. The equipment wasn't saved at all
  2. When loading, the equipment was overwritten by the starting items

I shuffled around some signals and now the player equipment is updated perfectly. I updated the starting equipment to this: image

This removes all weapons, so the player will need to craft or find one. We can return weapons to the player when we create a character generator or scenario. The equipment does nothing at the moment, since we don't have armor implemented. At least the player is dressed.