thepeacockproject / Peacock

The Peacock Project is a HITMAN™ World of Assassination trilogy server replacement.
https://thepeacockproject.org
GNU Affero General Public License v3.0
367 stars 57 forks source link

Update ItemSize properties in allunlockables.json #445

Closed solderq35 closed 5 months ago

solderq35 commented 5 months ago

Describe the bug

To reproduce Check the commit link above.

Additional context Currently, the logic for how itemSize plays a role in hidden stash / agency pickup menus can be seen here: https://github.com/thepeacockproject/Peacock/blob/master/components/menus/stashpoints.ts#L74

If itemSize is not defined, it just checks for loadout properties > carriedWeapon, which should work fine for most of the newly added items, although it could be good to check the golden sawed-off shotgun in particular.