Removing text

I was wondering if there was a way to remove text out of the game like when you create a removable object and instead of the object name simply being removed from the objects bar and losing its link color it would also remove said object from the text.


There is no built in facility to do it.

It is probably doable, using JavaScript and HTML span elements, but would not be easy...


Hmm, I wonder if there could be some kind of attribute given to the object as to "Visible" or not, and then written in text you could have {object.visible = True: There's an {object:thing} on the floor.}


you can define an output section with StartNewOutputSection and EndOutputSection which can be hidden with HideOutputSection

outputsection = StartNewOutputSection()
msg ("This will be deleted)
EndOutputSection (outputsection)
HideOutputSection(outputsection)

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums