Paradise icon indicating copy to clipboard operation
Paradise copied to clipboard

Slightly refactors storage item insertion

Open chuga-git opened this issue 11 months ago • 0 comments

What Does This PR Do

This should reduce the amount of view calls made during storage insertion. It also adds the trait TRAIT_SILENT_INSERTION that can be attached to items to make their insertion into bags silent. This has been added to the ebow in place of the hard is_type check that previously existed.

Why It's Good For The Game

Performance gains are good and jank code is bad.

Testing

Backpacks, duffels, plant bags (and related), and mod storage have no issues.

chuga-git avatar Mar 04 '24 16:03 chuga-git