For Aerlindir @ i3.
#include <lib.h>
inherit LIB_ROOM;
// This function is manually added. If you changed the name of orcish language, type it instead of Tangetto.
string TextInOrcish() {
return translate("Your text here.",
this_player() ? this_player()->GetLanguageLevel("Tangetto") : 100);
}
static void create() {
room::create();
SetClimate("indoors");
SetAmbientLight(30);
SetShort("copy of sample_room.c");
SetLong("This is a room you can use as a template.");
SetItems(([
//added by 'modify here items', 'wall', 'walls', '.', text
({ "wall", "walls" }) : "There's something written on the south wall.",
//added by 'modify here items', 'south wall', '.', text
({ "south wall" }) : "There's an inscription on it.",
]));
SetRead(([
//added by 'modify here read', 'south wall', '.', text, manually replaced text with (: functional :)
({ "south wall" }) : (: TextInOrcish :),
]));
SetExits( ([
"north" : "/realms/raudhrskal/area/room/sample_room",
"east" : "/realms/raudhrskal/area/room/other_room.c",
]) );
SetInventory(([
]));
}
void init(){
::init();
}
Works for me.
'Skal