forked from github/server
- fix recruit
- skill costs configurable - function to write spells to a file
This commit is contained in:
parent
98f8f1a1f8
commit
71b34b434a
12 changed files with 99 additions and 63 deletions
|
@ -19,6 +19,8 @@
|
||||||
* permission from the authors.
|
* permission from the authors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#pragma region includes
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "economy.h"
|
#include "economy.h"
|
||||||
|
@ -79,6 +81,7 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
|
#pragma endregion
|
||||||
|
|
||||||
typedef struct request {
|
typedef struct request {
|
||||||
struct request * next;
|
struct request * next;
|
||||||
|
@ -101,6 +104,27 @@ static int entertaining;
|
||||||
static int norders;
|
static int norders;
|
||||||
static request *oa;
|
static request *oa;
|
||||||
|
|
||||||
|
#define RECRUIT_MERGE 1
|
||||||
|
#define RECRUIT_CLASSIC 2
|
||||||
|
#define RECRUIT_ARCHETYPES 4
|
||||||
|
static int rules_recruit = -1;
|
||||||
|
|
||||||
|
static void recruit_init(void)
|
||||||
|
{
|
||||||
|
if (rules_recruit<0) {
|
||||||
|
rules_recruit = 0;
|
||||||
|
if (get_param_int(global.parameters, "recruit.allow_merge", 1)) {
|
||||||
|
rules_recruit |= RECRUIT_MERGE;
|
||||||
|
}
|
||||||
|
if (get_param_int(global.parameters, "recruit.classic", 1)) {
|
||||||
|
rules_recruit |= RECRUIT_CLASSIC;
|
||||||
|
}
|
||||||
|
if (get_param_int(global.parameters, "recruit.archetype", 0)) {
|
||||||
|
rules_recruit |= RECRUIT_ARCHETYPES;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
income(const unit * u)
|
income(const unit * u)
|
||||||
{
|
{
|
||||||
|
@ -1091,11 +1115,6 @@ maintain_buildings(region * r, boolean crash)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#define RECRUIT_MERGE 1
|
|
||||||
#define RECRUIT_CLASSIC 2
|
|
||||||
#define RECRUIT_ARCHETYPES 4
|
|
||||||
static int rules_recruit = -1;
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
recruit_archetype(unit * u, order * ord)
|
recruit_archetype(unit * u, order * ord)
|
||||||
{
|
{
|
||||||
|
@ -1103,18 +1122,7 @@ recruit_archetype(unit * u, order * ord)
|
||||||
int want;
|
int want;
|
||||||
const char * s;
|
const char * s;
|
||||||
|
|
||||||
if (rules_recruit<0) {
|
if (rules_recruit<0) recruit_init();
|
||||||
rules_recruit = 0;
|
|
||||||
if (get_param_int(global.parameters, "recruit.allow_merge", 1)) {
|
|
||||||
rules_recruit |= RECRUIT_MERGE;
|
|
||||||
}
|
|
||||||
if (get_param_int(global.parameters, "recruit.classic", 1)) {
|
|
||||||
rules_recruit |= RECRUIT_CLASSIC;
|
|
||||||
}
|
|
||||||
if (get_param_int(global.parameters, "recruit.archetype", 0)) {
|
|
||||||
rules_recruit |= RECRUIT_ARCHETYPES;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
init_tokens(ord);
|
init_tokens(ord);
|
||||||
skip_token();
|
skip_token();
|
||||||
|
@ -1235,16 +1243,6 @@ recruit_archetype(unit * u, order * ord)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void recruit_init(void)
|
|
||||||
{
|
|
||||||
if (rules_recruit<0) {
|
|
||||||
rules_recruit = 0;
|
|
||||||
if (get_param_int(global.parameters, "recruit.allow_merge", 1)) {
|
|
||||||
rules_recruit |= RECRUIT_MERGE;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
int recruit_archetypes(void)
|
int recruit_archetypes(void)
|
||||||
{
|
{
|
||||||
if (rules_recruit<0) recruit_init();
|
if (rules_recruit<0) recruit_init();
|
||||||
|
|
|
@ -2925,10 +2925,10 @@ static void age_region(region * r)
|
||||||
int stability = r->land->ownership->since_turn;
|
int stability = r->land->ownership->since_turn;
|
||||||
int morale = MORALE_TAKEOVER + stability/10;
|
int morale = MORALE_TAKEOVER + stability/10;
|
||||||
if (r->land->ownership->owner && r->land->morale<MORALE_MAX) {
|
if (r->land->ownership->owner && r->land->morale<MORALE_MAX) {
|
||||||
r->land->morale = MIN(morale, MORALE_MAX);
|
r->land->morale = (short)MIN(morale, MORALE_MAX);
|
||||||
}
|
}
|
||||||
if (!r->land->ownership->owner && r->land->morale<MORALE_DEFAULT) {
|
if (!r->land->ownership->owner && r->land->morale<MORALE_DEFAULT) {
|
||||||
r->land->morale = MIN(morale, MORALE_DEFAULT);
|
r->land->morale = (short)MIN(morale, MORALE_DEFAULT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -107,24 +107,28 @@ magic_lowskill(unit *u)
|
||||||
int
|
int
|
||||||
study_cost(unit *u, skill_t sk)
|
study_cost(unit *u, skill_t sk)
|
||||||
{
|
{
|
||||||
int stufe, k = 50;
|
static int cost = 0;
|
||||||
|
int stufe, k = 50;
|
||||||
|
|
||||||
switch (sk) {
|
if (cost==0) {
|
||||||
case SK_SPY:
|
cost = get_param_int(global.parameters, "skills.cost", 200);
|
||||||
return 100;
|
}
|
||||||
break;
|
switch (sk) {
|
||||||
case SK_TACTICS:
|
case SK_SPY:
|
||||||
case SK_HERBALISM:
|
return 100;
|
||||||
case SK_ALCHEMY:
|
break;
|
||||||
return 200;
|
case SK_TACTICS:
|
||||||
break;
|
case SK_HERBALISM:
|
||||||
case SK_MAGIC: /* Die Magiekosten betragen 50+Summe(50*Stufe) */
|
case SK_ALCHEMY:
|
||||||
/* 'Stufe' ist dabei die nächste zu erreichende Stufe */
|
return 200;
|
||||||
stufe = 1 + get_level(u, SK_MAGIC);
|
break;
|
||||||
return k*(1+((stufe+1)*stufe/2));
|
case SK_MAGIC: /* Die Magiekosten betragen 50+Summe(50*Stufe) */
|
||||||
break;
|
/* 'Stufe' ist dabei die nächste zu erreichende Stufe */
|
||||||
}
|
stufe = 1 + get_level(u, SK_MAGIC);
|
||||||
return 0;
|
return k*(1+((stufe+1)*stufe/2));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ------------------------------------------------------------- */
|
/* ------------------------------------------------------------- */
|
||||||
|
|
|
@ -1347,7 +1347,6 @@ parse_equipment(xmlDocPtr doc)
|
||||||
xmlXPathFreeObject(xpathResult);
|
xmlXPathFreeObject(xpathResult);
|
||||||
|
|
||||||
xpathResult = xmlXPathEvalExpression(BAD_CAST "skill", xpath);
|
xpathResult = xmlXPathEvalExpression(BAD_CAST "skill", xpath);
|
||||||
assert(!eq->skills);
|
|
||||||
add_skills(eq, xpathResult->nodesetval);
|
add_skills(eq, xpathResult->nodesetval);
|
||||||
xmlXPathFreeObject(xpathResult);
|
xmlXPathFreeObject(xpathResult);
|
||||||
|
|
||||||
|
|
|
@ -36,32 +36,26 @@ Global
|
||||||
{F70CFB27-8A2F-E447-B452-4E1C590EDA6D}.Profile|Win32.ActiveCfg = Profile|Win32
|
{F70CFB27-8A2F-E447-B452-4E1C590EDA6D}.Profile|Win32.ActiveCfg = Profile|Win32
|
||||||
{F70CFB27-8A2F-E447-B452-4E1C590EDA6D}.Profile|Win32.Build.0 = Profile|Win32
|
{F70CFB27-8A2F-E447-B452-4E1C590EDA6D}.Profile|Win32.Build.0 = Profile|Win32
|
||||||
{F70CFB27-8A2F-E447-B452-4E1C590EDA6D}.Release|Win32.ActiveCfg = Release|Win32
|
{F70CFB27-8A2F-E447-B452-4E1C590EDA6D}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{F70CFB27-8A2F-E447-B452-4E1C590EDA6D}.Release|Win32.Build.0 = Release|Win32
|
|
||||||
{6F104C0A-DDF5-A34B-A89C-0DC278DCEF6D}.Debug|Win32.ActiveCfg = Debug|Win32
|
{6F104C0A-DDF5-A34B-A89C-0DC278DCEF6D}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
{6F104C0A-DDF5-A34B-A89C-0DC278DCEF6D}.Profile|Win32.ActiveCfg = Profile|Win32
|
{6F104C0A-DDF5-A34B-A89C-0DC278DCEF6D}.Profile|Win32.ActiveCfg = Profile|Win32
|
||||||
{6F104C0A-DDF5-A34B-A89C-0DC278DCEF6D}.Profile|Win32.Build.0 = Profile|Win32
|
{6F104C0A-DDF5-A34B-A89C-0DC278DCEF6D}.Profile|Win32.Build.0 = Profile|Win32
|
||||||
{6F104C0A-DDF5-A34B-A89C-0DC278DCEF6D}.Release|Win32.ActiveCfg = Release|Win32
|
{6F104C0A-DDF5-A34B-A89C-0DC278DCEF6D}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{6F104C0A-DDF5-A34B-A89C-0DC278DCEF6D}.Release|Win32.Build.0 = Release|Win32
|
|
||||||
{1E8BFF9E-3044-0742-992F-C5765B80FE65}.Debug|Win32.ActiveCfg = Debug|Win32
|
{1E8BFF9E-3044-0742-992F-C5765B80FE65}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
{1E8BFF9E-3044-0742-992F-C5765B80FE65}.Profile|Win32.ActiveCfg = Profile|Win32
|
{1E8BFF9E-3044-0742-992F-C5765B80FE65}.Profile|Win32.ActiveCfg = Profile|Win32
|
||||||
{1E8BFF9E-3044-0742-992F-C5765B80FE65}.Profile|Win32.Build.0 = Profile|Win32
|
{1E8BFF9E-3044-0742-992F-C5765B80FE65}.Profile|Win32.Build.0 = Profile|Win32
|
||||||
{1E8BFF9E-3044-0742-992F-C5765B80FE65}.Release|Win32.ActiveCfg = Release|Win32
|
{1E8BFF9E-3044-0742-992F-C5765B80FE65}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{1E8BFF9E-3044-0742-992F-C5765B80FE65}.Release|Win32.Build.0 = Release|Win32
|
|
||||||
{74B1CBD4-3B6E-E544-9475-33FBB0BCE165}.Debug|Win32.ActiveCfg = Debug|Win32
|
{74B1CBD4-3B6E-E544-9475-33FBB0BCE165}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
{74B1CBD4-3B6E-E544-9475-33FBB0BCE165}.Profile|Win32.ActiveCfg = Profile|Win32
|
{74B1CBD4-3B6E-E544-9475-33FBB0BCE165}.Profile|Win32.ActiveCfg = Profile|Win32
|
||||||
{74B1CBD4-3B6E-E544-9475-33FBB0BCE165}.Profile|Win32.Build.0 = Profile|Win32
|
{74B1CBD4-3B6E-E544-9475-33FBB0BCE165}.Profile|Win32.Build.0 = Profile|Win32
|
||||||
{74B1CBD4-3B6E-E544-9475-33FBB0BCE165}.Release|Win32.ActiveCfg = Release|Win32
|
{74B1CBD4-3B6E-E544-9475-33FBB0BCE165}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{74B1CBD4-3B6E-E544-9475-33FBB0BCE165}.Release|Win32.Build.0 = Release|Win32
|
|
||||||
{D893D6B3-805D-9848-8EA4-CDA1B79151F6}.Debug|Win32.ActiveCfg = Debug|Win32
|
{D893D6B3-805D-9848-8EA4-CDA1B79151F6}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
{D893D6B3-805D-9848-8EA4-CDA1B79151F6}.Profile|Win32.ActiveCfg = Profile|Win32
|
{D893D6B3-805D-9848-8EA4-CDA1B79151F6}.Profile|Win32.ActiveCfg = Profile|Win32
|
||||||
{D893D6B3-805D-9848-8EA4-CDA1B79151F6}.Profile|Win32.Build.0 = Profile|Win32
|
{D893D6B3-805D-9848-8EA4-CDA1B79151F6}.Profile|Win32.Build.0 = Profile|Win32
|
||||||
{D893D6B3-805D-9848-8EA4-CDA1B79151F6}.Release|Win32.ActiveCfg = Release|Win32
|
{D893D6B3-805D-9848-8EA4-CDA1B79151F6}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{D893D6B3-805D-9848-8EA4-CDA1B79151F6}.Release|Win32.Build.0 = Release|Win32
|
|
||||||
{75501170-51C2-E641-BA8B-EDC008184192}.Debug|Win32.ActiveCfg = Debug|Win32
|
{75501170-51C2-E641-BA8B-EDC008184192}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
{75501170-51C2-E641-BA8B-EDC008184192}.Profile|Win32.ActiveCfg = Profile|Win32
|
{75501170-51C2-E641-BA8B-EDC008184192}.Profile|Win32.ActiveCfg = Profile|Win32
|
||||||
{75501170-51C2-E641-BA8B-EDC008184192}.Profile|Win32.Build.0 = Profile|Win32
|
{75501170-51C2-E641-BA8B-EDC008184192}.Profile|Win32.Build.0 = Profile|Win32
|
||||||
{75501170-51C2-E641-BA8B-EDC008184192}.Release|Win32.ActiveCfg = Release|Win32
|
{75501170-51C2-E641-BA8B-EDC008184192}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{75501170-51C2-E641-BA8B-EDC008184192}.Release|Win32.Build.0 = Release|Win32
|
|
||||||
{AD80EB0B-7CB4-42F2-9C95-8CCEF68DB387}.Debug|Win32.ActiveCfg = Debug|Win32
|
{AD80EB0B-7CB4-42F2-9C95-8CCEF68DB387}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
{AD80EB0B-7CB4-42F2-9C95-8CCEF68DB387}.Debug|Win32.Build.0 = Debug|Win32
|
{AD80EB0B-7CB4-42F2-9C95-8CCEF68DB387}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
{AD80EB0B-7CB4-42F2-9C95-8CCEF68DB387}.Profile|Win32.ActiveCfg = Release|Win32
|
{AD80EB0B-7CB4-42F2-9C95-8CCEF68DB387}.Profile|Win32.ActiveCfg = Release|Win32
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="libxml2.lib pdcurses.lib lua5.1_d.lib tolua++.lib luabind_d.lib"
|
AdditionalDependencies="libxml2.lib pdcurses.lib lua5.1_d.lib tolua++.lib"
|
||||||
OutputFile="$(OutDir)\eressea.exe"
|
OutputFile="$(OutDir)\eressea.exe"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
|
@ -124,6 +124,7 @@
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalIncludeDirectories=".;common"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
|
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="2"
|
UsePrecompiledHeader="2"
|
||||||
|
@ -142,6 +143,7 @@
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
|
AdditionalDependencies="libxml2.lib pdcurses.lib lua5.1.lib tolua++.lib"
|
||||||
OutputFile="$(OutDir)\eressea.exe"
|
OutputFile="$(OutDir)\eressea.exe"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
|
@ -212,6 +214,14 @@
|
||||||
PrecompiledHeaderThrough="stdafx.h"
|
PrecompiledHeaderThrough="stdafx.h"
|
||||||
/>
|
/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Release|Win32"
|
||||||
|
>
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
UsePrecompiledHeader="1"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\combined\util.c"
|
RelativePath=".\combined\util.c"
|
||||||
|
|
|
@ -593,6 +593,27 @@ load_inifile(const char * filename)
|
||||||
inifile = d;
|
inifile = d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
write_spells(void)
|
||||||
|
{
|
||||||
|
const resource_type * rt_water = rt_find("p2");
|
||||||
|
struct locale * loc = find_locale("de");
|
||||||
|
FILE * F = fopen("spells.txt", "w");
|
||||||
|
spell_list * spl = spells;
|
||||||
|
for (;spl;spl=spl->next) {
|
||||||
|
const spell * sp = spl->data;
|
||||||
|
spell_component * spc = sp->components;
|
||||||
|
char components[128];
|
||||||
|
components[0]=0;
|
||||||
|
for (;spc->type;++spc) {
|
||||||
|
strcat(components, LOC(loc, spc->type->_name[0]));
|
||||||
|
strcat(components, ",");
|
||||||
|
}
|
||||||
|
fprintf(F, "%s;%d;%s;%s\n", LOC(loc, mkname("spell", sp->sname)), sp->level, LOC(loc, mkname("school", magietypen[sp->magietyp])), components);
|
||||||
|
}
|
||||||
|
fclose(F);
|
||||||
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int argc, char *argv[])
|
main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
@ -628,7 +649,9 @@ main(int argc, char *argv[])
|
||||||
kernel_init();
|
kernel_init();
|
||||||
game_init();
|
game_init();
|
||||||
|
|
||||||
// run the main script
|
/* write_spells(); */
|
||||||
|
|
||||||
|
/* run the main script */
|
||||||
if (luafile==NULL) lua_console(luaState);
|
if (luafile==NULL) lua_console(luaState);
|
||||||
else {
|
else {
|
||||||
char buf[MAX_PATH];
|
char buf[MAX_PATH];
|
||||||
|
|
|
@ -4026,7 +4026,7 @@
|
||||||
<text locale="en">Shadow Call</text>
|
<text locale="en">Shadow Call</text>
|
||||||
</string>
|
</string>
|
||||||
<string name="create_ror">
|
<string name="create_ror">
|
||||||
<text locale="de">Erscahffe einen Ring der Regeneration</text>
|
<text locale="de">Erschaffe einen Ring der Regeneration</text>
|
||||||
<text locale="en">Create A Ring Of Regeneration</text>
|
<text locale="en">Create A Ring Of Regeneration</text>
|
||||||
</string>
|
</string>
|
||||||
<string name="raise_mob">
|
<string name="raise_mob">
|
||||||
|
|
|
@ -49,6 +49,8 @@
|
||||||
|
|
||||||
<game name="Aragon" units="500">
|
<game name="Aragon" units="500">
|
||||||
<!-- Game specific settings -->
|
<!-- Game specific settings -->
|
||||||
|
<param name="database.gameid" value="7"></param>
|
||||||
|
|
||||||
<order name="ARBEITEN" disable="yes"/>
|
<order name="ARBEITEN" disable="yes"/>
|
||||||
<order name="BETEN" disable="yes"/>
|
<order name="BETEN" disable="yes"/>
|
||||||
<order name="FRIEDEN" disable="yes"/>
|
<order name="FRIEDEN" disable="yes"/>
|
||||||
|
@ -67,7 +69,6 @@
|
||||||
<order name="WERWESEN" disable="yes"/>
|
<order name="WERWESEN" disable="yes"/>
|
||||||
<order name="XONTORMIA" disable="yes"/>
|
<order name="XONTORMIA" disable="yes"/>
|
||||||
|
|
||||||
<skill name="alchemy" enable="true"/>
|
|
||||||
<skill name="armorer" enable="true"/>
|
<skill name="armorer" enable="true"/>
|
||||||
<skill name="bow" enable="true"/>
|
<skill name="bow" enable="true"/>
|
||||||
<skill name="building" enable="true"/>
|
<skill name="building" enable="true"/>
|
||||||
|
@ -91,6 +92,7 @@
|
||||||
<skill name="unarmed" enable="true"/>
|
<skill name="unarmed" enable="true"/>
|
||||||
<skill name="weaponsmithing" enable="true"/>
|
<skill name="weaponsmithing" enable="true"/>
|
||||||
|
|
||||||
|
<skill name="alchemy" enable="false"/>
|
||||||
<skill name="entertainment" enable="false"/>
|
<skill name="entertainment" enable="false"/>
|
||||||
<skill name="espionage" enable="false"/>
|
<skill name="espionage" enable="false"/>
|
||||||
<skill name="perception" enable="false"/>
|
<skill name="perception" enable="false"/>
|
||||||
|
@ -103,14 +105,16 @@
|
||||||
<param name="modules.astralspace" value="0"/>
|
<param name="modules.astralspace" value="0"/>
|
||||||
<param name="modules.wormholes" value="0"/>
|
<param name="modules.wormholes" value="0"/>
|
||||||
|
|
||||||
|
<param name="skills.cost" value="500"/>
|
||||||
<param name="entertain.base" value="0"/>
|
<param name="entertain.base" value="0"/>
|
||||||
<param name="entertain.perlevel" value="20"/>
|
<param name="entertain.perlevel" value="20"/>
|
||||||
<param name="nmr.timeout" value="5"/>
|
<param name="nmr.timeout" value="5"/>
|
||||||
<param name="nmr.removenewbie" value="10"/>
|
<param name="nmr.removenewbie" value="10"/>
|
||||||
<param name="GiveRestriction" value="3"/>
|
<param name="GiveRestriction" value="3"/>
|
||||||
<param name="hunger.long" value="1"/>
|
<param name="hunger.long" value="0"/>
|
||||||
<param name="hunger.damage" value="1d9+9"/>
|
<param name="hunger.damage" value="1d9+9"/>
|
||||||
<param name="recruit.allow_merge" value="1"/>
|
<param name="recruit.allow_merge" value="1"/>
|
||||||
|
<param name="study.expensivemigrants" value="1"/>
|
||||||
<param name="rules.check_overload" value="0"/>
|
<param name="rules.check_overload" value="0"/>
|
||||||
<param name="rules.combat.herospeed" value="3"/>
|
<param name="rules.combat.herospeed" value="3"/>
|
||||||
<param name="rules.combat.skill_bonus" value="0"/>
|
<param name="rules.combat.skill_bonus" value="0"/>
|
||||||
|
@ -119,8 +123,10 @@
|
||||||
<param name="rules.cavalry.mode" value="1"/>
|
<param name="rules.cavalry.mode" value="1"/>
|
||||||
<param name="rules.economy.taxation" value="1"/>
|
<param name="rules.economy.taxation" value="1"/>
|
||||||
<param name="rules.give" value="3"/> <!-- only self + peasants -->
|
<param name="rules.give" value="3"/> <!-- only self + peasants -->
|
||||||
<param name="rules.help.mask" value="fight guard stealth money"/>
|
<param name="rules.help.mask" value="fight guard money"/>
|
||||||
<param name="movement.shipspeed.skillbonus" value="7"/>
|
<param name="movement.shipspeed.skillbonus" value="7"/>
|
||||||
|
<param name="alliance.auto" value="fight"/>
|
||||||
|
<!--param name="alliance.restricted" value="fight"/-->
|
||||||
</game>
|
</game>
|
||||||
<xi:include href="eressea/strings.xml"/>
|
<xi:include href="eressea/strings.xml"/>
|
||||||
<xi:include href="eressea/races.xml"/>
|
<xi:include href="eressea/races.xml"/>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<skill name="building" modifier="1"/>
|
<skill name="building" modifier="1"/>
|
||||||
<skill name="cartmaking" modifier="-1"/>
|
<skill name="cartmaking" modifier="-1"/>
|
||||||
<skill name="catapult" modifier="1"/>
|
<skill name="catapult" modifier="1"/>
|
||||||
<skill name="magic" modifier="-1"/>
|
<skill name="magic" modifier="-99"/>
|
||||||
<skill name="mining" modifier="1"/>
|
<skill name="mining" modifier="1"/>
|
||||||
<skill name="roadwork" modifier="-2"/>
|
<skill name="roadwork" modifier="-2"/>
|
||||||
<skill name="sailing" modifier="-2"/>
|
<skill name="sailing" modifier="-2"/>
|
||||||
|
@ -36,7 +36,6 @@
|
||||||
<skill name="cartmaking" modifier="-1"/>
|
<skill name="cartmaking" modifier="-1"/>
|
||||||
<skill name="forestry" modifier="1"/>
|
<skill name="forestry" modifier="1"/>
|
||||||
<skill name="herbalism" modifier="-2"/>
|
<skill name="herbalism" modifier="-2"/>
|
||||||
<skill name="magic" modifier="-1"/>
|
|
||||||
<skill name="mining" modifier="1"/>
|
<skill name="mining" modifier="1"/>
|
||||||
<skill name="quarrying" modifier="1"/>
|
<skill name="quarrying" modifier="1"/>
|
||||||
<skill name="riding" modifier="-99"/>
|
<skill name="riding" modifier="-99"/>
|
||||||
|
@ -44,6 +43,7 @@
|
||||||
<skill name="shipcraft" modifier="-1"/>
|
<skill name="shipcraft" modifier="-1"/>
|
||||||
<skill name="tactics" modifier="1"/>
|
<skill name="tactics" modifier="1"/>
|
||||||
<skill name="training" modifier="-1"/>
|
<skill name="training" modifier="-1"/>
|
||||||
|
<skill name="magic" modifier="-99"/>
|
||||||
<skill name="unarmed" modifier="-99"/>
|
<skill name="unarmed" modifier="-99"/>
|
||||||
<skill name="weaponsmithing" modifier="2"/>
|
<skill name="weaponsmithing" modifier="2"/>
|
||||||
<attack type="1" damage="1d5"/>
|
<attack type="1" damage="1d5"/>
|
||||||
|
@ -59,6 +59,7 @@
|
||||||
<skill name="herbalism" modifier="-1"/>
|
<skill name="herbalism" modifier="-1"/>
|
||||||
<skill name="shipcraft" modifier="3"/>
|
<skill name="shipcraft" modifier="3"/>
|
||||||
<skill name="sailing" modifier="3"/>
|
<skill name="sailing" modifier="3"/>
|
||||||
|
<skill name="magic" modifier="-99"/>
|
||||||
<skill name="unarmed" modifier="-99"/>
|
<skill name="unarmed" modifier="-99"/>
|
||||||
<attack type="1" damage="1d5"/>
|
<attack type="1" damage="1d5"/>
|
||||||
<familiar race="dolphin" default="yes"/>
|
<familiar race="dolphin" default="yes"/>
|
||||||
|
@ -84,6 +85,7 @@
|
||||||
<skill name="sailing" modifier="-2"/>
|
<skill name="sailing" modifier="-2"/>
|
||||||
<skill name="shipcraft" modifier="-1"/>
|
<skill name="shipcraft" modifier="-1"/>
|
||||||
<skill name="training" modifier="-1"/>
|
<skill name="training" modifier="-1"/>
|
||||||
|
<skill name="magic" modifier="-99"/>
|
||||||
<skill name="unarmed" modifier="-99"/>
|
<skill name="unarmed" modifier="-99"/>
|
||||||
<attack type="1" damage="1d5"/>
|
<attack type="1" damage="1d5"/>
|
||||||
<familiar race="eagle" default="yes"/>
|
<familiar race="eagle" default="yes"/>
|
||||||
|
|
|
@ -6973,7 +6973,7 @@
|
||||||
<arg name="unit" type="unit"/>
|
<arg name="unit" type="unit"/>
|
||||||
<arg name="region" type="region"/>
|
<arg name="region" type="region"/>
|
||||||
<arg name="command" type="order"/>
|
<arg name="command" type="order"/>
|
||||||
<arg name="building" type="name"/>
|
<arg name="building" type="string"/>
|
||||||
</type>
|
</type>
|
||||||
<text locale="de">"$unit($unit) in $region($region): '$order($command)' - Die Einheit steht nicht im benötigten Gebäude, $localize($building)."</text>
|
<text locale="de">"$unit($unit) in $region($region): '$order($command)' - Die Einheit steht nicht im benötigten Gebäude, $localize($building)."</text>
|
||||||
<text locale="en">"$unit($unit) in $region($region): '$order($command)' - The unit must be in a $localize($building) to produce this."</text>
|
<text locale="en">"$unit($unit) in $region($region): '$order($command)' - The unit must be in a $localize($building) to produce this."</text>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<include href="buildings.xml" />
|
<include href="buildings.xml" />
|
||||||
|
|
||||||
<game name="Kreis der Macht" units="250" welcome="vinyambar">
|
<game name="Kreis der Macht" units="250" welcome="vinyambar">
|
||||||
<comment>Game specific</comment>
|
<!-- Game specific -->
|
||||||
<order name="ARBEITEN" disable></order>
|
<order name="ARBEITEN" disable></order>
|
||||||
<param name="entertain.base" value="15"></param>
|
<param name="entertain.base" value="15"></param>
|
||||||
<param name="entertain.perlevel" value="5"></param>
|
<param name="entertain.perlevel" value="5"></param>
|
||||||
|
|
Loading…
Reference in a new issue