by Bainespal » Wed Jan 11, 2012 1:51 pm
I've had a long standing problem with the standard Library short description for NPCs ("Whoever is here."). That message is being indented twice, standing out starkly against the single-indented long_desc of the room and short_descs of objects. This problem showed up in my other unfinished Hugo game, and right now it's the only thing I would ideally like to correct in World Builder before sending Release 2 to the IFDB/IF Archive. However, I'll still release the new version even if I can't fix this aesthetic bug.
Here is an example of the problem:
Code: Select all
Your workshop
Automatons scurry to and fro in the complex of interconnected machinery, which churns and whirls across the vast convex surface of the Sphere.
Hugor is here.
As you can see, "Automatons" at the beginning of the room description is indented two spaces, but "Hugor" is indented four spaces. The same problem happens with the other NPC in World Builder.
The short_desc properties of both NPCs contain a routine that returns a string if a condition is met, or else returns "false" to produce the standard Library message. That code seems to work well, except for this problem.
I've had a long standing problem with the standard Library short description for NPCs ("Whoever is here."). That message is being indented twice, standing out starkly against the single-indented long_desc of the room and short_descs of objects. This problem showed up in my other unfinished Hugo game, and right now it's the only thing I would ideally like to correct in World Builder before sending Release 2 to the IFDB/IF Archive. However, I'll still release the new version even if I can't fix this aesthetic bug.
Here is an example of the problem:
[code]Your workshop
Automatons scurry to and fro in the complex of interconnected machinery, which churns and whirls across the vast convex surface of the Sphere.
Hugor is here.[/code]
As you can see, "Automatons" at the beginning of the room description is indented two spaces, but "Hugor" is indented four spaces. The same problem happens with the other NPC in World Builder.
The short_desc properties of both NPCs contain a routine that returns a string if a condition is met, or else returns "false" to produce the standard Library message. That code seems to work well, except for this problem.