Login
Remember
IF Answers
Ask a Question

# How do I force Inform's listing to separate out identical items?

0 votes
92 views
asked Apr 19 in Authoring by anonymous

I have a stock of non-descript items of a kind which are given attributes on set-up to differentiate them. They have specific names via a "printing the name of" rule. But when I try to list of the items, I get "You can see two foo here" -- because Inform thinks they are nondescript items.

So how do I force Inform to not group them together?

- inform7
- programming
- objects

## 1 Answer

0 votes
answered Apr 19 by anonymous

Seems the answer is to hook up the parsing side of things. I added one line:

    Understand the label property as describing the item.

and the lists are now separated out (and I can also refer to items too.)

## Related questions

- How do I move an item I have more of in the world (since it's a kind of thing)?
- How can I prevent appending (open), (closed) etc. to an object in Inform 7?
- Copying the location of a thing to a variable when it's in something other than a room.
- How do I choose random things with custom values? (Inform 7)
- How do I debug in Inform 7?

...