Just wondering if there's a way to script a simple trash barrel which will allow cursed items to be put in and destroyed. Was hoping it could be controlled more with tags of items so certain items that are marked cursed can be destroyed if a player wishes.
Trash Barrel (Cursed Items)
#1
Posté 18 juin 2015 - 10:50
#2
Posté 18 juin 2015 - 01:34
Cursed items are unable to leave the inventory period. So a trash barrel really isn't going to work far as I can tell.
However you could probably create a widget in the player inventory that can be used to destroy items in their own inventory. For a PW it would need some restrictions to prevent people from destroying other widgets or important system items in player inventory, but its certainly viable.
#3
Posté 18 juin 2015 - 02:48
Since you mention controlling it with tags, yes. You can have a list of tags that a usable trash barrel can check on use, and destroy any items on that list found in the player's inventory. The barrel should just be a usable placeable in that case, not one with an inventory that you'd actually put the items into. Instead it would fire a script on use that would either do the check/delete automatically, or fire a conversation that would do so.
#4
Posté 18 juin 2015 - 09:21





Retour en haut






