forked from github/server
- Fixes
This commit is contained in:
parent
7f01f8db4b
commit
2a76e58542
|
@ -155,7 +155,7 @@ const struct race_syn race_synonyms[] = {
|
|||
|
||||
/* required for old_race, do not change order! */
|
||||
static const char * oldracenames[MAXRACES] = {
|
||||
"dwarf", "elf", "orc", "goblin", "human", "troll", "demon", "insect", "halfling", "cat", "aquarian", "uruk" "snotling"
|
||||
"dwarf", "elf", "orc", "goblin", "human", "troll", "demon", "insect", "halfling", "cat", "aquarian", "uruk", "snotling",
|
||||
"undead", "illusion",
|
||||
"young dragon", "dragon", "wyrm", "ent", "catdragon", "dracoid",
|
||||
"special", "spell",
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#define REMOVENMRTIMEOUT 1
|
||||
#define HUNGER_DISABLES_LONGORDERS 1
|
||||
#define REDUCED_PEASANTGROWTH 0
|
||||
#define RACE_ADJUSTMENTS 0
|
||||
#define RACE_ADJUSTMENTS 1
|
||||
|
||||
#define SKILLPOINTS 1
|
||||
#define TEACHDIFFERENCE 1
|
||||
|
|
|
@ -2623,20 +2623,26 @@ orc_conversion(void)
|
|||
{
|
||||
faction *f;
|
||||
unit *u;
|
||||
region *r;
|
||||
|
||||
for(f=factions; f; f=f->next) {
|
||||
if(f->race == new_race[RC_ORC]) {
|
||||
f->race = new_race[RC_URUK];
|
||||
}
|
||||
for(u=f->units; u; u=u->next) {
|
||||
}
|
||||
|
||||
for(r=regions; r; r=r->next) {
|
||||
for(u=r->units; u; u=u->next) {
|
||||
if(u->race == new_race[RC_ORC]) {
|
||||
/* convert to either uruk or snotling */
|
||||
if(effskill(u, SK_MAGIC) >= 1
|
||||
|| effskill(u, SK_ALCHEMY) >= 1
|
||||
|| get_item(u, I_CHASTITY_BELT) >= u->number) {
|
||||
u->race = new_race[RC_URUK];
|
||||
u->irace = new_race[RC_URUK];
|
||||
} else {
|
||||
u->race = new_race[RC_SNOTLING];
|
||||
u->irace = new_race[RC_SNOTLING];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4562,8 +4562,8 @@
|
|||
<arg name="target" type="unit"></arg>
|
||||
<arg name="report" type="string"></arg>
|
||||
</type>
|
||||
<text locale="de">"$unit($spy) gelang es Informationen über $unit(target) herauszubekommen: ${report}."</text>
|
||||
<text locale="en">"$unit($spy) managed to gather Information about $unit(target): ${report}."</text>
|
||||
<text locale="de">"$unit($spy) gelang es Informationen über $unit(target) herauszubekommen: '$report'."</text>
|
||||
<text locale="en">"$unit($spy) managed to gather Information about $unit(target): '$report'."</text>
|
||||
</message>
|
||||
|
||||
<message name="spyfail" section="events">
|
||||
|
|
|
@ -3161,6 +3161,40 @@
|
|||
<text locale="en">snotling</text>
|
||||
</string>
|
||||
|
||||
<string name="uruk">
|
||||
<text locale="de">Ork</text>
|
||||
<text locale="en">orc</text>
|
||||
</string>
|
||||
<string name="uruk_p">
|
||||
<text locale="de">Orks</text>
|
||||
<text locale="en">orcs</text>
|
||||
</string>
|
||||
<string name="uruk_d">
|
||||
<text locale="de">Orks</text>
|
||||
<text locale="en">orcs</text>
|
||||
</string>
|
||||
<string name="uruk_x">
|
||||
<text locale="de">Ork</text>
|
||||
<text locale="en">orc</text>
|
||||
</string>
|
||||
|
||||
<string name="snotling">
|
||||
<text locale="de">Snotling</text>
|
||||
<text locale="en">snotling</text>
|
||||
</string>
|
||||
<string name="snotling_p">
|
||||
<text locale="de">Snotlinge</text>
|
||||
<text locale="en">snotlings</text>
|
||||
</string>
|
||||
<string name="snotling_d">
|
||||
<text locale="de">Snotlingen</text>
|
||||
<text locale="en">snotlings</text>
|
||||
</string>
|
||||
<string name="snotling_x">
|
||||
<text locale="de">Snotling</text>
|
||||
<text locale="en">snotling</text>
|
||||
</string>
|
||||
|
||||
<string name="elf">
|
||||
<text locale="de">Elf</text>
|
||||
<text locale="en">elf</text>
|
||||
|
|
Loading…
Reference in New Issue