How to call function for "You can go" description?

Mareus
05 Jun 2014, 22:23
Hey guys!

Does anyone know what call function for getting the description for the "You can go" part of the text? I know of ShowRoomDescrption and that function restarts my whole room description. I want to restart just the part that says: You can go south. Is there a call function for that?

jaynabonne
05 Jun 2014, 22:28
Something like:

exitdescription = FormatExitList(game.pov.parent.exitslistprefix, GetExitsList(), Template("Or"), ".")
msg(exitdescription)

That is pulled more or less from ShowRoomDescription.

[Note that I didn't test this. (It's time for bed :) ) If it doesn't work, I'll make it work next time I'm here.]

Mareus
05 Jun 2014, 22:34
jaynabonne wrote:Something like:

exitdescription = FormatExitList(game.pov.parent.exitslistprefix, GetExitsList(), Template("Or"), ".")
msg(exitdescription)

That is pulled more or less from ShowRoomDescription.

[Note that I didn't test this. (It's time for bed :) ) If it doesn't work, I'll make it work next time I'm here.]


I don't know how you do it man, but you did it. :) I was even unsure where to put the code, but I somehow figured it out. Thanks :)