252 _(
"Toggles 'away' mode for your nation. In away mode, "
253 "the AI will govern your nation but make only minimal "
258 _(
"With no arguments, sets all AI players to skill level "
259 "'%s', and sets the default level for any new AI "
260 "players to '%s'. With an argument, sets the skill "
261 "level for the specified player only."),
266 for (h = 0; h <
H_LAST; h++) {
281 if (science != 100) {
283 _(
"Research takes %d%% as long as usual."), science);
294 _(
"\nThis skill level has the same features as 'Novice', "
295 "but may suffer additional ruleset-defined penalties."));
300 _(
"\nThis skill level has the same features as 'Hard', "
301 "but may enjoy additional ruleset-defined bonuses."));
309 _(
"\nThis skill level's features include the following. "
310 "(Some rulesets may define extra level-specific "
void astr_free(struct astring *astr)
void astr_add_line(struct astring *astr, const char *format,...)
char * astr_to_str(struct astring *astr)
static const char * astr_str(const struct astring *astr) fc__attribute((nonnull(1)))
static bool astr_empty(const struct astring *astr) fc__attribute((nonnull(1)))
#define BV_ISSET(bv, bit)
static int fuzzy_of_skill_level(enum ai_level level)
void set_ai_level_directer(struct player *pplayer, enum ai_level level)
static int expansionism_of_skill_level(enum ai_level level)
static int science_cost_of_skill_level(enum ai_level level)
char * ai_level_help(const char *cmdname)
static bv_handicap handicap_of_skill_level(enum ai_level level)
bool ai_fuzzy(const struct player *pplayer, bool normal_decision)
const char * handicap_desc(enum handicap_type htype, bool *inverted)
void handicaps_set(struct player *pplayer, bv_handicap handicaps)
@ H_ASSESS_DANGER_LIMITED
#define fc_assert(condition)
struct setting_list * level[OLEVELS_NUM]
enum ai_level skill_level
struct player_ai ai_common
int fc_strcasecmp(const char *str0, const char *str1)