Merge pull request #767 from ennorehling/noxinclude

remove the XInclude mess
This commit is contained in:
Enno Rehling 2018-02-07 17:58:24 +01:00 committed by GitHub
commit f08514eaf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
146 changed files with 1156 additions and 927 deletions

View File

@ -1,9 +1,27 @@
{
"include": [
"keywords.json",
"calendar.json",
"prefixes.json",
"e2/terrains.json"
"config://conf/keywords.json",
"config://conf/calendar.json",
"config://conf/prefixes.json",
"config://conf/e2/locales.json",
"config://conf/e2/terrains.json",
"config://conf/e2/items.json",
"config://conf/e2/rules.xml",
"config://res/core/ships.xml",
"config://res/core/common/buildings.xml",
"config://res/eressea/buildings.xml",
"config://res/buildings/castle.xml",
"config://res/eressea/races.xml",
"config://res/eressea/artrewards.xml",
"config://res/eressea/familiars.xml",
"config://res/eressea/equipment.xml",
"config://res/eressea/spells.xml",
"config://res/eressea/spellbooks/gray.xml",
"config://res/eressea/spellbooks/gwyrrd.xml",
"config://res/eressea/spellbooks/draig.xml",
"config://res/eressea/spellbooks/illaun.xml",
"config://res/eressea/spellbooks/cerddor.xml",
"config://res/eressea/spellbooks/tybied.xml"
],
"disabled": [
"jsreport"

50
conf/e2/items.json Normal file
View File

@ -0,0 +1,50 @@
{
"include": [
"config://res/core/spoils.xml",
"config://res/core/common/herbs.xml",
"config://res/core/common/items.xml",
"config://res/core/common/luxuries.xml",
"config://res/core/common/potions.xml",
"config://res/core/armor/chainmail.xml",
"config://res/core/armor/laenmail.xml",
"config://res/core/armor/laenshield.xml",
"config://res/core/armor/plate.xml",
"config://res/core/armor/rustychainmail.xml",
"config://res/core/armor/rustyshield.xml",
"config://res/core/armor/shield.xml",
"config://res/core/resources/cart.xml",
"config://res/core/resources/horse.xml",
"config://res/core/resources/hp.xml",
"config://res/core/resources/iron.xml",
"config://res/core/resources/laen.xml",
"config://res/core/resources/log.xml",
"config://res/core/resources/mallorn.xml",
"config://res/core/resources/mallornseed.xml",
"config://res/core/resources/seed.xml",
"config://res/core/resources/peasant.xml",
"config://res/core/resources/stone.xml",
"config://res/core/weapons/axe.xml",
"config://res/core/weapons/bow.xml",
"config://res/core/weapons/catapult.xml",
"config://res/core/weapons/crossbow.xml",
"config://res/core/weapons/firesword.xml",
"config://res/core/weapons/greatbow.xml",
"config://res/core/weapons/greatsword.xml",
"config://res/core/weapons/halberd.xml",
"config://res/core/weapons/laensword.xml",
"config://res/core/weapons/lance.xml",
"config://res/core/weapons/mallornbow.xml",
"config://res/core/weapons/mallorncrossbow.xml",
"config://res/core/weapons/mallornlance.xml",
"config://res/core/weapons/mallornspear.xml",
"config://res/core/weapons/runesword.xml",
"config://res/core/weapons/rustyaxe.xml",
"config://res/core/weapons/rustygreatsword.xml",
"config://res/core/weapons/rustyhalberd.xml",
"config://res/core/weapons/rustysword.xml",
"config://res/core/weapons/spear.xml",
"config://res/core/weapons/sword.xml",
"config://res/eressea/items.xml",
"config://res/adamantium.xml"
]
}

14
conf/e2/locales.json Normal file
View File

@ -0,0 +1,14 @@
{
"include": [
"config://res/core/messages.xml",
"config://res/core/de/strings.xml",
"config://res/core/en/strings.xml",
"config://res/eressea/strings.xml",
"config://res/eressea/spellinfo.xml",
"config://res/names-undead.xml",
"config://res/names-skeletons.xml",
"config://res/names-zombies.xml",
"config://res/names-ghouls.xml",
"config://res/names-dragons.xml"
]
}

View File

@ -1,13 +0,0 @@
<?xml version="1.0"?>
<eressea xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="config://core/messages.xml"/>
<xi:include href="config://core/de/strings.xml"/>
<xi:include href="config://core/en/strings.xml"/>
<xi:include href="config://game/strings.xml"/>
<xi:include href="config://game/spellinfo.xml" />
<xi:include href="config://default/names-undead.xml"/>
<xi:include href="config://default/names-skeletons.xml"/>
<xi:include href="config://default/names-zombies.xml"/>
<xi:include href="config://default/names-ghouls.xml"/>
<xi:include href="config://default/names-dragons.xml"/>
</eressea>

View File

@ -1,24 +1,6 @@
<?xml version="1.0"?>
<eressea xmlns:xi="http://www.w3.org/2001/XInclude">
<eressea>
<xi:include href="config://core/common/items.xml" />
<xi:include href="config://core/common/armor.xml" />
<xi:include href="config://core/common/weapons.xml" />
<xi:include href="config://core/common/resources.xml" />
<xi:include href="config://core/common/luxuries.xml" />
<xi:include href="config://core/common/herbs.xml" />
<xi:include href="config://core/common/potions.xml" />
<xi:include href="config://core/spoils.xml"/>
<xi:include href="config://game/races.xml"/>
<xi:include href="config://core/ships.xml"/>
<xi:include href="config://core/common/buildings.xml"/>
<xi:include href="config://game/familiars.xml"/>
<xi:include href="config://game/artrewards.xml"/>
<xi:include href="config://game/buildings.xml"/>
<xi:include href="config://game/equipment.xml"/>
<xi:include href="config://game/items.xml"/>
<xi:include href="config://game/spells.xml"/>
<xi:include href="config://default/adamantium.xml"/>
<equipment>
<set name="first_unit">
<item name="money" amount="2500"/>

View File

@ -1,9 +1,25 @@
{
"include": [
"keywords.json",
"calendar.json",
"prefixes.json",
"e3/terrains.json"
"config://conf/keywords.json",
"config://conf/calendar.json",
"config://conf/prefixes.json",
"config://conf/e3/locales.json",
"config://conf/e3/terrains.json",
"config://conf/e3/items.json",
"config://conf/e3/races.json",
"config://res/e3a/familiars.xml",
"config://res/e3a/equipment.xml",
"config://res/e3a/ships.xml",
"config://res/e3a/buildings.xml",
"config://res/e3a/spells.xml",
"config://res/e3a/spellbooks/gray.xml",
"config://res/e3a/spellbooks/gwyrrd.xml",
"config://res/e3a/spellbooks/draig.xml",
"config://res/e3a/spellbooks/illaun.xml",
"config://res/e3a/spellbooks/cerddor.xml",
"config://res/e3a/spellbooks/common.xml",
"config://res/core/common/buildings.xml",
"config://res/buildings/castle-2.xml"
],
"disabled": [
"herbalism",

29
conf/e3/items.json Normal file
View File

@ -0,0 +1,29 @@
{
"include": [
"config://res/core/spoils.xml",
"config://res/core/common/herbs.xml",
"config://res/core/common/items.xml",
"config://res/core/common/luxuries.xml",
"config://res/core/resources/cart.xml",
"config://res/core/resources/horse.xml",
"config://res/core/resources/hp.xml",
"config://res/core/resources/laen.xml",
"config://res/core/resources/log.xml",
"config://res/core/resources/mallorn.xml",
"config://res/core/resources/peasant.xml",
"config://res/core/weapons/bow.xml",
"config://res/core/weapons/catapult.xml",
"config://res/core/weapons/mallornbow.xml",
"config://res/core/weapons/mallornspear.xml",
"config://res/core/weapons/runesword.xml",
"config://res/core/weapons/rustyaxe.xml",
"config://res/core/weapons/rustysword.xml",
"config://res/core/weapons/spear.xml",
"config://res/core/weapons/sword.xml",
"config://res/core/weapons/firesword.xml",
"config://res/e3a/weapons.xml",
"config://res/e3a/armor.xml",
"config://res/e3a/items.xml",
"config://res/adamantium.xml"
]
}

14
conf/e3/locales.json Normal file
View File

@ -0,0 +1,14 @@
{
"include": [
"config://res/core/messages.xml",
"config://res/core/de/strings.xml",
"config://res/core/en/strings.xml",
"config://res/e3a/strings.xml",
"config://res/e3a/shipnames.xml",
"config://res/names-undead.xml",
"config://res/names-skeletons.xml",
"config://res/names-zombies.xml",
"config://res/names-ghouls.xml",
"config://res/names-dragons.xml"
]
}

View File

@ -1,12 +0,0 @@
<?xml version="1.0"?>
<eressea xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="config://core/messages.xml"/>
<xi:include href="config://core/de/strings.xml"/>
<xi:include href="config://core/en/strings.xml"/>
<xi:include href="config://game/strings.xml"/>
<xi:include href="config://default/names-undead.xml"/>
<xi:include href="config://default/names-skeletons.xml"/>
<xi:include href="config://default/names-zombies.xml"/>
<xi:include href="config://default/names-ghouls.xml"/>
<xi:include href="config://default/names-dragons.xml"/>
</eressea>

9
conf/e3/races.json Normal file
View File

@ -0,0 +1,9 @@
{
"include": [
"config://res/races/goblin-3.xml",
"config://res/races/wyrm.xml",
"config://res/races/dragon.xml",
"config://res/races/youngdragon.xml",
"config://res/e3a/races.xml"
]
}

View File

@ -1,28 +0,0 @@
<?xml version="1.0"?>
<eressea xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="config://core/common/items.xml"/>
<xi:include href="config://core/common/herbs.xml" />
<xi:include href="config://core/spoils.xml"/>
<xi:include href="config://core/common/buildings.xml"/>
<xi:include href="config://game/familiars.xml"/>
<xi:include href="config://default/adamantium.xml" />
<xi:include href="config://game/ships.xml"/>
<xi:include href="config://game/shipnames.xml"/>
<xi:include href="config://game/items.xml" />
<xi:include href="config://game/races.xml"/>
<xi:include href="config://game/buildings.xml"/>
<xi:include href="config://game/equipment.xml"/>
<xi:include href="config://game/spells.xml"/>
<xi:include href="config://game/luxuries.xml" />
<xi:include href="config://game/weapons.xml" />
<xi:include href="config://game/armor.xml" />
<xi:include href="config://game/resources.xml" />
<xi:include href="config://default/names-undead.xml"/>
<xi:include href="config://default/names-skeletons.xml"/>
<xi:include href="config://default/names-zombies.xml"/>
<xi:include href="config://default/names-ghouls.xml"/>
<xi:include href="config://default/names-dragons.xml"/>
</eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<eressea>
<resources>
<resource name="adamantium" limited="yes" material="yes">
@ -32,3 +33,4 @@
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<buildings>
<building name="castle" fort="yes" taxes="100">
<construction skill="building" minskill="1" maxsize="10" name="site">
<requirement type="stone" quantity="1"/>
@ -19,3 +21,5 @@
<requirement type="stone" quantity="1"/>
</construction>
</building>
</buildings>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<buildings>
<building name="castle" fort="yes">
<construction skill="building" minskill="1" maxsize="2" name="site">
<requirement type="stone" quantity="1"/>
@ -22,3 +24,5 @@
<requirement type="stone" quantity="1"/>
</construction>
</building>
</buildings>
</eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0"?>
<eressea><resources>
<resource name="chainmail">
<item weight="200" score="90">
<construction skill="armorer" minskill="3">
@ -7,3 +8,4 @@
<armor ac="3" penalty="0.15" magres="0.0"/>
</item>
</resource>
</resources></eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0"?>
<eressea><resources>
<resource name="laenmail">
<item weight="100" score="1000">
<construction skill="armorer" minskill="9">
@ -7,3 +8,4 @@
<armor ac="6" penalty="0.0" magres="0.3" laen="yes" />
</item>
</resource>
</resources></eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0"?>
<eressea><resources>
<resource name="laenshield">
<item weight="0" score="1000">
<construction skill="armorer" minskill="7">
@ -7,3 +8,4 @@
<armor ac="2" penalty="-0.25" magres="0.3" laen="yes" shield="yes" />
</item>
</resource>
</resources></eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0"?>
<eressea><resources>
<resource name="plate">
<item weight="400" score="150">
<construction skill="armorer" minskill="4">
@ -7,3 +8,4 @@
<armor ac="5" penalty="0.30" magres="0.0"/>
</item>
</resource>
</resources></eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0"?>
<eressea><resources>
<resource name="rustychainmail">
<item weight="200" score="30">
<construction skill="armorer" minskill="3">
@ -7,4 +8,4 @@
<armor ac="2" penalty="0.30" magres="0.0"/>
</item>
</resource>
</resources></eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0"?>
<eressea><resources>
<resource name="rustyshield">
<item weight="100" score="10">
<construction skill="armorer" minskill="2">
@ -7,3 +8,4 @@
<armor ac="1" penalty="0.0" magres="0.0" shield="yes"/>
</item>
</resource>
</resources></eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0"?>
<eressea><resources>
<resource name="shield">
<item weight="100" score="30">
<construction skill="armorer" minskill="2">
@ -7,3 +8,4 @@
<armor ac="1" penalty="-0.15" magres="0.0" shield="yes"/>
</item>
</resource>
</resources></eressea>

View File

@ -1,10 +0,0 @@
<?xml version="1.0"?>
<resources xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="../armor/chainmail.xml"/>
<xi:include href="../armor/laenmail.xml"/>
<xi:include href="../armor/laenshield.xml"/>
<xi:include href="../armor/plate.xml"/>
<xi:include href="../armor/rustychainmail.xml"/>
<xi:include href="../armor/rustyshield.xml"/>
<xi:include href="../armor/shield.xml"/>
</resources>

View File

@ -1,4 +1,5 @@
<?xml version="1.0"?>
<eressea>
<buildings>
<building name="wormhole" maxsize="4" maxcapacity="4" nobuild="yes" nodestroy="yes" unique="yes" />
<building name="illusioncastle" capacity="0" maxcapacity="0" maxsize="0" nobuild="yes"/>
@ -167,4 +168,4 @@
</building>
</buildings>
</eressea>

View File

@ -1,10 +0,0 @@
<?xml version="1.0"?>
<!-- TODO: this does not work yet -->
<production>
<construction resource="laenshield" skill="armorer" minskill="7">
<requirement type="laen" quantity="1"/>
</construction>
<construction resource="laenmail" skill="armorer" minskill="9">
<requirement type="laen" quantity="3"/>
</construction>
</production>

View File

@ -1,4 +1,5 @@
<?xml version="1.0"?>
<eressea>
<resources>
<!-- this file contains herbs that are part of the alchemy system -->
@ -87,3 +88,4 @@
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="money">
@ -133,3 +134,4 @@
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0"?>
<eressea>
<resources>
<!-- this file contains luxury items that are part of the trade system -->
<resource name="balm">
@ -24,3 +25,4 @@
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0"?>
<eressea>
<resources>
<!-- this file contains potions that are part of the alchemy system -->
@ -180,3 +181,4 @@
</resource>
</resources>
</eressea>

View File

@ -1,19 +0,0 @@
<?xml version="1.0"?>
<resources xmlns:xi="http://www.w3.org/2001/XInclude">
<!--
this file contains the most important items and resources any game will
want to use. Or maybe you just have to roll your own file.
-->
<xi:include href="../resources/cart.xml"/>
<xi:include href="../resources/horse.xml"/>
<xi:include href="../resources/hp.xml"/>
<xi:include href="../resources/iron.xml"/>
<xi:include href="../resources/laen.xml"/>
<xi:include href="../resources/log.xml"/>
<xi:include href="../resources/mallorn.xml"/>
<xi:include href="../resources/mallornseed.xml"/>
<xi:include href="../resources/seed.xml"/>
<xi:include href="../resources/peasant.xml"/>
<xi:include href="../resources/stone.xml"/>
</resources>

View File

@ -1,24 +0,0 @@
<?xml version="1.0"?>
<resources xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="../weapons/axe.xml"/>
<xi:include href="../weapons/bow.xml"/>
<xi:include href="../weapons/catapult.xml"/>
<xi:include href="../weapons/crossbow.xml"/>
<xi:include href="../weapons/firesword.xml"/>
<xi:include href="../weapons/greatbow.xml"/>
<xi:include href="../weapons/greatsword.xml"/>
<xi:include href="../weapons/halberd.xml"/>
<xi:include href="../weapons/laensword.xml"/>
<xi:include href="../weapons/lance.xml"/>
<xi:include href="../weapons/mallornbow.xml"/>
<xi:include href="../weapons/mallorncrossbow.xml"/>
<xi:include href="../weapons/mallornlance.xml"/>
<xi:include href="../weapons/mallornspear.xml"/>
<xi:include href="../weapons/runesword.xml"/>
<xi:include href="../weapons/rustyaxe.xml"/>
<xi:include href="../weapons/rustygreatsword.xml"/>
<xi:include href="../weapons/rustyhalberd.xml"/>
<xi:include href="../weapons/rustysword.xml"/>
<xi:include href="../weapons/spear.xml"/>
<xi:include href="../weapons/sword.xml"/>
</resources>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<eressea>
<strings>
<!--
_d: dativ (wir erklären allen /Schlümpfen/ den Krieg)
@ -7483,3 +7484,4 @@
</string>
</strings>
</eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<eressea>
<strings>
<!--
Due to extreme lazyness on Enno's part, this file doesn't contain everything.
@ -1661,3 +1662,4 @@
<text locale="en">mistletoes</text>
</string>
</strings>
</eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<eressea>
<messages>
<message name="nr_insectwinter" section="nr">
<text locale="de">Es ist Winter, und Insekten können nur in Wüsten oder mit Hilfe des Nestwärme-Tranks Personen rekrutieren.</text>
@ -1654,35 +1655,6 @@
<text locale="de">"Der Eisberg $region($region) treibt nach $direction($dir)."</text>
<text locale="en">"The iceberg $region($region) drifts $direction($dir)."</text>
</message>
<message name="setjihad" section="events">
<type>
<arg name="race" type="race"/>
</type>
<text locale="de">"Wir erklären allen $race($race,2) den heiligen Krieg."</text>
<text locale="en">"We declare jihad on all $race($race,2)."</text>
</message>
<message name="pray_success" section="events">
<type>
<arg name="unit" type="unit"/>
</type>
<text locale="de">"Die Götter erhören $unit($unit)."</text>
<text locale="en">"The Gods have listened to $unit($unit)."</text>
</message>
<message name="new_fspecial_level" section="events">
<type>
<arg name="special" type="string"/>
<arg name="level" type="int"/>
</type>
<text locale="de">"Die Götter gewähren uns die Kraft eines $special($int($level))."</text>
<text locale="en">"The Gods grant us the powers of $special ($int($level))."</text>
</message>
<message name="new_fspecial" section="events">
<type>
<arg name="special" type="string"/>
</type>
<text locale="de">"Die Götter gewähren uns die Kraft eines ${special}."</text>
<text locale="en">"The Gods grant us the powers of ${special}."</text>
</message>
<message name="casualties" section="battle">
<type>
<arg name="unit" type="unit"/>
@ -8295,3 +8267,4 @@
</message>
</messages>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="cart">
<item capacity="14000" weight="4000" score="60" vehicle="yes" big="yes">
<construction skill="cartmaking" minskill="1">
@ -6,3 +8,5 @@
</construction>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,6 +1,10 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="horse" limited="yes">
<item big="yes" weight="5000" score="10" capacity="7000" animal="yes">
<construction skill="training" minskill="1" />
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,8 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="hp" pooled="false">
<function name="change" value="lua_changeresource"/>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="iron" limited="yes" material="yes">
<item weight="500" score="10">
<construction skill="mining" minskill="1"/>
@ -8,3 +10,5 @@
<modifier building="mine" type="material" value="0.5"/>
<modifier race="dwarf" type="material" value="0.6"/>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="laen" limited="yes" material="yes">
<item weight="200" score="100">
<construction skill="mining" minskill="7"/>
@ -6,3 +8,5 @@
<modifier building="mine" type="skill" value="1"/>
<modifier type="require" building="mine"/>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="log" limited="yes">
<item weight="500" score="10">
<construction skill="forestry" minskill="1"/>
@ -6,3 +8,5 @@
<modifier building="sawmill" type="skill" value="1"/>
<modifier building="sawmill" type="material" value="0.5"/>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="mallorn" limited="yes">
<item weight="500" score="30">
<construction skill="forestry" minskill="2"/>
@ -6,3 +8,5 @@
<modifier building="sawmill" type="skill" value="1"/>
<modifier building="sawmill" type="material" value="0.5"/>
</resource>
</resources>
</eressea>

View File

@ -1,6 +1,10 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="mallornseed" limited="yes">
<item weight="10" score="100">
<construction skill="herbalism" minskill="4"/>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,8 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="peasant" pooled="false">
<function name="change" value="lua_changeresource"/>
</resource>
</resources>
</eressea>

View File

@ -1,6 +1,10 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="seed" limited="yes">
<item weight="10" score="50">
<construction skill="herbalism" minskill="3"/>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="stone" limited="yes" material="yes">
<item weight="6000" score="10" big="yes">
<construction skill="quarrying" minskill="1"/>
@ -7,3 +9,5 @@
<modifier building="quarry" type="material" value="0.5"/>
<modifier race="troll" type="material" value="0.75"/>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0"?>
<eressea>
<ships>
<ship name="trireme" range="7" storm="1.00" damage="1.00" cargo="200000" cptskill="4" minskill="1" sumskill="120" opensea="yes">
<coast terrain="plain"/>
@ -73,4 +74,4 @@
</ship>
</ships>
</eressea>

View File

@ -1,12 +1,5 @@
<?xml version="1.0"?>
<spells xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="spellbooks/gray.xml"/>
<xi:include href="spellbooks/gwyrrd.xml"/>
<xi:include href="spellbooks/draig.xml"/>
<xi:include href="spellbooks/illaun.xml"/>
<xi:include href="spellbooks/cerddor.xml"/>
<xi:include href="spellbooks/tybied.xml"/>
<spells>
<!-- shared spells -->
<spell name="create_roi" ship="true" rank="5" index="130">

View File

@ -1,4 +1,5 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="elfspoil">
@ -57,3 +58,4 @@
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="axe">
<item weight="200">
<construction skill="weaponsmithing" minskill="3">
@ -11,3 +13,5 @@
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="bow">
<item weight="100">
<construction skill="weaponsmithing" minskill="2">
@ -11,3 +13,5 @@
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="catapult">
<item weight="10000" big="yes">
<construction skill="cartmaking" minskill="5">
@ -12,3 +14,5 @@
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="crossbow">
<item weight="100">
<construction skill="weaponsmithing" minskill="3">
@ -11,3 +13,5 @@
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="firesword">
<item weight="100">
<weapon magres="0.3" cut="true" skill="melee" offmod="1" defmod="1">
@ -8,3 +10,5 @@
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="greatbow">
<modifier type="require" race="elf"/>
<item weight="100">
@ -15,3 +17,5 @@
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="greatsword">
<item weight="200" score="30">
<construction skill="weaponsmithing" minskill="4">
@ -10,3 +12,5 @@
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="halberd">
<item weight="200">
<construction skill="weaponsmithing" minskill="3">
@ -12,3 +14,5 @@
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="laensword">
<item weight="100" score="400">
<construction skill="weaponsmithing" minskill="8">
@ -10,3 +12,5 @@
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="lance">
<item weight="200">
<construction skill="weaponsmithing" minskill="2">
@ -10,3 +12,5 @@
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="mallornbow">
<item weight="100">
<construction skill="weaponsmithing" minskill="5">
@ -14,3 +16,5 @@
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="mallorncrossbow">
<item weight="100">
<construction skill="weaponsmithing" minskill="5">
@ -11,3 +13,5 @@
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="mallornlance">
<item weight="100">
<construction skill="weaponsmithing" minskill="5">
@ -10,3 +12,5 @@
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="mallornspear">
<item weight="100">
<construction skill="weaponsmithing" minskill="5">
@ -12,3 +14,5 @@
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="runesword">
<item weight="100" score="2000">
<weapon cut="true" magical="yes" skill="melee" offmod="2" defmod="2">
@ -8,3 +10,5 @@
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="rustyaxe">
<item weight="200">
<construction skill="weaponsmithing" minskill="3">
@ -11,3 +13,5 @@
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="rustygreatsword">
<item weight="200" score="20">
<construction skill="weaponsmithing" minskill="4">
@ -10,3 +12,5 @@
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="rustyhalberd">
<item weight="200" score="20">
<construction skill="weaponsmithing" minskill="3">
@ -12,3 +14,5 @@
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="rustysword">
<item weight="100" score="10">
<construction skill="weaponsmithing" minskill="3">
@ -10,3 +12,5 @@
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="spear">
<item weight="100">
<construction skill="weaponsmithing" minskill="2">
@ -12,3 +14,5 @@
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?>
<eressea>
<resources>
<resource name="sword">
<item weight="100" score="30">
<construction skill="weaponsmithing" minskill="3">
@ -10,3 +12,5 @@
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,12 +1,83 @@
<?xml version="1.0"?>
<resources xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="armor/chainmail.xml"/>
<xi:include href="armor/laenmail.xml"/>
<xi:include href="armor/laenshield.xml"/>
<xi:include href="armor/plate.xml"/>
<xi:include href="armor/rustychainmail.xml"/>
<xi:include href="armor/rustyshield.xml"/>
<xi:include href="armor/scale.xml"/>
<xi:include href="armor/shield.xml"/>
<xi:include href="armor/towershield.xml"/>
<eressea>
<resources>
<resource name="towershield">
<modifier type="require" race="dwarf"/>
<modifier type="require" race="irongolem"/>
<item weight="200" score="60" allow="dwarf">
<construction skill="armorer" minskill="4">
<requirement type="iron" quantity="1"/>
</construction>
<armor ac="0" penalty="-0.15" projectile="0.25" magres="0.0" shield="yes">
<modifier type="canuse" function="mod_dwarves_only"/>
</armor>
</item>
</resource>
<resource name="shield">
<item weight="100" score="30">
<construction skill="armorer" minskill="2">
<requirement type="iron" quantity="1"/>
</construction>
<armor ac="0" penalty="-0.10" magres="0.0" shield="yes"/>
</item>
</resource>
<resource name="scale">
<modifier type="require" race="dwarf"/>
<modifier type="require" race="irongolem"/>
<item weight="300" score="150" allow="dwarf halfling">
<construction skill="armorer" minskill="5">
<requirement type="iron" quantity="2"/>
</construction>
<armor ac="3" penalty="0.10" projectile="0.05" magres="0.0"/>
</item>
</resource>
<resource name="rustyshield">
<item weight="100" score="10">
<construction skill="armorer" minskill="2">
<requirement type="iron" quantity="1"/>
</construction>
<armor ac="0" penalty="-0.05" magres="0.0" shield="yes"/>
</item>
</resource>
<resource name="rustychainmail">
<item weight="200" score="30">
<construction skill="armorer" minskill="3">
<requirement type="iron" quantity="3"/>
</construction>
<armor ac="1" penalty="0.20" magres="0.0"/>
</item>
</resource>
<resource name="plate">
<item weight="400" score="150" deny="goblin">
<construction skill="armorer" minskill="4">
<requirement type="iron" quantity="4"/>
</construction>
<armor ac="3" penalty="0.15" projectile="0.10" magres="0.0"/>
</item>
</resource>
<resource name="laenshield">
<item weight="0" score="1000">
<construction skill="armorer" minskill="7">
<requirement type="laen" quantity="1"/>
</construction>
<armor ac="1" penalty="-0.10" magres="0.3" laen="yes" shield="yes" />
</item>
</resource>
<resource name="laenmail">
<item weight="100" score="1000">
<construction skill="armorer" minskill="9">
<requirement type="laen" quantity="2"/>
</construction>
<armor ac="3" penalty="0.0" projectile="0.10" magres="0.3" laen="yes" />
</item>
</resource>
<resource name="chainmail">
<item weight="200" score="90">
<construction skill="armorer" minskill="3">
<requirement type="iron" quantity="2"/>
</construction>
<armor ac="2" penalty="0.10" projectile="0.0" magres="0.0"/>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,9 +0,0 @@
<?xml version="1.0"?>
<resource name="chainmail">
<item weight="200" score="90">
<construction skill="armorer" minskill="3">
<requirement type="iron" quantity="2"/>
</construction>
<armor ac="2" penalty="0.10" projectile="0.0" magres="0.0"/>
</item>
</resource>

View File

@ -1,9 +0,0 @@
<?xml version="1.0"?>
<resource name="laenmail">
<item weight="100" score="1000">
<construction skill="armorer" minskill="9">
<requirement type="laen" quantity="2"/>
</construction>
<armor ac="3" penalty="0.0" projectile="0.10" magres="0.3" laen="yes" />
</item>
</resource>

View File

@ -1,9 +0,0 @@
<?xml version="1.0"?>
<resource name="laenshield">
<item weight="0" score="1000">
<construction skill="armorer" minskill="7">
<requirement type="laen" quantity="1"/>
</construction>
<armor ac="1" penalty="-0.10" magres="0.3" laen="yes" shield="yes" />
</item>
</resource>

View File

@ -1,9 +0,0 @@
<?xml version="1.0"?>
<resource name="plate">
<item weight="400" score="150" deny="goblin">
<construction skill="armorer" minskill="4">
<requirement type="iron" quantity="4"/>
</construction>
<armor ac="3" penalty="0.15" projectile="0.10" magres="0.0"/>
</item>
</resource>

View File

@ -1,9 +0,0 @@
<?xml version="1.0"?>
<resource name="rustychainmail">
<item weight="200" score="30">
<construction skill="armorer" minskill="3">
<requirement type="iron" quantity="3"/>
</construction>
<armor ac="1" penalty="0.20" magres="0.0"/>
</item>
</resource>

View File

@ -1,9 +0,0 @@
<?xml version="1.0"?>
<resource name="rustyshield">
<item weight="100" score="10">
<construction skill="armorer" minskill="2">
<requirement type="iron" quantity="1"/>
</construction>
<armor ac="0" penalty="-0.05" magres="0.0" shield="yes"/>
</item>
</resource>

View File

@ -1,11 +0,0 @@
<?xml version="1.0"?>
<resource name="scale">
<modifier type="require" race="dwarf"/>
<modifier type="require" race="irongolem"/>
<item weight="300" score="150" allow="dwarf halfling">
<construction skill="armorer" minskill="5">
<requirement type="iron" quantity="2"/>
</construction>
<armor ac="3" penalty="0.10" projectile="0.05" magres="0.0"/>
</item>
</resource>

View File

@ -1,9 +0,0 @@
<?xml version="1.0"?>
<resource name="shield">
<item weight="100" score="30">
<construction skill="armorer" minskill="2">
<requirement type="iron" quantity="1"/>
</construction>
<armor ac="0" penalty="-0.10" magres="0.0" shield="yes"/>
</item>
</resource>

View File

@ -1,13 +0,0 @@
<?xml version="1.0"?>
<resource name="towershield">
<modifier type="require" race="dwarf"/>
<modifier type="require" race="irongolem"/>
<item weight="200" score="60" allow="dwarf">
<construction skill="armorer" minskill="4">
<requirement type="iron" quantity="1"/>
</construction>
<armor ac="0" penalty="-0.15" projectile="0.25" magres="0.0" shield="yes">
<modifier type="canuse" function="mod_dwarves_only"/>
</armor>
</item>
</resource>

View File

@ -1,7 +1,6 @@
<?xml version="1.0"?>
<buildings xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="config://default/buildings/castle-2.xml" />
<eressea>
<buildings>
<building name="watch" maxsize="10" fort="yes" taxes="200">
<construction skill="building" minskill="1" maxsize="5" name="scaffolding">
@ -24,4 +23,4 @@
</building>
</buildings>
</eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0"?>
<eressea>
<equipment>
<set name="spo_seaserpent">
@ -7,3 +8,4 @@
</set>
</equipment>
</eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0"?>
<eressea>
<equipment>
<!-- equipment given to familiars -->
@ -101,4 +102,4 @@
</set>
</equipment>
</eressea>

View File

@ -1,6 +1,32 @@
<?xml version="1.0" encoding="UTF-8" ?>
<eressea>
<resources>
<resource name="stone" limited="yes" material="yes">
<item weight="6000" score="10" big="yes">
<construction skill="quarrying" minskill="1"/>
</item>
<modifier building="quarry" type="skill" value="1"/>
<modifier building="quarry" type="material" value="0.5"/>
</resource>
<resource name="iron" limited="yes" material="yes">
<item weight="500" score="10">
<construction skill="mining" minskill="1"/>
</item>
<modifier building="smithy" type="save" value="2"/>
<modifier building="mine" type="skill" value="1"/>
<modifier building="mine" type="material" value="0.5"/>
</resource>
<resource name="seed">
<item weight="10" score="50"/>
</resource>
<resource name="mallornseed">
<item weight="10" score="100"/>
</resource>
<resource name="rpg_item_1"><item weight="10"/></resource>
<resource name="rpg_item_2"><item weight="1"/></resource>
<resource name="rpg_item_3"><item weight="100"/></resource>
@ -76,3 +102,4 @@
</resource>
</resources>
</eressea>

View File

@ -1,13 +1,9 @@
<?xml version="1.0" ?>
<races xmlns:xi="http://www.w3.org/2001/XInclude">
<eressea>
<races>
<!-- begin main races -->
<xi:include href="config://default/races/goblin-3.xml"/>
<xi:include href="config://default/races/wyrm.xml"/>
<xi:include href="config://default/races/dragon.xml"/>
<xi:include href="config://default/races/youngdragon.xml"/>
<race name="lynx" maxaura="0.000000" regaura="0.000000" weight="500" capacity="540" speed="1.0" hp="20" damage="2d3" unarmedattack="0" unarmeddefense="0" attackmodifier="4" defensemodifier="5" walk="yes" teach="no" getitem="yes">
<ai splitsize="99999"/>
<skill name="crossbow" modifier="-99"/>
@ -846,3 +842,4 @@
</race>
</races>
</eressea>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<resources xmlns:xi="http://www.w3.org/2001/XInclude">
<!-- this file contains resources that can be mined in some way (anything with a resourcelimit) -->
<xi:include href="config://core/resources/cart.xml"/>
<xi:include href="config://core/resources/horse.xml"/>
<xi:include href="config://core/resources/hp.xml"/>
<xi:include href="config://core/resources/laen.xml"/>
<xi:include href="config://core/resources/log.xml"/>
<xi:include href="config://core/resources/mallorn.xml"/>
<xi:include href="config://core/resources/peasant.xml"/>
<xi:include href="resources/iron.xml"/>
<xi:include href="resources/mallornseed.xml"/>
<xi:include href="resources/seed.xml"/>
<xi:include href="resources/stone.xml"/>
</resources>

View File

@ -1,9 +0,0 @@
<?xml version="1.0"?>
<resource name="iron" limited="yes" material="yes">
<item weight="500" score="10">
<construction skill="mining" minskill="1"/>
</item>
<modifier building="smithy" type="save" value="2"/>
<modifier building="mine" type="skill" value="1"/>
<modifier building="mine" type="material" value="0.5"/>
</resource>

View File

@ -1,4 +0,0 @@
<?xml version="1.0"?>
<resource name="mallornseed">
<item weight="10" score="100"/>
</resource>

View File

@ -1,4 +0,0 @@
<?xml version="1.0"?>
<resource name="seed">
<item weight="10" score="50"/>
</resource>

View File

@ -1,8 +0,0 @@
<?xml version="1.0"?>
<resource name="stone" limited="yes" material="yes">
<item weight="6000" score="10" big="yes">
<construction skill="quarrying" minskill="1"/>
</item>
<modifier building="quarry" type="skill" value="1"/>
<modifier building="quarry" type="material" value="0.5"/>
</resource>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<eressea>
<strings>
<string name="canoe_a">
<text locale="de">ein Einbaum</text>
@ -106,3 +107,4 @@
<text locale="en">trireme</text>
</string>
</strings>
</eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0"?>
<eressea>
<ships>
<ship name="canoe" nocoast="true" range="3" fishing="20" storm="1.00" damage="1.00" cabins="2" cargo="2000" cptskill="1" minskill="1" sumskill="2" opensea="no">
<coast terrain="plain"/>
@ -143,4 +144,4 @@
</ship>
</ships>
</eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" ?>
<eressea>
<spellbook name="cerddor">
<entry spell="create_potion_p2" level="2" />
<entry spell="create_potion_p0" level="3" />
@ -35,3 +36,4 @@
<entry spell="incite_riot" level="15" />
<entry spell="summon_familiar" level="9" />
</spellbook>
</eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" ?>
<eressea>
<spellbook name="common">
<entry spell="goodwinds" level="4" />
<entry spell="create_trollbelt" level="9" />
@ -42,3 +43,4 @@
<entry spell="shockwave" level="5" />
<entry spell="eternal_walls" level="7" />
</spellbook>
</eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" ?>
<eressea>
<spellbook name="draig">
<entry spell="create_potion_p2" level="2" />
<entry spell="create_potion_p0" level="3" />
@ -31,3 +32,4 @@
<entry spell="unholypower" level="14" />
<entry spell="summon_familiar" level="9" />
</spellbook>
</eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" ?>
<eressea>
<spellbook name="gray">
<entry spell="acidrain" level="8" />
<entry spell="airship" level="6" />
@ -142,3 +143,4 @@
<entry spell="wolfhowl" level="7" />
<entry spell="wyrm_transformation" level="1" />
</spellbook>
</eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" ?>
<eressea>
<spellbook name="gwyrrd">
<entry spell="create_potion_p2" level="2" />
<entry spell="create_potion_p0" level="3" />
@ -32,3 +33,4 @@
<entry spell="rustweapon" level="3" />
<entry spell="summon_familiar" level="9" />
</spellbook>
</eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" ?>
<eressea>
<spellbook name="illaun">
<entry spell="create_potion_p2" level="2" />
<entry spell="create_potion_p0" level="3" />
@ -32,3 +33,4 @@
<entry spell="create_dreameye" level="14" />
<entry spell="summon_familiar" level="9" />
</spellbook>
</eressea>

View File

@ -1,12 +1,6 @@
<?xml version="1.0"?>
<spells xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="spellbooks/common.xml"/>
<xi:include href="spellbooks/gray.xml"/>
<xi:include href="spellbooks/gwyrrd.xml"/>
<xi:include href="spellbooks/draig.xml"/>
<xi:include href="spellbooks/illaun.xml"/>
<xi:include href="spellbooks/cerddor.xml"/>
<eressea>
<spells>
<!-- shared spells -->
<spell name="create_roi" ship="true" rank="5" index="130">
@ -656,3 +650,4 @@
</spell>
<!-- end gray spells -->
</spells>
</eressea>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<eressea>
<strings>
<!--
_d: dativ (wir erklären allen /Trollen/ den Krieg)
@ -290,3 +291,4 @@
</namespace>
</strings>
</eressea>

View File

@ -1,25 +1,170 @@
<?xml version="1.0"?>
<resources xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="config://core/weapons/bow.xml"/>
<xi:include href="config://core/weapons/catapult.xml"/>
<xi:include href="config://core/weapons/mallornbow.xml"/>
<xi:include href="config://core/weapons/mallornspear.xml"/>
<xi:include href="config://core/weapons/runesword.xml"/>
<xi:include href="config://core/weapons/rustyaxe.xml"/>
<xi:include href="config://core/weapons/rustysword.xml"/>
<xi:include href="config://core/weapons/spear.xml"/>
<xi:include href="config://core/weapons/sword.xml"/>
<xi:include href="config://core/weapons/firesword.xml"/>
<xi:include href="config://game/weapons/rep_crossbow.xml"/>
<xi:include href="config://game/weapons/lance.xml"/>
<xi:include href="config://game/weapons/axe.xml"/>
<xi:include href="config://game/weapons/crossbow.xml"/>
<xi:include href="config://game/weapons/greatbow.xml"/>
<xi:include href="config://game/weapons/greatsword.xml"/>
<xi:include href="config://game/weapons/halberd.xml"/>
<xi:include href="config://game/weapons/laensword.xml"/>
<xi:include href="config://game/weapons/mallorncrossbow.xml"/>
<xi:include href="config://game/weapons/mallornlance.xml"/>
<xi:include href="config://game/weapons/rustygreatsword.xml"/>
<xi:include href="config://game/weapons/rustyhalberd.xml"/>
<eressea>
<resources>
<resource name="rustygreatsword">
<!-- changes to the regular weapon:
1. you cannt use this with cavalry
-->
<item weight="200" score="20">
<construction skill="weaponsmithing" minskill="4">
<requirement type="iron" quantity="2"/>
</construction>
<weapon useshield="false" cut="true" skill="melee" offmod="-2" defmod="-3" horse="false">
<damage type="rider" value="2d8"/>
<damage type="footman" value="2d8"/>
</weapon>
</item>
</resource>
<resource name="rustyhalberd">
<!-- changes to the regular weapon:
1. you cannot use this with cavalry
-->
<item weight="200" score="20" deny="goblin">
<construction skill="weaponsmithing" minskill="3">
<requirement type="iron" quantity="1"/>
<requirement type="log" quantity="1"/>
</construction>
<weapon useshield="false" cut="true" skill="polearm" offmod="-2" defmod="-1" horse="false">
<damage type="rider" value="2d6"/>
<damage type="footman" value="2d6"/>
</weapon>
</item>
</resource>
<resource name="rep_crossbow">
<modifier type="require" race="dwarf"/>
<item weight="100" allow="dwarf halfling">
<construction skill="weaponsmithing" minskill="5">
<requirement type="log" quantity="1"/>
<requirement type="iron" quantity="1"/>
</construction>
<weapon armorpiercing="true" pierce="true" missile="true" skill="crossbow" offmod="0" defmod="0" reload="1">
<damage type="rider" value="3d4+5"/>
<damage type="footman" value="3d4+5"/>
<modifier type="missile_target" value="0"/>
</weapon>
</item>
</resource>
<resource name="mallornlance">
<item weight="100" deny="goblin">
<construction skill="weaponsmithing" minskill="5">
<requirement type="mallorn" quantity="2"/>
</construction>
<weapon pierce="true" skill="polearm" offmod="0" defmod="0" magres="0.15">
<damage type="footman" value="1d5+2"/>
<damage type="rider" value="2d6+7"/>
</weapon>
</item>
</resource>
<resource name="lance">
<item weight="200" deny="goblin">
<construction skill="weaponsmithing" minskill="2">
<requirement type="log" quantity="2"/>
</construction>
<weapon pierce="true" skill="polearm" offmod="0" defmod="-2">
<damage type="footman" value="1d5"/>
<damage type="rider" value="2d6+5"/>
</weapon>
</item>
</resource>
<resource name="mallorncrossbow">
<item weight="100">
<construction skill="weaponsmithing" minskill="5">
<requirement type="mallorn" quantity="1"/>
</construction>
<weapon armorpiercing="true" pierce="true" missile="true" skill="crossbow" offmod="0" defmod="0" reload="2" magres="0.15">
<damage type="rider" value="3d4+6"/>
<damage type="footman" value="3d4+6"/>
<modifier type="missile_target" value="0"/>
</weapon>
</item>
</resource>
<resource name="laensword">
<!-- changes:
* has lower damage
-->
<item weight="100" score="400">
<construction skill="weaponsmithing" minskill="8">
<requirement type="laen" quantity="1"/>
</construction>
<weapon cut="true" skill="melee" offmod="1" defmod="1" magres="0.30">
<damage type="rider" value="2d9+4"/>
<damage type="footman" value="2d9+4"/>
</weapon>
</item>
</resource>
<resource name="halberd">
<!-- changes to the regular weapon:
1. you cannt use this with cavalry
-->
<item weight="200" deny="goblin">
<construction skill="weaponsmithing" minskill="3">
<requirement type="log" quantity="2"/>
<requirement type="iron" quantity="1"/>
</construction>
<weapon useshield="false" cut="true" skill="polearm" offmod="-1" defmod="2" magres="0.0" horse="false">
<damage type="rider" value="2d6+3"/>
<damage type="footman" value="2d6+3"/>
<modifier type="skill" value="1" walking="true" against_riding="true" defensive="true"/>
</weapon>
</item>
</resource>
<resource name="greatsword">
<!-- changes to the regular weapon:
1. you cannt use this with cavalry
-->
<item weight="200" score="30">
<construction skill="weaponsmithing" minskill="4">
<requirement type="iron" quantity="2"/>
</construction>
<weapon useshield="false" cut="true" skill="melee" offmod="-1" defmod="-2" horse="false">
<damage type="rider" value="2d8+3"/>
<damage type="footman" value="2d8+3"/>
</weapon>
</item>
</resource>
<resource name="greatbow">
<!-- changes:
* has a lua canuse function
* has lower damage
-->
<modifier type="require" race="elf"/>
<item weight="100" allow="elf">
<construction skill="weaponsmithing" minskill="5">
<requirement type="mallorn" quantity="2"/>
</construction>
<weapon pierce="true" missile="true" skill="bow" offmod="0" defmod="0" reload="0" magres="0.0">
<damage type="rider" value="2d4+5"/>
<damage type="footman" value="2d4+5"/>
<modifier type="missile_target" value="2"/>
<modifier type="damage" value="1">
<race name="elf"/>
</modifier>
</weapon>
</item>
</resource>
<resource name="crossbow">
<item weight="100">
<construction skill="weaponsmithing" minskill="3">
<requirement type="log" quantity="1"/>
</construction>
<weapon armorpiercing="true" pierce="true" missile="true" skill="crossbow" offmod="0" defmod="0" reload="2">
<damage type="rider" value="3d4+5"/>
<damage type="footman" value="3d4+5"/>
<modifier type="missile_target" value="0"/>
</weapon>
</item>
</resource>
<resource name="axe">
<item weight="200" deny="goblin">
<construction skill="weaponsmithing" minskill="3">
<requirement type="log" quantity="1"/>
<requirement type="iron" quantity="1"/>
</construction>
<weapon cut="true" skill="melee" offmod="1" defmod="-2">
<damage type="rider" value="2d6+4"/>
<damage type="footman" value="2d6+4"/>
</weapon>
</item>
</resource>
</resources>
</eressea>

View File

@ -1,13 +0,0 @@
<?xml version="1.0"?>
<resource name="axe">
<item weight="200" deny="goblin">
<construction skill="weaponsmithing" minskill="3">
<requirement type="log" quantity="1"/>
<requirement type="iron" quantity="1"/>
</construction>
<weapon cut="true" skill="melee" offmod="1" defmod="-2">
<damage type="rider" value="2d6+4"/>
<damage type="footman" value="2d6+4"/>
</weapon>
</item>
</resource>

Some files were not shown because too many files have changed in this diff Show More