blob: 74e2877d127d26b055b7d64e538d986b6f666f2d [file] [log] [blame]
AddCmd( ({ "betritt", "betrete" }), "betritt");
}
string long()
{
string door;
door = haustuer::long();
return QueryProp(P_LONG)+door;
}
static int betritt(string str)
{
notify_fail("Was moechtest Du betreten?\n");
if (!str || !id(str))
return 0;
if (Query(H_DOORSTAT) & D_CLOSED) {
printf("%s von %s ist zu.\n", capitalize(name(WER,1)), capitalize(owner));
return 1;
}