INK.C
LIB3/STD/LIQUIDS/INK.C · 423 B
From the archive nm4dos.zip
Download the archive « Back to the archive contents
/*
* Ink defintion file...
*/
int splash_func( object ob )
{
ob->add_extra_look( this_object() );
ob->add_property( "splashed with", previous_object()->query_liquid_name() );
return 1;
}
int query_ink()
{
return 1;
}
string extra_look()
{
return capitalize( (string)previous_object()->query_name() ) +
" has been splashed with " +
previous_object()->query_property( "splashed with" );
}