glow_toadstool.c

dw_fluffos_v1/lib/obj/fungi/glow_toadstool.c · 401 B

From the archive dw_fluffos_v1.tar.gz

Download the archive   « Back to the archive contents

inherit "/obj/fungus";

void setup() {
  set_adjs( "yellow spotted" );
  set_type( "toadstool" );
  set_extra( 0 );
} /* setup() */

void next_stage() {
  if ( stage == 8 ) {
    tell_room( environment(), "The yellow spots on the toadstool begin to "+
        "glow.\n" );
    set_light( 5 );
    set_long( query_long() +"The yellow spots are glowing.\n" );
  }
  ::next_stage();
} /* next_stage() */

Site Stats

Snippets: 1791
Codebases: 571