Character proper name
The "Proper Name" is the name of a character, such as "Christine" or "Mr Smith" for a person, or "Polly" for a parrot.
The proper name of the character is one five properties shown on the description page of charcters, where it is labeled "Proper name:".
The contents of this text box is displayed whenever the player uses the Look command in a location that contains this character, they enter that location, or they examine an object that the character is inside of or on top of.
- NOTE: The proper name is only shown if the "Is this character known to the player" property for that character is currently seleced. If it is not then the character description (The Article, Adjective and Noun fields) will be displayed instead.
- If the character has their "What to show when character is at the location" property selected, then the contents of that text box will always be displayed instead of their proper name or description.
In the following example the Lounge Room contains two characters with the proper names "Marcia" and "Jan". They are listed after the description of the location and the list of dynamic objects at that location.
The %character%.Name function will return the contents of this property.
When the player enters a command that includes the name in a character's "Proper Name", then ADRIFT will assume that they are trying to do something with that character and will therefore use it as the %character% reference when trying to match the command with a general task.
BUT it will only do so for characters that have the "Is this character known to the player" property set
|If the proper name contains more than one word, such as "Jan Jamison" or "Mr Smith", then ADRIFT will require the player to enter this name in full whenever they refer to this character. To allow them to shorten the name to just "Jan" or "Smith" you will need to add every possible alternative to the Noun field. The Noun field allows you to enter multiple lines by pressing ENTER after each one. The down-arrow button at the right-hand end lets you see the full list. If the proper name of the character is "Mr John Smith" then you should enter every likely combination that the player may enter, such as "John", "Smith", "John Smith" and "Mr Smith" on separate lines of the Noun field.|
This property is defined in the "Properties" folder of The Standard Library:
- Property of: Characters - It is only available on the property page of Characters.
- Type: Text - This property will contain text.
- Because this property is shown on the description page, not the properties page, the "Mandatory" tick-box and the "This property will only appear if the following are true" section, will have no effect.