Source:NetHack 3.0.0/trapname.h

Below is the full text to trapname.h from the source code of NetHack 3.0.0. To link to a particular line, write [[NetHack 3.0.0/trapname.h#line123 ]], for example.

Warning! This is the source code from an old release. For the latest release, see Source code

1.   /*	SCCS Id: @(#)trapname.h	3.0	88/11/08 2.   /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ 3.    /* NetHack may be freely redistributed. See license for details. */ 4.     5.    #ifndef TRAPNAME_H	/* must be included after "hack.h" */ 6.   #define TRAPNAME_H 7.    8.    char *traps[] = { 9.   	"",  10.   	" monster trap", 11.  	" statue trap", 12.  	" bear trap", 13.  	"n arrow trap", 14.  	" dart trap", 15.  	" trapdoor", 16.  	" teleportation trap", 17.  	" pit", 18.  	" sleeping gas trap" 19.  	," magic trap" 20.  	," squeaky board" 21.  	," web" 22.  	," spiked pit" 23.  	," level teleporter" 24.  #ifdef SPELLS 25.  	,"n anti-magic field" 26.  #endif 27.  	," rust trap" 28.  #ifdef POLYSELF 29.  	," polymorph trap" 30.  #endif 31.  	," land mine" 32.  };  33.    34.   #endif	/* TRAPNAME_H /* */