Hello Everyone!
I haven’t posted here (or really worked on any code or projects) for years, so I’m extremely rusty. I was hoping someone could help me figure out why the Report rule in the following code isn’t being triggered.
The Workspace is a room.
Spencer is a man in the Workspace. The player is Spencer.
In the Workspace is a woman called Kelsey.
The zombie is a person in the Workspace.
A ball is in the Workspace.
To adopt is a verb.
Changing perspective to is an action applying to one thing.
Understand "perspective/viewpoint/view/mindset/perspectives/viewpoints/views/mindsets" as "[perspective]".
Understand "change your/my/the/-- [perspective] to/with/-- [something]" as changing perspective.
Understand "adopt the/-- [perspective] of/to/-- [something]" as changing perspective.
Check changing perspective to something which is not a person (this is the block changing perspectives to nonpeople rule):
say "[We] [see] no reason to assume the perspective of [the noun]." (A) instead.
Check changing perspective to something when the noun is the player (this is the can't change perspective to yourself rule):
say "[We] [can see] things from [possessive] perspective without changing anything." (A) instead.
Carry out changing perspective to a person (this is the standard carry out changing perspective rule):
now the player is the noun.
Report changing perspective to something (this is the standard report changing perspective rule):
say "[We] [adopt] the perspective of [the noun]." (A).
The carry out rule works because the PC does change, but no text from the report rule is printed, as shown in the output:
Workspace
You can see Kelsey, a zombie, and a ball here.
>showme self
yourself - man
location: in the Workspace
singular-named, proper-named; unlit, inedible, portable; male
list grouping key: none
printed name: "Spencer"
printed plural name: "men"
indefinite article: none
description: "As good-looking as ever."
initial appearance: none
carrying capacity: 100
>change view to zombie
>showme self
yourself - person
location: in the Workspace
singular-named, proper-named; unlit, inedible, portable; male
list grouping key: none
printed name: "zombie"
printed plural name: "people"
indefinite article: none
description: none
initial appearance: none
carrying capacity: 100
I’m sure that I’m just overlooking something simple, but I just can’t figure it out. Any help would be appreciated!