ASTRAL_ITEM_RESTRICTIONS activated.

This commit is contained in:
Enno Rehling 2005-07-25 19:10:21 +00:00
parent 9133042ed4
commit f044fc348d
2 changed files with 5 additions and 5 deletions

View File

@ -2022,16 +2022,16 @@ report(FILE *F, faction * f, struct seen_region ** seen, const faction_list * ad
centre(F, buf, true); centre(F, buf, true);
if (f->race == new_race[RC_HUMAN]) { if (f->race == new_race[RC_HUMAN]) {
int maxmig = count_maxmigrants(f); int maxmig = count_maxmigrants(f);
sprintf(buf, "Deine Partei hat %d Migranten und kann maximal %d Migranten aufnehmen.", m = msg_message("nr_migrants", "units max_units", count_migrants(f), maxmig);
count_migrants(f), maxmig); nr_render(m, f->locale, buf, sizeof(buf), f);
centre(F, buf, true); centre(F, buf, true);
} }
#ifdef HEROES #ifdef HEROES
{ {
int maxh = maxheroes(f); int maxh = maxheroes(f);
if (maxh) { if (maxh) {
sprintf(buf, "Deine Partei hat %d Helden und kann maximal %d Helden ernennen.", m = msg_message("nr_heroes", "units max_units", countheroes(f), maxh);
countheroes(f), maxh); nr_render(m, f->locale, buf, sizeof(buf), f);
centre(F, buf, true); centre(F, buf, true);
} }
} }

View File

@ -37,7 +37,7 @@
#define HUNGER_REDUCES_SKILL /* Hunger reduziert den Talentwert #define HUNGER_REDUCES_SKILL /* Hunger reduziert den Talentwert
auf die Hälfte */ auf die Hälfte */
#undef ASTRAL_ITEM_RESTRICTIONS /* keine grossen dinge im astralraum */ #define ASTRAL_ITEM_RESTRICTIONS /* keine grossen dinge im astralraum */
#define MUSEUM_MODULE #define MUSEUM_MODULE
#define ARENA_MODULE #define ARENA_MODULE