event for on_crafting_started/pre_item_consumed

Yehn
Fast Inserter
Fast Inserter
Posts: 111
Joined: Tue Jul 12, 2016 3:45 am
Contact:

event for on_crafting_started/pre_item_consumed

Post by Yehn »

Hi,

I would like to request an event that fires when crafting is started or an item is about to be consumed. I'm trying to make a mod with upgradeable power armor, where the previous tier of armor is consumed as part of the recipe for the next tier.

However, when power armor is used in a recipe, the equipment grid and all equipment in it is simply destroyed. So, I'd like a chance to remove everything from the grid and place it back in the player's inventory before this happens.

Thank you.
Post Reply

Return to “Implemented mod requests”