|View Issue Details [ Jump to Notes ] ||[ Issue History ] [ Print ] |
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000459||Core Inform||Properties||public||2010-12-08 09:10||2014-05-07 07:33|
|Assigned To||graham|| |
|Product Version||6F95|| |
|Target Version||Fixed in Version||6L02|| |
|Summary||0000459: Printed name property does not always match|
|Description||If you don't explicitly set the printed name of an object, I7 gives it a default printed name from its source-name. This is also true of anonymously-created objects (named for the kind). |
However, these default names are distinct I6 strings. They don't go into the SC_* constant list, and therefore they fail I7 matching tests.
|Minimal Source Text To Reproduce|
The Kitchen is a room.
The stone is a thing in the Kitchen. The printed name is "stone".
The rock is a thing in the Kitchen.
An animal is in every room.
When play begins:
say "[stone]: ";
if the printed name of the stone is "stone":
say "[rock]: ";
if the printed name of the rock is "rock":
let P be a random animal in the Kitchen;
say "[P]: ";
if the printed name of P is "animal":
|Tags||No tags attached.|
|Effect||(serious/mild) Game compiles but misbehaves|