It would be nice to be able to have restrictions that take an Object input also accept a Group as input, and then Runs the restriction against all objects in that group.
For instances, if I have a object group called "Hats" which contains about 12 different wearable hat objects I’ve made: Fedora, Baseball Cap, Top Hat, Wizards Hat, etc.
I want to be able to have a restriction that is basically "Character MUST be wearing OBJECT IN GROUP[Hats]"
So basically it would check to see if any of the items the player or specified character is currently are in the Hat Group.
This can be used for things other than wearing, and more more than just objects. For instance, "Character MUST NOT be holding OBJECT IN GROUP[Valuables]"
Or "Character MUST NOT be in same loc as CHARACTER IN GROUP[Enemies]"
Ideally this could also be expanded to work with Properties, such as "Character MUST NOT be holding OBJECT WITH PROPERTY[Stolen]"
Currently I can replicate the results by adding a restriction for every object, but this gets tedious and difficult if I am dealing with a large amount of objects, or multiple tasks that use similar restrictions. Plus, any time I add a new hat to the game, I have to go through every task and add a new restriction. |