nexus/god.h

30 lines
1.2 KiB
C

#include "defs.h"
void angergod(enum RACE rid, int amt, enum GODANGERREASON why);
int angergodmaybe(enum RACE rid, int amt, enum GODANGERREASON why);
void dooffer(void);
lifeform_t *findgod(enum RACE rid);
enum RACE getopposinggod(enum RACE rid);
enum OBTYPE getopposinggodstone(enum RACE rid);
int getpiety(enum RACE rid);
int getpietycutoff(enum PIETYLEV pl);
enum PIETYLEV getpietylev(enum RACE rid, enum COLOUR *col, char *happiness);
int getprayedgods(lifeform_t **retgod, int *nretgods);
lifeform_t *getrandomgod(void);
lifeform_t *getrandomprayedgod(void);
enum OBTYPE getrelatedgodstone(enum RACE rid);
lifeform_t *godappears(enum RACE rid, cell_t *where);
void god_usepoison_response(void);
int godblocked(enum RACE rid);
int godgiftmaybe(enum RACE rid, int fromtemple);
int godisangry(enum RACE rid);
int godprayedto(enum RACE rid);
void godsay(enum RACE rid, int says, char *format, ...);
void godstone_pickup_effects(lifeform_t *god, lifeform_t *opposegod, object_t *o);
void modpiety(enum RACE rid, int amt);
void pleasegod(enum RACE rid, int amt);
void pleasegodmaybe(enum RACE rid, int amt);
int prayto(lifeform_t *lf, lifeform_t *god);
void setpiety(enum RACE rid, int amt);
int uncurse_one_equipped(lifeform_t *lf, char *text);