Invisible found_in object
Posted: Tue Jan 10, 2012 11:15 am
I'm counting on the short_desc property of a found_in object to display vital text in the room description of the two rooms in which it appears. Unfortunately, the short description isn't printed at all. The object is neither scenery nor hidden, unless Hugo treats found_in objects as if they were hidden even though I didn't give it that attribute. I'm going to try to make it work by calling the found_in object's short_desc from the two long_desc properties of the two rooms, but am I missing something more obvious?
I thought found_in objects were moved each turn into the location of the player object, when the player object is in one of the rooms in the found_in property, thus allowing them to affect the room description like any other object. However, the footnote on page 44 of the Hugo Book seems to prove me wrong:
(Note -- this is for World Builder. An object representing part of the star cruiser's interior should be displayed in both the "Space" and "In Orbit" room descriptions.)
I thought found_in objects were moved each turn into the location of the player object, when the player object is in one of the rooms in the found_in property, thus allowing them to affect the room description like any other object. However, the footnote on page 44 of the Hugo Book seems to prove me wrong:
I must have been remembering Inform when I assumed that the Library moved found_in objects to the different rooms as the player entered them.Hugo Book wrote:The found_in property allows you have an object considered in a location (i.e., a room object) without it being “physically” in that room object.
(Note -- this is for World Builder. An object representing part of the star cruiser's interior should be displayed in both the "Space" and "In Orbit" room descriptions.)