borrow.c
gurba-0.40/lib/cmds/player/borrow.c · 309 B
From the archive gurba.tgz
Download the archive « Back to the archive contents
void main( string str ) {
if( str == "" ) {
this_player()->write( "Borrow what?" );
return;
}
if( this_environment()->is_storage() == 0 ) {
this_player()->write( "Perhaps you should try borrowing your item from a storage?" );
return;
}
this_environment()->borrow_object( str );
}