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
InsideADRIFT #41
All Through the Night
Three Monkeys One Cage
Skybreak v. 1.4
Trick or Treat
The Fortress of Fear
Bug Hunt On Menelaus
Museum Heist
The Day Program
 
Latest Forum Posts
Getting Adrift 4 to ignore "and"
Happy birthday, Rotter
Short story contest for the forum?
CYS New Year's Prompt contest
Text Adventure Literacy Jam 2026
Constellaris Court
Merry Christmas!
Happy birthday reelyor
New Game Uploaded: THINGS THAT GO BUMP IN THE NIGHT
Dominion of Darkness - interactive story of the Dark Lord/Lady
 
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