TEACH.C

LIB3/STD/COMMANDS/TEACH.C · 239 B

From the archive nm4dos.zip

Download the archive   « Back to the archive contents

int     teach( object ob )
{
    if( this_player()->query_skill( SKILL ) < TEACH_LEVEL )
    {
	return -1;
    }
    if( ob->query_skill( SKILL ) < LEARN_LEVEL )
    {
	return -2;
    }
    ob->add_known_command( "palm" );
    return 1;
}

Site Stats

Snippets: 1791
Codebases: 571