This is about @Yanfly Attached Augment plugin.
I have a system where players can trade-in certain pieces of equipment for other pieces, but if the piece traded in has augments attached, those augments are also gone forever. Ideally I would want the game to automatically detach all the Augments and place them back into the inventory, but if that doesn't work, to at least setup a conditional check where the game will tell the player to remove all augments on the piece they want to trade in if the game detects any augment attached to the piece in question.
So I'm wondering how to go about either of these two methods with scripts.
1. To check if a certain Augment is being equipped and return a value that I can use for conditional processing.
2. To force detach all the Augments that the player has put onto their equipment.
Thanks for the help!
I have a system where players can trade-in certain pieces of equipment for other pieces, but if the piece traded in has augments attached, those augments are also gone forever. Ideally I would want the game to automatically detach all the Augments and place them back into the inventory, but if that doesn't work, to at least setup a conditional check where the game will tell the player to remove all augments on the piece they want to trade in if the game detects any augment attached to the piece in question.
So I'm wondering how to go about either of these two methods with scripts.
1. To check if a certain Augment is being equipped and return a value that I can use for conditional processing.
2. To force detach all the Augments that the player has put onto their equipment.
Thanks for the help!