forked from github/server
- Konfigurationsoption zur Reduzierung der Metall/Steinmengen.
This commit is contained in:
parent
ef15e6e2e3
commit
e0dcd957dd
|
@ -62,6 +62,9 @@ terraform_resources(region * r)
|
|||
res->flags = 0;
|
||||
res->type = tdata->rawmaterials[i].type;
|
||||
res->amount = (int)(res->base * (1+(res->level-res->startlevel)*(res->divisor/100.0)));
|
||||
#ifdef RESOURCE_FACTOR
|
||||
res->amount = res->amount * RESOURCE_FACTOR;
|
||||
#endif
|
||||
assert(res->amount>0);
|
||||
res->type->terraform(res, r);
|
||||
}
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#define MIGRANTS_CAN_LEARN_EXPENSIVE_SKILLS 1 /* vinyambar 3 only */
|
||||
#define MAGICPOWER 0.5
|
||||
#define MAGICREGEN 0.5
|
||||
#define RESOURCE_FACTOR 0.25
|
||||
|
||||
#if NEWATSROI == 1
|
||||
#define ATSBONUS 2
|
||||
|
|
Loading…
Reference in New Issue