|View Issue Details [ Jump to Notes ] ||[ Issue History ] [ Print ] |
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002062||Core Inform||Kinds and type checking||public||2018-07-04 08:22||2018-07-04 08:31|
|Assigned To|| |
|Priority||normal||Severity||mild||Reproducibility||have not tried|
|Product Version||6M62|| |
|Target Version||Fixed in Version|| |
|Summary||0002062: "best route" and "number of moves" don't work on things|
|Description||The documentation and phrase specs for these phrases are defined for "objects", but the implementation only works on rooms. If you try to use them on things, you get nonsensical results.|
The phrases should either be limited to rooms, or the top-level call (MapRouteTo) should do a "location of..." canonicalization on non-room arguments.
|Minimal Source Text To Reproduce|
The Kitchen is a room.
The Dining Room is east of the Kitchen.
The Bathroom is south of the Dining Room.
The tub is in the Bathroom.
showme the number of moves from the player to the tub;
showme the best route from the player to the tub.
|Tags||No tags attached.|
|Effect||(serious/mild) Game compiles but misbehaves|