2010-08-08 10:06:34 +02:00
|
|
|
#ifndef H_GC_RANDENC
|
|
|
|
#define H_GC_RANDENC
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2014-12-16 14:18:29 +01:00
|
|
|
struct region;
|
|
|
|
|
|
|
|
/** Plagues **/
|
2015-05-15 19:08:44 +02:00
|
|
|
#define PLAGUE_CHANCE 0.1 /* Seuchenwahrscheinlichkeit (siehe plagues()) */
|
|
|
|
#define PLAGUE_VICTIMS 0.2 /* % Betroffene */
|
|
|
|
#define PLAGUE_HEALCHANCE 0.25 /* Wahrscheinlichkeit Heilung */
|
2014-12-16 14:18:29 +01:00
|
|
|
#define PLAGUE_HEALCOST 30 /* Heilkosten */
|
|
|
|
void plagues(struct region *r);
|
|
|
|
void randomevents(void);
|
2010-08-08 10:06:34 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|