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

Mareus
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
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
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 :)

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

Support

Forums