Bug where links stop working
Gizmodeus
14 Jul 2018, 02:38I have the following call in my game, which works as intended, although the <br> statements are ignored.
TextFX_Typewriter ("Unknown energy signature detected.<br>Incoming weapons fire detected.<br>Damage to aft hull detected. Initiating defensive counter measures. <br>Hull breach detected on Mess Deck. Innervating Chief Engineer Dawson.<br>Power surge detected. Chief Engineer Dawson life signs failing. Innervating Crewman Shepherd.<br>Explosive discharge detected aboard hostile vessel. <br>Power surge detected in plasma reactor. Fire detected in engine room. Unable to continue defensive countermeasures.", 25)
The problem is that after this has executed, I call ShowRoomDescription and none of the shown links (objects in the room) work anymore. Clicking on them does not bring up the associated verb list. However, it is possible to leave the room by clicking on a direction link also in the output. Going right back into the room fixes the issue, which is to say all links work normally again.
Does anyone know what might be going on?
Gizmodeus
14 Jul 2018, 11:20It occurs to me that some more context would be helpful. Here is the function that includes the typewriter call:
ClearScreen
msg ("You skim through years of automated log entries detailing normal ship functions and minor glitches. Eventually, you
discover today's log entry.")
TextFX_Typewriter ("Unknown energy signature detected.<br>Incoming weapons fire detected.<br>Damage to aft hull detected. Initiating defensive counter measures. <br>Hull breach detected on Mess Deck. Innervating Chief Engineer Dawson.<br>Power surge detected. Chief Engineer Dawson life signs failing. Innervating Crewman Shepherd.<br>Explosive discharge detected aboard hostile vessel. <br>Power surge detected in plasma reactor. Fire detected in engine room. Unable to continue defensive countermeasures.", 25)
EnableTimer (logTimer)
And here is the timer code:
firsttime {
IncreaseScore (1)
}
DisableTimer (logTimer)
msg (" <br/>")
ShowRoomDescription