- Konfigurationsoption zur Reduzierung der Metall/Steinmengen.

This commit is contained in:
Christian Schlittchen 2003-12-16 21:39:48 +00:00
parent ef15e6e2e3
commit e0dcd957dd
2 changed files with 4 additions and 0 deletions

View File

@ -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);
}

View File

@ -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