Yep, here’s how it works, incorporating some things I learned later in that thread.
An object gets:
- 1000, 2000, 3000, or 4000 points for the outcome of the “does the player mean” rules (or more generally the
ChooseObjects
routine) - 500 points for being “good”, which is never actually used anywhere
- 100 points for not having the I6
concealed
flag, which is only ever used for the player character by default, but can be set by making a thing “undescribed” - 60 points for being in the best location (usually held)
- 40 points for being in the next-best location (usually the player’s location)
- 20 points for not being a direction
- 10 points for not being scenery
- 5 points for not being the actor
- 1 point for matching the gender, number, and animacy restrictions of a word in the input (this matters for e.g. German where the gender of the article should be taken into account)