I have a character who is very possessive, so when objects he owns are mentioned, they should be mentioned as his. This is a first attempt at coding that up in I7:
[code]“Problem with possessives” by osfameron
Section 1 - Mechanism
Ownership relates various things to one person.
The verb to belong to means the ownership relation.
The verb to own means the reversed ownership relation.
Before printing the name of a thing that belongs to the player: say "[our] "
Section 2 - Things
The Office is a room.
The vintage chair is an enterable supporter in the Office.
It belongs to the player.
The player is on the chair.
A badge is here. It belongs to the player.
A gun is here.[/code]
When we start play, we see the pronoun “your” correctly, but also the definite or indefinite article:
I’ve read through the chapter on “Activities” in Writing With Inform, but I’m not figuring out which activity I need to override.
Or if I need to override the whole listing activity instead?
But I don’t think that will add the locale specific text “(on your vintage chair)”.
I’m not quite sure how best to go about finding all the texts that need to be overridden.
Any suggestions welcome!