Hi guys, I’ve been trying to figure out how to get this pease of code to
show the city name followed by the name of the room. something like this.
I’m in a city called orange city. but I step into another room and it’s
called general store and I’d like to get it to show orange city/general
store.
so they’ll know they’re still in orrange city. can you tell me how do I do
this? I’m using the liverpool core as a base I’m still trying to use all these
utils and stuff. but here’s the code I’d like to modify.
player:tell($ansi_utils:center(this:title(), abs(player.linelen)));
player:tell($su:center($su:space($ansi_utils:length(this:title()),
"-"),
(player.linelen)));
if (!(args && args[1]))
desc = this:description();
if (desc)
player:tell_lines(desc);
else
player:tell("You see a formless area of space... weird! :)");
endif
endif
"objects in desc";
if (player:light_level())
player:tell("-----");
if (this:tell_contents())
player:tell("-----");
endif
this:tell_exits();
player:tell("-----");
else
player:tell();
endif
I hope someone can help.
Thanks,, Rishi.