I've created a mod which lets you use regular tools (shovels, etc.) as weapons. This required creating custom weapons with the graphic assets of the tools, so really they're totally different items in the game. I'd like a player to just be able to pick up any old shovel they find lying around and use it, but I wonder what the best way to do it is.
I've been using "Search & Replace" globally (i.e. all the "Selection only" etc. boxes unchecked), replacing all instances of the default item with my custom one. This seems to work just fine from my playtesting, but a couple of people are reporting problems - I'm not sure whether they're conflicts with other mods or what. It wouldn't surprise me if this was a problematic way to do what I want, but I'm not sure. Opinions?
Is there a better way to replace default items? Would a script that swaps the items when a player picks them up be possible? (I'm looking around and don't see an obvious "on player receive item" event. ObjectReference has OnActivate and OnItemAdded (relating to containers - is the player inventory a container of some sort?)).
