forked from github/server
7233af54b4
These need to be more powerful to be useful, and the current way they are implemented is not, but the general idea strikes me as good. Also, feedback should be configurable for each failed rule.
64 lines
1.9 KiB
C
64 lines
1.9 KiB
C
/* vi: set ts=2:
|
|
*
|
|
*
|
|
* Eressea PB(E)M host Copyright (C) 1998-2003
|
|
* Christian Schlittchen (corwin@amber.kn-bremen.de)
|
|
* Katja Zedel (katze@felidae.kn-bremen.de)
|
|
* Henning Peters (faroul@beyond.kn-bremen.de)
|
|
* Enno Rehling (enno@eressea-pbem.de)
|
|
* Ingo Wilken (Ingo.Wilken@informatik.uni-oldenburg.de)
|
|
*
|
|
* based on:
|
|
*
|
|
* Atlantis v1.0 13 September 1993 Copyright 1993 by Russell Wallace
|
|
* Atlantis v1.7 Copyright 1996 by Alex Schröder
|
|
*
|
|
* This program may not be used, modified or distributed without
|
|
* prior permission by the authors of Eressea.
|
|
* This program may not be sold or used commercially without prior written
|
|
* permission from the authors.
|
|
*/
|
|
|
|
#ifndef H_GC_ECONOMY
|
|
#define H_GC_ECONOMY
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Welchen Teil des Silbers die Bauern fuer Unterhaltung ausgeben (1/20), und
|
|
* wiviel Silber ein Unterhalter pro Talentpunkt bekommt. */
|
|
|
|
/* Wieviele Silbermuenzen jeweils auf einmal "getaxed" werden. */
|
|
|
|
#define TAXFRACTION 10
|
|
|
|
/* Wieviel Silber pro Talentpunkt geklaut wird. */
|
|
|
|
#define STEALINCOME 50
|
|
|
|
/* Teil der Bauern, welche Luxusgueter kaufen und verkaufen (1/100). */
|
|
|
|
#define TRADE_FRACTION 100
|
|
|
|
extern attrib_type at_reduceproduction;
|
|
|
|
extern int income(const struct unit * u);
|
|
|
|
/* Wieviel Fremde eine Partei pro Woche aufnehmen kann */
|
|
#define MAXNEWBIES 5
|
|
|
|
void economics(struct region *r);
|
|
void produce(void);
|
|
|
|
enum { IC_WORK, IC_ENTERTAIN, IC_TAX, IC_TRADE, IC_TRADETAX, IC_STEAL, IC_MAGIC };
|
|
void maintain_buildings(struct region * r, boolean crash);
|
|
extern void add_spende(struct faction * f1, struct faction * f2, int betrag, struct region * r);
|
|
extern int make_cmd(struct unit * u, struct order * ord);
|
|
extern void split_allocations(struct region * r);
|
|
extern int recruit_classic(void);
|
|
extern int recruit_archetypes(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|