SMAPI - Stardew Modding API

SMAPI - Stardew Modding API

971k Downloads

Add event to intercept item use

Pathoschild opened this issue ยท 2 comments

commented

An event which lets mods intercept item use would be very useful for a lot of mods.

commented

One approach (suggested by Routine on Discord) is to replace inventory objects with a custom instance that lets SMAPI intercept method calls, then swap them back into normal objects before save.

commented

Merged into #310.