Create your own Interactive Fiction

ADRIFT - Interactive Fiction  
Home   |   News ADRIFT News RSS   |   Screenshots   |   Download   |   Games ADRIFT Reviews RSS   |   Forum   |   Help   |   Links
Welcome Guest Register | Login
Popular Games
Pete's Punkin Junkinator
Skybreak v. 1.4
Ectocomp 2009
The Sisters
Synonymizer
The Makeshift Magician
Return to Camelot
Escape to New York v1.1
Notebook Demo
Hold Breath
 
Latest Forum Posts
Belated happy birthday saabie!
Object groups?
Happy birthday Denk & Andrew
InsideADRIFT Back Issues
Hi everyone
Happy birthday, David
Good advice from an IF Comp Winner
Hiding direction pointers?
Walk-throughs
Formatting Text & Graphics Displays
 
Latest Reviews
DRAM 321 Final
Goldilocks is a FOX!
Xanix - Xixon Resurgence
Finn's Big Adventure
Bug Hunt On Menelaus
Magor Investigates...
Classic Adventure
Private Eye
Roozden's Color Code Module
Wumpus Hunt

Make a donation

Cursor  Restrict "Character Must Be Wearing (Object Group)"

Issue Type: Status: Priority: Date Submitted: Votes:
Enhancement Open High Fri 21st Oct 2011 2 votes Vote Up Vote Down
 
Found in version: Last Updated: Completed in version: Date Completed: Track Changes:
5.0.21 Fri 21st Oct 2011 Log In
 
Fri 21st Oct 2011 07:54
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.
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster