store.c
gurba-0.40/lib/cmds/player/store.c · 382 B
From the archive gurba.tgz
Download the archive « Back to the archive contents
void main( string str ) {
object ob;
ob = this_player()->find_object( str );
if( ob == 0 ) {
write( "You can't seem to find the " + lowercase( str ) + "." );
return;
}
if( this_environment()->is_storage() == 0 ) {
this_player()->write( "Perhaps you should try storing your item in a storage?" );
return;
}
this_environment()->store_object( ob );
}