event for on_crafting_started/pre_item_consumed
Posted: Thu Jan 11, 2018 9:51 pm
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.
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.