m_cursed.c

gurba-0.40/lib/std/modules/m_cursed.c · 226 B

From the archive gurba.tgz

Download the archive   « Back to the archive contents

static int cursed;
inherit m_undroppable;

int is_cursed( void) {
  return cursed;
}

void set_cursed( int curse ) {
  cursed = curse;
  if (curse == 1) {
    set_undroppable( 1 );
  } else {
    set_undroppable( 0 );
  }	
} 

Site Stats

Snippets: 1791
Codebases: 571