curiousdannii-testing / inform7-imported-bugs

0 stars 0 forks source link

[I7-2041] [Mantis 2078] Unexpected output: object's animate/inanimate property evaluated before "before doing anything" #43

Open curiousdannii-testing opened 2 years ago

curiousdannii-testing commented 2 years ago

Reported by : unclesporky

Description :

"Before doing anything when x is the noun or x is the second noun" still tests the object's animate/inanimate property first and will provide standard parser messages e.g. "You can only do that to something animate."

Potentially related, "instead of doing anything to x" will still result in both "you can only do that to something animate" (if x is inanimate) and "the x doesn't seem interested" (if x is animate). Using "before/noun/second noun" with "instead" on animate objects does produce expected results.

Steps to reproduce :

Test is a room.

The player carries a pencil.

God is a backdrop which is everywhere.

Before doing anything when god is the noun or god is the second noun:
    Instead say "This message should always appear before doing anything else."

Test me with "give pencil to god".

Additional information :

Forum thread:
https://www.intfiction.org/forum/viewtopic.php?f=7&t=26749&sid=c9476a1b93ecf3c1320803fbbde17c58

A more complete test, showing how personhood impacts before/instead of doing anything:

Test is a room.

The player carries a pencil.

God the father is a backdrop which is everywhere. The holy spirit is a person which is a part of god. The son of god is a person which is a part of god.

Before doing anything when god the father is the noun or god the father is the second noun:
Instead say "This message should always appear before doing anything else."

Instead of doing anything to the son of god, say "This message should always appear before doing anything else."

Before doing anything when the holy spirit is the noun or the holy spirit is the second noun:
Instead say "This message should always appear before doing anything else."

Test me with "actions/give pencil to father/give pencil to son/give pencil to holy spirit".

imported from: [Mantis 2078] Unexpected output: object's animate/inanimate property evaluated before "before doing anything"
  • status: Reported
  • resolution: Open
  • resolved: 2022-04-07T05:02:43+10:00
  • imported: 2022/01/10
curiousdannii-testing commented 2 years ago

557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:

Comment by zarf :
Yes, this is a very old point of confusion. The animate/inanimate test is handled at the grammar level:

Understand "give [something preferably held] to [someone]" as giving it to.

Therefore it rejects before any action rulebooks.

It's worth raising this again, but I suspect it counts as a feature request rather than a bug.