if ( !IS_NPC( ch ) )
{
if ( IS_IMMORTAL( ch ) && IS_SET( ch->pcdata->flags, PCFLAG_BUILDWALK ) )
{
do_build_walk( ch, "north" );
return;
}
if ( !IS_SET( ch->pcdata->flags, PCFLAG_BUILDWALK ) )
{
move_char( ch, get_exit( ch->in_room, DIR_NORTH ), 0 );
return;
}
}
if ( IS_NPC( ch ) )
{
move_char( ch, get_exit( ch->in_room, DIR_NORTH ), 0 );
return;
}
void do_north ( CHAR_DATA * ch, char *argument )
{
if ( IS_IMMORTAL( ch ) && IS_SET( ch->pcdata->flags, PCFLAG_BUILDWALK ) )
{
do_build_walk( ch, "north" );
return;
}
else
{
move_char ( ch, get_exit ( ch->in_room, DIR_NORTH ), 0, DIR_NORTH );
return;
}
}
probably benefit any diku type mud.
http://6dragons.org/oasisolcaddon.txt
Vladaar
http://6dragons.org