server/src/settings.h

43 lines
1.6 KiB
C
Raw Normal View History

/*
2010-08-08 10:06:34 +02:00
+-------------------+ Christian Schlittchen <corwin@amber.kn-bremen.de>
| | Enno Rehling <enno@eressea.de>
2010-08-08 10:06:34 +02:00
| Eressea PBEM host | Katja Zedel <katze@felidae.kn-bremen.de>
| (c) 1998 - 2003 | Henning Peters <faroul@beyond.kn-bremen.de>
| | Ingo Wilken <Ingo.Wilken@informatik.uni-oldenburg.de>
+-------------------+ Stefan Reich <reich@halbling.de>
This program may not be used, modified or distributed
without prior permission by the authors of Eressea.
*/
2010-08-08 10:06:34 +02:00
#define ENTERTAINFRACTION 20
#define TEACHDIFFERENCE 2
#define RESOURCE_QUANTITY 0.5
2011-03-07 08:02:35 +01:00
#define RECRUITFRACTION 40 /* 100/RECRUITFRACTION% */
2010-08-08 10:06:34 +02:00
#define COMBAT_TURNS 5
#undef NEWATSROI
2010-08-08 10:06:34 +02:00
/* Vermehrungsrate Bauern in 1/10000.
* TODO: Evt. Berechnungsfehler, reale Vermehrungsraten scheinen hoeher. */
#define PEASANTGROWTH 10
#define PEASANTLUCK 10
2010-08-08 10:06:34 +02:00
2011-03-07 08:02:35 +01:00
#define ROW_FACTOR 3 /* factor for combat row advancement rule */
2010-08-08 10:06:34 +02:00
/* optional game components. TODO: These should either be
* configuration variables (XML), script extensions (lua),
* or both. We don't want separate binaries for different games
*/
#define MUSEUM_MODULE 1
/* TODO: move these settings to settings.h or into configuration files */
#define TREESIZE (8) /* space used by trees (in #peasants) */
#define PEASANTFORCE 0.75 /* Chance einer Vermehrung trotz 90% Auslastung */
2017-03-31 21:37:30 +02:00
/* Gebaeudegroesse = Minimalbelagerer */
#define SIEGEFACTOR 2
#define ENCCHANCE 10 /* %-Chance fuer einmalige Zufallsbegegnung */
#define BAGCAPACITY 20000 /* soviel passt in einen Bag of Holding */
#define PERSON_WEIGHT 1000 /* weight of a "normal" human unit */