When excluding an object from "drop all," the parser decides to throw it at itself. With actions on:
>drop all
(the key at the key) [throwing the key at the key]
Futile. [throwing the key at the key - failed the futile to throw things at inanimate objects rule]
This only applies to "drop." If "all" is excluded from other commands like putting or inserting, you get the expected result ("There are none at all available!").
Steps to reproduce :
The player carries a key.
Rule for deciding whether all includes the key when dropping: it does not.
Test me with "drop all".
A more complete test, showing expected behavior when the player carries at least one other object, and also demonstrating that other "all" exclusions do work properly, only "drop" has this behavior:
Test is a room. A table is a supporter in Test. a bowl is a container in Test.
The player carries a key and a hat.
Rule for deciding whether all includes the key when putting or inserting or dropping: it does not.
Test me with "actions/drop all/drop all/put all on table/put all in bowl".
Reported by : unclesporky
Description :
When excluding an object from "drop all," the parser decides to throw it at itself. With actions on:
>drop all
(the key at the key)
[throwing the key at the key]
Futile.
[throwing the key at the key - failed the futile to throw things at inanimate objects rule]
This only applies to "drop." If "all" is excluded from other commands like putting or inserting, you get the expected result ("There are none at all available!").
Steps to reproduce :
Additional information :
Forum thread:
https://www.intfiction.org/forum/viewtopic.php?f=7&t=26750&sid=c9476a1b93ecf3c1320803fbbde17c58
A more complete test, showing expected behavior when the player carries at least one other object, and also demonstrating that other "all" exclusions do work properly, only "drop" has this behavior:
Test is a room. A table is a supporter in Test. a bowl is a container in Test.
The player carries a key and a hat.
Rule for deciding whether all includes the key when putting or inserting or dropping: it does not.
Test me with "actions/drop all/drop all/put all on table/put all in bowl".
imported from: [Mantis 2079] Object excluded from "drop all" is thrown at itself instead