diff -ur nethack-3.4.3/include/config.h nethack-hallugods/include/config.h --- nethack-3.4.3/include/config.h 2003-12-08 00:39:13.000000000 +0100 +++ nethack-hallugods/include/config.h 2007-02-25 19:34:33.000000000 +0100 @@ -351,6 +351,8 @@ /*#define GOLDOBJ */ /* Gold is kept on obj chains - Helge Hafting */ /*#define AUTOPICKUP_EXCEPTIONS */ /* exceptions to autopickup */ +#define HALLU_GODS + /* End of Section 5 */ #include "global.h" /* Define everything else according to choices above */ diff -ur nethack-3.4.3/src/pline.c nethack-hallugods/src/pline.c --- nethack-3.4.3/src/pline.c 2003-12-08 00:39:13.000000000 +0100 +++ nethack-hallugods/src/pline.c 2007-02-25 20:27:58.000000000 +0100 @@ -262,10 +262,47 @@ VA_END(); } +#ifdef HALLU_GODS + const char * const hallu_alignments[] = { + "evil", + "really evil", + "mad", + "crazy", + "loud", + "hungry", + "greedy", + + "cuddly", + "funky", + "chilly", + "relaxed", + "drunk", + "curious", + "magnificent", + "cool", + + "currently not available", + "gone swimming", + "not listening", + "smashing things", + "thinking", + + "yellow", + "purple", + "green", + "blue" + }; +#endif + const char * align_str(alignment) aligntyp alignment; { +#ifdef HALLU_GODS + if (Hallucination) { + return hallu_alignments[rn2(SIZE(hallu_alignments))]; + } +#endif switch ((int)alignment) { case A_CHAOTIC: return "chaotic"; case A_NEUTRAL: return "neutral"; diff -ur nethack-3.4.3/src/pray.c nethack-hallugods/src/pray.c --- nethack-3.4.3/src/pray.c 2003-12-08 00:39:13.000000000 +0100 +++ nethack-hallugods/src/pray.c 2007-02-25 20:31:35.000000000 +0100 @@ -1764,10 +1764,54 @@ return align_gname(u.ualign.type); } +#ifdef HALLU_GODS +const char * const hallu_gods[] = { + "Bill Gates", + "Britney Spears", + "Mother Teresa", + "George W. Bush", + "Albert Einstein", + "Jackie Chan", + + "Speedy Gonzales", + "Homer Simpson", + "Dagobert Duck", + "Xena", + "Super Mario", + "Donkey Kong", + "Jack Bauer", + "the blue Power Ranger", + "Mr. Spock", + + "the universe", + "Capitalism", + "Communism", + "Burger King", + "McDonald's", + "something", + "the U.N.O.", + "the Flying Spaghetti Monster", + "the Invisible Pink Unicorn", + + "the gnome with the wand of death", + "the DevTeam", + "Dion Nicolaas", + "marvin", + "Dudley", + "the RNG" + +}; +#endif + const char * align_gname(alignment) aligntyp alignment; { +#ifdef HALLU_GODS + if (Hallucination) { + return hallu_gods[rn2(SIZE(hallu_gods))]; + } +#endif const char *gnam; switch (alignment) {