no_quit.c

./lib/skills/mage/no_quit.c · 420 B

From the archive h7v3.0a.tar.gz

Download the archive   « Back to the archive contents

/* complements the cleric hold spell for realism (Tamsyn,
  requested by Dax ) */


status drop() { return 1; } status get() { return 0; }

void init(){ add_action("no_quit","quit"); }

status no_quit() { 
	write("You can't quit when you're holding a player!\n");
	return 1;
}

void start(int t) {
	call_out("destruct_me",t);
}

void destruct_me() { destruct(this_object()); }

/* Native Mode Move */

#include <move.h>

Site Stats

Snippets: 1791
Codebases: 571