bomb.c

dw_fluffos_v1/lib/secure/items/bomb.c · 536 B

From the archive dw_fluffos_v1.tar.gz

Download the archive   « Back to the archive contents

inherit "/std/object";

void setup() {
  set_name( "bomb" );
  set_short( "bomb of departure" );
  set_long( "This is a handy creator object to get rid of annoying swine.\n" );
  set_main_plural( "bombs" );
  reset_drop();
} /* setup() */

void reset() {
  call_out( "detonate", 2 );
} /* reset() */

void detonate() {
  environment( this_object() )->quit();
  call_out( "detonate", 15 );
} /* detonate() */

void init_dynamic_arg( mapping args ) {
  ::init_dynamic_arg( args );
  call_out( "detonate", 15 );
} /* init_dynamic_arg() */

Site Stats

Snippets: 1791
Codebases: 571