curiousdannii-testing / inform7-imported-bugs

0 stars 0 forks source link

[I7-2053] [Mantis 2090] Listing group size with duplicates #31

Open curiousdannii-testing opened 2 years ago

curiousdannii-testing commented 2 years ago

Reported by : zeborah

Description :

When I create a number of things as duplicates (eg 6 books and 3 DVDs), and group things together before listing contents, the listing group size is calculated as the number of kinds (2 items) rather than the actual number of things (9 items) as expected.

Steps to reproduce :

The Library is a room.

A book is a kind of thing. A DVD is a kind of thing.

In the Library are 6 books and 3 DVDs.

Before listing contents:
   group things together.

Rule for grouping together things:
   say "[listing group size in words] items".

Additional information :

Possibly this behaviour is intentional or even required for back-end purposes. If so, the documentation should be clarified and a workaround provided for those who need the number of actual in-world objects. The forum thread at https://intfiction.org/forum/viewtopic.php?f=7&t=27511 suggests a solution for things, and something similar could be done for people (to ensure the player isn't counted among them), but a generalised solution would be helpful.

If the behaviour isn't intentional/required it would be great to fix it so it behaves more intuitively.

imported from: [Mantis 2090] Listing group size with duplicates
  • status: Reported
  • resolution: Open
  • resolved: 2022-04-07T05:02:47+10:00
  • imported: 2022/01/10