(ichr, pchr, dchr, intrchr): Move initializer to new builtin config
files item.config, product.config, sect.config, infra.config. (empfile): Declare the new config files. Reorder table entries so that read_builtin_tables() reads the config files in the right order. (bigcity_dchr, opt_BIG_CITY, init_dchr): Remove. Deities can edit sect.config instead.
This commit is contained in:
parent
a835a4b4d3
commit
3aea20e1de
13 changed files with 248 additions and 148 deletions
|
@ -44,7 +44,6 @@
|
|||
static void init_mchr(void);
|
||||
static void init_pchr(void);
|
||||
static void init_plchr(void);
|
||||
static void init_dchr(void);
|
||||
static void init_lchr(void);
|
||||
|
||||
void
|
||||
|
@ -53,7 +52,6 @@ global_init(void)
|
|||
init_pchr();
|
||||
init_mchr();
|
||||
init_plchr();
|
||||
init_dchr();
|
||||
init_lchr();
|
||||
}
|
||||
|
||||
|
@ -96,13 +94,6 @@ init_pchr(void)
|
|||
}
|
||||
}
|
||||
|
||||
static void
|
||||
init_dchr()
|
||||
{
|
||||
if (opt_BIG_CITY)
|
||||
dchr[SCT_CAPIT] = bigcity_dchr;
|
||||
}
|
||||
|
||||
static void
|
||||
init_lchr()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue