[status='solved'] Disable/enable recipe in game session
Posted: Wed Jun 17, 2015 10:45 pm
Hello,
I am trying to write a mod where the player can craft a special item only once.
Therefore, I was thinking to leave the recipe enabled and disable it once the player crafted the item.
I could not find a way to disable the recipe while in a game session (data.raw won't work).
Is there any other way or do I have to intercept the crafting and 'reimburse' the ingredients (wasting the crafting time) to the player?
I am trying to write a mod where the player can craft a special item only once.
Therefore, I was thinking to leave the recipe enabled and disable it once the player crafted the item.
I could not find a way to disable the recipe while in a game session (data.raw won't work).
Is there any other way or do I have to intercept the crafting and 'reimburse' the ingredients (wasting the crafting time) to the player?