reqsize defaults to 1.

remove default values from xml to make it smaller and simpler.
This commit is contained in:
Enno Rehling 2016-08-06 13:53:07 +02:00
parent db5b90e80b
commit e2808eeea9
69 changed files with 127 additions and 127 deletions

View File

@ -3,7 +3,7 @@
<resource name="adamantium" limited="yes" material="rm_adamantium"> <resource name="adamantium" limited="yes" material="rm_adamantium">
<item weight="200" score="200"> <item weight="200" score="200">
<construction skill="mining" minskill="8" reqsize="1"/> <construction skill="mining" minskill="8"/>
</item> </item>
<resourcelimit> <resourcelimit>
<modifier type="require" building="mine"/> <modifier type="require" building="mine"/>
@ -13,7 +13,7 @@
<resource name="adamantiumaxe"> <resource name="adamantiumaxe">
<item weight="100" score="500"> <item weight="100" score="500">
<construction skill="weaponsmithing" minskill="8" reqsize="1"> <construction skill="weaponsmithing" minskill="8">
<requirement type="adamantium" quantity="1"/> <requirement type="adamantium" quantity="1"/>
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
</construction> </construction>
@ -26,7 +26,7 @@
<resource name="adamantiumplate"> <resource name="adamantiumplate">
<item weight="100" score="2000"> <item weight="100" score="2000">
<construction skill="armorer" minskill="10" reqsize="1"> <construction skill="armorer" minskill="10">
<requirement type="adamantium" quantity="3"/> <requirement type="adamantium" quantity="3"/>
</construction> </construction>
<armor ac="7" penalty="0.1"/> <armor ac="7" penalty="0.1"/>

View File

@ -3,22 +3,22 @@
<function name="name" value="castle_name_2"/> <function name="name" value="castle_name_2"/>
<function name="protection" value="building_protection"/> <function name="protection" value="building_protection"/>
<function name="taxes" value="lua_building_taxes"/> <function name="taxes" value="lua_building_taxes"/>
<construction skill="building" minskill="1" maxsize="10" reqsize="1" defense_bonus="0"> <construction skill="building" minskill="1" maxsize="10" defense_bonus="0">
<requirement type="stone" quantity="1"/> <requirement type="stone" quantity="1"/>
</construction> </construction>
<construction skill="building" minskill="2" maxsize="40" reqsize="1" defense_bonus="1"> <construction skill="building" minskill="2" maxsize="40" defense_bonus="1">
<requirement type="stone" quantity="1"/> <requirement type="stone" quantity="1"/>
</construction> </construction>
<construction skill="building" minskill="3" maxsize="200" reqsize="1" defense_bonus="3"> <construction skill="building" minskill="3" maxsize="200" defense_bonus="3">
<requirement type="stone" quantity="1"/> <requirement type="stone" quantity="1"/>
</construction> </construction>
<construction skill="building" minskill="4" maxsize="1000" reqsize="1" defense_bonus="5"> <construction skill="building" minskill="4" maxsize="1000" defense_bonus="5">
<requirement type="stone" quantity="1"/> <requirement type="stone" quantity="1"/>
</construction> </construction>
<construction skill="building" minskill="5" maxsize="5000" reqsize="1" defense_bonus="8"> <construction skill="building" minskill="5" maxsize="5000" defense_bonus="8">
<requirement type="stone" quantity="1"/> <requirement type="stone" quantity="1"/>
</construction> </construction>
<construction skill="building" minskill="6" reqsize="1" defense_bonus="12"> <construction skill="building" minskill="6" defense_bonus="12">
<requirement type="stone" quantity="1"/> <requirement type="stone" quantity="1"/>
</construction> </construction>
</building> </building>

View File

@ -2,25 +2,25 @@
<building name="castle" capacity="1" fort="yes"> <building name="castle" capacity="1" fort="yes">
<function name="name" value="castle_name"/> <function name="name" value="castle_name"/>
<function name="protection" value="building_protection"/> <function name="protection" value="building_protection"/>
<construction skill="building" minskill="1" maxsize="2" reqsize="1" defense_bonus="0"> <construction skill="building" minskill="1" maxsize="2" defense_bonus="0">
<requirement type="stone" quantity="1"/> <requirement type="stone" quantity="1"/>
</construction> </construction>
<construction skill="building" minskill="1" maxsize="8" reqsize="1" defense_bonus="0"> <construction skill="building" minskill="1" maxsize="8" defense_bonus="0">
<requirement type="stone" quantity="1"/> <requirement type="stone" quantity="1"/>
</construction> </construction>
<construction skill="building" minskill="2" maxsize="40" reqsize="1" defense_bonus="1"> <construction skill="building" minskill="2" maxsize="40" defense_bonus="1">
<requirement type="stone" quantity="1"/> <requirement type="stone" quantity="1"/>
</construction> </construction>
<construction skill="building" minskill="3" maxsize="200" reqsize="1" defense_bonus="3"> <construction skill="building" minskill="3" maxsize="200" defense_bonus="3">
<requirement type="stone" quantity="1"/> <requirement type="stone" quantity="1"/>
</construction> </construction>
<construction skill="building" minskill="4" maxsize="1000" reqsize="1" defense_bonus="5"> <construction skill="building" minskill="4" maxsize="1000" defense_bonus="5">
<requirement type="stone" quantity="1"/> <requirement type="stone" quantity="1"/>
</construction> </construction>
<construction skill="building" minskill="5" maxsize="5000" reqsize="1" defense_bonus="8"> <construction skill="building" minskill="5" maxsize="5000" defense_bonus="8">
<requirement type="stone" quantity="1"/> <requirement type="stone" quantity="1"/>
</construction> </construction>
<construction skill="building" minskill="6" reqsize="1" defense_bonus="12"> <construction skill="building" minskill="6" defense_bonus="12">
<requirement type="stone" quantity="1"/> <requirement type="stone" quantity="1"/>
</construction> </construction>
</building> </building>

View File

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

View File

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

View File

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

View File

@ -2,7 +2,7 @@
<resource name="plate"> <resource name="plate">
<item weight="400" score="150"> <item weight="400" score="150">
<function name="canuse" value="lua_canuse_item"/> <function name="canuse" value="lua_canuse_item"/>
<construction skill="armorer" minskill="4" reqsize="1"> <construction skill="armorer" minskill="4">
<requirement type="iron" quantity="5"/> <requirement type="iron" quantity="5"/>
</construction> </construction>
<armor ac="5" penalty="0.30" magres="0.0"/> <armor ac="5" penalty="0.30" magres="0.0"/>

View File

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

View File

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

View File

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

View File

@ -66,7 +66,7 @@
</building> </building>
<building name="monument" namechange="no" capacity="1"> <building name="monument" namechange="no" capacity="1">
<construction skill="building" minskill="4" reqsize="1"> <construction skill="building" minskill="4">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
<requirement type="stone" quantity="1"/> <requirement type="stone" quantity="1"/>
<requirement type="iron" quantity="1"/> <requirement type="iron" quantity="1"/>
@ -76,7 +76,7 @@
<building name="stables" capacity="1"> <building name="stables" capacity="1">
<maintenance type="money" amount="150" vital="yes"/> <maintenance type="money" amount="150" vital="yes"/>
<construction skill="building" minskill="2" reqsize="1"> <construction skill="building" minskill="2">
<requirement type="log" quantity="4"/> <requirement type="log" quantity="4"/>
<requirement type="stone" quantity="2"/> <requirement type="stone" quantity="2"/>
<requirement type="iron" quantity="1"/> <requirement type="iron" quantity="1"/>
@ -86,7 +86,7 @@
<building name="sawmill" capacity="1"> <building name="sawmill" capacity="1">
<maintenance type="money" amount="250" vital="yes"/> <maintenance type="money" amount="250" vital="yes"/>
<construction skill="building" minskill="3" reqsize="1"> <construction skill="building" minskill="3">
<requirement type="log" quantity="5"/> <requirement type="log" quantity="5"/>
<requirement type="stone" quantity="5"/> <requirement type="stone" quantity="5"/>
<requirement type="iron" quantity="3"/> <requirement type="iron" quantity="3"/>
@ -98,7 +98,7 @@
<function name="init" value="init_smithy"/> <function name="init" value="init_smithy"/>
<maintenance type="money" amount="300" vital="yes"/> <maintenance type="money" amount="300" vital="yes"/>
<maintenance type="log" amount="1"/> <maintenance type="log" amount="1"/>
<construction skill="building" minskill="3" reqsize="1"> <construction skill="building" minskill="3">
<requirement type="log" quantity="5"/> <requirement type="log" quantity="5"/>
<requirement type="stone" quantity="5"/> <requirement type="stone" quantity="5"/>
<requirement type="iron" quantity="2"/> <requirement type="iron" quantity="2"/>
@ -139,7 +139,7 @@
<building name="quarry" capacity="1"> <building name="quarry" capacity="1">
<maintenance type="money" amount="250" vital="yes"/> <maintenance type="money" amount="250" vital="yes"/>
<construction skill="building" minskill="2" reqsize="1"> <construction skill="building" minskill="2">
<requirement type="iron" quantity="1"/> <requirement type="iron" quantity="1"/>
<requirement type="log" quantity="5"/> <requirement type="log" quantity="5"/>
<requirement type="stone" quantity="1"/> <requirement type="stone" quantity="1"/>
@ -149,7 +149,7 @@
<building name="mine" capacity="1"> <building name="mine" capacity="1">
<maintenance type="money" amount="500" vital="yes"/> <maintenance type="money" amount="500" vital="yes"/>
<construction skill="building" minskill="4" reqsize="1"> <construction skill="building" minskill="4">
<requirement type="iron" quantity="1"/> <requirement type="iron" quantity="1"/>
<requirement type="log" quantity="10"/> <requirement type="log" quantity="10"/>
<requirement type="stone" quantity="5"/> <requirement type="stone" quantity="5"/>
@ -159,7 +159,7 @@
<building name="lighthouse" capacity="1" maxcapacity="4"> <building name="lighthouse" capacity="1" maxcapacity="4">
<maintenance type="money" amount="100" vital="yes"/> <maintenance type="money" amount="100" vital="yes"/>
<construction skill="building" minskill="3" reqsize="1"> <construction skill="building" minskill="3">
<requirement type="iron" quantity="1"/> <requirement type="iron" quantity="1"/>
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
<requirement type="stone" quantity="2"/> <requirement type="stone" quantity="2"/>

View File

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

View File

@ -143,7 +143,7 @@
<resource name="catapultammo"> <resource name="catapultammo">
<item weight="1000"> <item weight="1000">
<construction skill="quarrying" minskill="3" reqsize="1"> <construction skill="quarrying" minskill="3">
<requirement type="stone" quantity="1"/> <requirement type="stone" quantity="1"/>
</construction> </construction>
</item> </item>

View File

@ -7,7 +7,7 @@
<item weight="0" score="30"> <item weight="0" score="30">
<function name="use" value="usepotion"/> <function name="use" value="usepotion"/>
<potion level="1"/> <potion level="1"/>
<construction skill="alchemy" minskill="2" reqsize="1"> <construction skill="alchemy" minskill="2">
<requirement type="h4"/> <requirement type="h4"/>
<requirement type="h12"/> <requirement type="h12"/>
</construction> </construction>
@ -18,7 +18,7 @@
<item weight="0" score="30"> <item weight="0" score="30">
<function name="use" value="usepotion"/> <function name="use" value="usepotion"/>
<potion level="1"/> <potion level="1"/>
<construction skill="alchemy" minskill="2" reqsize="1"> <construction skill="alchemy" minskill="2">
<requirement type="h6"/> <requirement type="h6"/>
<requirement type="h13"/> <requirement type="h13"/>
</construction> </construction>
@ -29,7 +29,7 @@
<item weight="0" score="30"> <item weight="0" score="30">
<function name="use" value="usepotion"/> <function name="use" value="usepotion"/>
<potion level="1"/> <potion level="1"/>
<construction skill="alchemy" minskill="2" reqsize="1"> <construction skill="alchemy" minskill="2">
<requirement type="h0"/> <requirement type="h0"/>
<requirement type="h13"/> <requirement type="h13"/>
</construction> </construction>
@ -40,7 +40,7 @@
<item weight="0" score="30"> <item weight="0" score="30">
<function name="use" value="usepotion"/> <function name="use" value="usepotion"/>
<potion level="1"/> <potion level="1"/>
<construction skill="alchemy" minskill="2" reqsize="1"> <construction skill="alchemy" minskill="2">
<requirement type="h5"/> <requirement type="h5"/>
<requirement type="h7"/> <requirement type="h7"/>
</construction> </construction>
@ -51,7 +51,7 @@
<item weight="0" score="60"> <item weight="0" score="60">
<function name="use" value="usepotion"/> <function name="use" value="usepotion"/>
<potion level="2"/> <potion level="2"/>
<construction skill="alchemy" minskill="4" reqsize="1"> <construction skill="alchemy" minskill="4">
<requirement type="h14"/> <requirement type="h14"/>
<requirement type="h16"/> <requirement type="h16"/>
<requirement type="h1"/> <requirement type="h1"/>
@ -64,7 +64,7 @@
<item weight="0" score="60"> <item weight="0" score="60">
<function name="use" value="usehealingpotion"/> <function name="use" value="usehealingpotion"/>
<potion level="2"/> <potion level="2"/>
<construction skill="alchemy" minskill="4" reqsize="1"> <construction skill="alchemy" minskill="4">
<requirement type="h19"/> <requirement type="h19"/>
<requirement type="h4"/> <requirement type="h4"/>
<requirement type="h1"/> <requirement type="h1"/>
@ -77,7 +77,7 @@
<item weight="0" score="60"> <item weight="0" score="60">
<function name="use" value="usebloodpotion"/> <function name="use" value="usebloodpotion"/>
<potion level="2"/> <potion level="2"/>
<construction skill="alchemy" minskill="4" reqsize="1"> <construction skill="alchemy" minskill="4">
<requirement type="h17"/> <requirement type="h17"/>
<requirement type="h13"/> <requirement type="h13"/>
<requirement type="h4"/> <requirement type="h4"/>
@ -90,7 +90,7 @@
<item weight="0" score="90"> <item weight="0" score="90">
<function name="use" value="usepotion"/> <function name="use" value="usepotion"/>
<potion level="3"/> <potion level="3"/>
<construction skill="alchemy" minskill="6" reqsize="1"> <construction skill="alchemy" minskill="6">
<requirement type="h9"/> <requirement type="h9"/>
<requirement type="h15"/> <requirement type="h15"/>
<requirement type="h12"/> <requirement type="h12"/>
@ -103,7 +103,7 @@
<item weight="0" score="90"> <item weight="0" score="90">
<function name="useonother" value="usefoolpotion"/> <function name="useonother" value="usefoolpotion"/>
<potion level="3"/> <potion level="3"/>
<construction skill="alchemy" minskill="6" reqsize="1"> <construction skill="alchemy" minskill="6">
<requirement type="h2"/> <requirement type="h2"/>
<requirement type="h3"/> <requirement type="h3"/>
<requirement type="h17"/> <requirement type="h17"/>
@ -116,7 +116,7 @@
<item weight="0" score="90"> <item weight="0" score="90">
<function name="use" value="usewarmthpotion"/> <function name="use" value="usewarmthpotion"/>
<potion level="3"/> <potion level="3"/>
<construction skill="alchemy" minskill="6" reqsize="1"> <construction skill="alchemy" minskill="6">
<requirement type="h18"/> <requirement type="h18"/>
<requirement type="h3"/> <requirement type="h3"/>
<requirement type="h16"/> <requirement type="h16"/>
@ -129,7 +129,7 @@
<item weight="0" score="90"> <item weight="0" score="90">
<function name="use" value="usepotion"/> <function name="use" value="usepotion"/>
<potion level="3"/> <potion level="3"/>
<construction skill="alchemy" minskill="6" reqsize="1"> <construction skill="alchemy" minskill="6">
<requirement type="h4"/> <requirement type="h4"/>
<requirement type="h11"/> <requirement type="h11"/>
<requirement type="h10"/> <requirement type="h10"/>
@ -142,7 +142,7 @@
<item weight="0" score="90"> <item weight="0" score="90">
<function name="use" value="usepotion"/> <function name="use" value="usepotion"/>
<potion level="3"/> <potion level="3"/>
<construction skill="alchemy" minskill="6" reqsize="1"> <construction skill="alchemy" minskill="6">
<requirement type="h19"/> <requirement type="h19"/>
<requirement type="h14"/> <requirement type="h14"/>
<requirement type="h0"/> <requirement type="h0"/>
@ -155,7 +155,7 @@
<item weight="0" score="120"> <item weight="0" score="120">
<function name="use" value="usepotion"/> <function name="use" value="usepotion"/>
<potion level="4"/> <potion level="4"/>
<construction skill="alchemy" minskill="8" reqsize="1"> <construction skill="alchemy" minskill="8">
<requirement type="h14"/> <requirement type="h14"/>
<requirement type="h20"/> <requirement type="h20"/>
<requirement type="h15"/> <requirement type="h15"/>
@ -169,7 +169,7 @@
<item weight="0" score="120"> <item weight="0" score="120">
<function name="use" value="usepotion"/> <function name="use" value="usepotion"/>
<potion level="4"/> <potion level="4"/>
<construction skill="alchemy" minskill="8" reqsize="1"> <construction skill="alchemy" minskill="8">
<requirement type="h5"/> <requirement type="h5"/>
<requirement type="h9"/> <requirement type="h9"/>
<requirement type="h12"/> <requirement type="h12"/>
@ -184,7 +184,7 @@
<item weight="0" score="120"> <item weight="0" score="120">
<function name="use" value="usepotion"/> <function name="use" value="usepotion"/>
<potion level="4"/> <potion level="4"/>
<construction skill="alchemy" minskill="8" reqsize="1"> <construction skill="alchemy" minskill="8">
<requirement type="h6"/> <requirement type="h6"/>
<requirement type="h12"/> <requirement type="h12"/>
<requirement type="h18"/> <requirement type="h18"/>

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<resource name="cart"> <resource name="cart">
<item capacity="14000" weight="4000" score="60" vehicle="yes" big="yes"> <item capacity="14000" weight="4000" score="60" vehicle="yes" big="yes">
<construction skill="cartmaking" minskill="1" reqsize="1"> <construction skill="cartmaking" minskill="1">
<requirement type="log" quantity="5"/> <requirement type="log" quantity="5"/>
</construction> </construction>
</item> </item>

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<resource name="horse" limited="yes" material="rm_horse"> <resource name="horse" limited="yes" material="rm_horse">
<item big="yes" weight="5000" score="10" capacity="7000" animal="yes"> <item big="yes" weight="5000" score="10" capacity="7000" animal="yes">
<construction skill="training" minskill="1" reqsize="1"/> <construction skill="training" minskill="1"/>
<function name="give" value="givehorses"/> <function name="give" value="givehorses"/>
</item> </item>
<resourcelimit> <resourcelimit>

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<resource name="iron" limited="yes" material="rm_iron"> <resource name="iron" limited="yes" material="rm_iron">
<item weight="500" score="10"> <item weight="500" score="10">
<construction skill="mining" minskill="1" reqsize="1"/> <construction skill="mining" minskill="1"/>
</item> </item>
<resourcelimit> <resourcelimit>
<modifier building="mine" type="skill" value="1"/> <modifier building="mine" type="skill" value="1"/>

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<resource name="laen" limited="yes" material="rm_laen"> <resource name="laen" limited="yes" material="rm_laen">
<item weight="200" score="100"> <item weight="200" score="100">
<construction skill="mining" minskill="7" reqsize="1"/> <construction skill="mining" minskill="7"/>
</item> </item>
<resourcelimit> <resourcelimit>
<modifier type="require" building="mine"/> <modifier type="require" building="mine"/>

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<resource name="log" material="rm_tree"> <resource name="log" material="rm_tree">
<item weight="500" score="10"> <item weight="500" score="10">
<construction skill="forestry" minskill="1" reqsize="1"/> <construction skill="forestry" minskill="1"/>
</item> </item>
<resourcelimit> <resourcelimit>
<modifier building="sawmill" type="skill" value="1"/> <modifier building="sawmill" type="skill" value="1"/>

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<resource name="mallorn" material="rm_mallorn"> <resource name="mallorn" material="rm_mallorn">
<item weight="500" score="30"> <item weight="500" score="30">
<construction skill="forestry" minskill="2" reqsize="1"/> <construction skill="forestry" minskill="2"/>
</item> </item>
<resourcelimit> <resourcelimit>
<modifier building="sawmill" type="skill" value="1"/> <modifier building="sawmill" type="skill" value="1"/>

View File

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

View File

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

View File

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

View File

@ -2,28 +2,28 @@
<ships> <ships>
<ship name="trireme" range="7" storm="1.00" damage="1.00" cargo="200000" cptskill="4" minskill="1" sumskill="120" opensea="yes"> <ship name="trireme" range="7" storm="1.00" damage="1.00" cargo="200000" cptskill="4" minskill="1" sumskill="120" opensea="yes">
<coast terrain="plain"/> <coast terrain="plain"/>
<construction skill="shipcraft" minskill="4" maxsize="200" reqsize="1"> <construction skill="shipcraft" minskill="4" maxsize="200">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
</construction> </construction>
</ship> </ship>
<ship name="caravel" range="5" storm="1.00" damage="1.00" cargo="300000" cptskill="3" minskill="1" sumskill="30" opensea="yes"> <ship name="caravel" range="5" storm="1.00" damage="1.00" cargo="300000" cptskill="3" minskill="1" sumskill="30" opensea="yes">
<coast terrain="plain"/> <coast terrain="plain"/>
<construction skill="shipcraft" minskill="3" maxsize="250" reqsize="1"> <construction skill="shipcraft" minskill="3" maxsize="250">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
</construction> </construction>
</ship> </ship>
<ship name="dragonship" range="5" storm="1.00" damage="1.00" cargo="100000" cptskill="2" minskill="1" sumskill="50" opensea="yes"> <ship name="dragonship" range="5" storm="1.00" damage="1.00" cargo="100000" cptskill="2" minskill="1" sumskill="50" opensea="yes">
<coast terrain="plain"/> <coast terrain="plain"/>
<construction skill="shipcraft" minskill="2" maxsize="100" reqsize="1"> <construction skill="shipcraft" minskill="2" maxsize="100">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
</construction> </construction>
</ship> </ship>
<ship name="longboat" range="3" storm="1.00" damage="1.00" cargo="50000" cptskill="1" minskill="1" sumskill="10" opensea="yes"> <ship name="longboat" range="3" storm="1.00" damage="1.00" cargo="50000" cptskill="1" minskill="1" sumskill="10" opensea="yes">
<coast terrain="plain"/> <coast terrain="plain"/>
<construction skill="shipcraft" minskill="1" maxsize="50" reqsize="1"> <construction skill="shipcraft" minskill="1" maxsize="50">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
</construction> </construction>
</ship> </ship>
@ -39,7 +39,7 @@
<coast terrain="activevolcano"/> <coast terrain="activevolcano"/>
<coast terrain="iceberg_sleep"/> <coast terrain="iceberg_sleep"/>
<coast terrain="iceberg"/> <coast terrain="iceberg"/>
<construction skill="shipcraft" minskill="100" maxsize="5" reqsize="1"/> <construction skill="shipcraft" minskill="100" maxsize="5"/>
</ship> </ship>
<ship name="boat" range="2" storm="1.00" damage="1.00" cargo="5000" cptskill="1" minskill="1" sumskill="2" opensea="yes"> <ship name="boat" range="2" storm="1.00" damage="1.00" cargo="5000" cptskill="1" minskill="1" sumskill="2" opensea="yes">
@ -53,7 +53,7 @@
<coast terrain="activevolcano"/> <coast terrain="activevolcano"/>
<coast terrain="iceberg_sleep"/> <coast terrain="iceberg_sleep"/>
<coast terrain="iceberg"/> <coast terrain="iceberg"/>
<construction skill="shipcraft" minskill="1" maxsize="5" reqsize="1"> <construction skill="shipcraft" minskill="1" maxsize="5">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
</construction> </construction>
</ship> </ship>
@ -69,7 +69,7 @@
<coast terrain="activevolcano"/> <coast terrain="activevolcano"/>
<coast terrain="iceberg_sleep"/> <coast terrain="iceberg_sleep"/>
<coast terrain="iceberg"/> <coast terrain="iceberg"/>
<construction skill="shipcraft" minskill="100" maxsize="50" reqsize="1"/> <construction skill="shipcraft" minskill="100" maxsize="50"/>
</ship> </ship>
</ships> </ships>

View File

@ -2,7 +2,7 @@
<resource name="axe"> <resource name="axe">
<item weight="200"> <item weight="200">
<function name="canuse" value="lua_canuse_item"/> <function name="canuse" value="lua_canuse_item"/>
<construction skill="weaponsmithing" minskill="3" reqsize="1"> <construction skill="weaponsmithing" minskill="3">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
<requirement type="iron" quantity="1"/> <requirement type="iron" quantity="1"/>
</construction> </construction>

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<resource name="bow"> <resource name="bow">
<item weight="100"> <item weight="100">
<construction skill="weaponsmithing" minskill="2" reqsize="1"> <construction skill="weaponsmithing" minskill="2">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
</construction> </construction>
<weapon pierce="true" missile="true" skill="bow" offmod="0" defmod="0" reload="0"> <weapon pierce="true" missile="true" skill="bow" offmod="0" defmod="0" reload="0">

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<resource name="catapult"> <resource name="catapult">
<item weight="10000" big="yes"> <item weight="10000" big="yes">
<construction skill="cartmaking" minskill="5" reqsize="1"> <construction skill="cartmaking" minskill="5">
<requirement type="log" quantity="10"/> <requirement type="log" quantity="10"/>
</construction> </construction>
<weapon siege="true" bash="true" missile="true" skill="catapult" offmod="0" defmod="0" reload="5"> <weapon siege="true" bash="true" missile="true" skill="catapult" offmod="0" defmod="0" reload="5">

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<resource name="crossbow"> <resource name="crossbow">
<item weight="100"> <item weight="100">
<construction skill="weaponsmithing" minskill="3" reqsize="1"> <construction skill="weaponsmithing" minskill="3">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
</construction> </construction>
<weapon armorpiercing="true" pierce="true" missile="true" skill="crossbow" offmod="0" defmod="0" reload="2"> <weapon armorpiercing="true" pierce="true" missile="true" skill="crossbow" offmod="0" defmod="0" reload="2">

View File

@ -2,7 +2,7 @@
<resource name="greatbow"> <resource name="greatbow">
<item weight="100"> <item weight="100">
<function name="canuse" value="lua_canuse_item"/> <function name="canuse" value="lua_canuse_item"/>
<construction skill="weaponsmithing" minskill="5" reqsize="1"> <construction skill="weaponsmithing" minskill="5">
<modifier function="mod_elves_only"/> <modifier function="mod_elves_only"/>
<requirement type="mallorn" quantity="2"/> <requirement type="mallorn" quantity="2"/>
</construction> </construction>

View File

@ -2,7 +2,7 @@
<resource name="greatsword"> <resource name="greatsword">
<item weight="200" score="30"> <item weight="200" score="30">
<function name="canuse" value="lua_canuse_item"/> <function name="canuse" value="lua_canuse_item"/>
<construction skill="weaponsmithing" minskill="4" reqsize="1"> <construction skill="weaponsmithing" minskill="4">
<requirement type="iron" quantity="2"/> <requirement type="iron" quantity="2"/>
</construction> </construction>
<weapon cut="true" skill="melee" offmod="-1" defmod="-2"> <weapon cut="true" skill="melee" offmod="-1" defmod="-2">

View File

@ -2,7 +2,7 @@
<resource name="halberd"> <resource name="halberd">
<item weight="200"> <item weight="200">
<function name="canuse" value="lua_canuse_item"/> <function name="canuse" value="lua_canuse_item"/>
<construction skill="weaponsmithing" minskill="3" reqsize="1"> <construction skill="weaponsmithing" minskill="3">
<requirement type="log" quantity="2"/> <requirement type="log" quantity="2"/>
<requirement type="iron" quantity="1"/> <requirement type="iron" quantity="1"/>
</construction> </construction>

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<resource name="laensword"> <resource name="laensword">
<item weight="100" score="400"> <item weight="100" score="400">
<construction skill="weaponsmithing" minskill="8" reqsize="1"> <construction skill="weaponsmithing" minskill="8">
<requirement type="laen" quantity="1"/> <requirement type="laen" quantity="1"/>
</construction> </construction>
<weapon cut="true" skill="melee" offmod="1" defmod="1" magres="0.30"> <weapon cut="true" skill="melee" offmod="1" defmod="1" magres="0.30">

View File

@ -2,7 +2,7 @@
<resource name="lance"> <resource name="lance">
<item weight="200"> <item weight="200">
<function name="canuse" value="lua_canuse_item"/> <function name="canuse" value="lua_canuse_item"/>
<construction skill="weaponsmithing" minskill="2" reqsize="1"> <construction skill="weaponsmithing" minskill="2">
<requirement type="log" quantity="2"/> <requirement type="log" quantity="2"/>
</construction> </construction>
<weapon pierce="true" skill="polearm" offmod="0" defmod="-2"> <weapon pierce="true" skill="polearm" offmod="0" defmod="-2">

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<resource name="mallornbow"> <resource name="mallornbow">
<item weight="100"> <item weight="100">
<construction skill="weaponsmithing" minskill="5" reqsize="1"> <construction skill="weaponsmithing" minskill="5">
<requirement type="mallorn" quantity="1"/> <requirement type="mallorn" quantity="1"/>
</construction> </construction>
<weapon pierce="true" missile="true" skill="bow" offmod="0" defmod="0" reload="0" magres="0.15"> <weapon pierce="true" missile="true" skill="bow" offmod="0" defmod="0" reload="0" magres="0.15">

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<resource name="mallorncrossbow"> <resource name="mallorncrossbow">
<item weight="100"> <item weight="100">
<construction skill="weaponsmithing" minskill="5" reqsize="1"> <construction skill="weaponsmithing" minskill="5">
<requirement type="mallorn" quantity="1"/> <requirement type="mallorn" quantity="1"/>
</construction> </construction>
<weapon armorpiercing="true" pierce="true" missile="true" skill="crossbow" offmod="0" defmod="0" reload="2" magres="0.15"> <weapon armorpiercing="true" pierce="true" missile="true" skill="crossbow" offmod="0" defmod="0" reload="2" magres="0.15">

View File

@ -2,7 +2,7 @@
<resource name="mallornlance"> <resource name="mallornlance">
<item weight="100"> <item weight="100">
<function name="canuse" value="lua_canuse_item"/> <function name="canuse" value="lua_canuse_item"/>
<construction skill="weaponsmithing" minskill="5" reqsize="1"> <construction skill="weaponsmithing" minskill="5">
<requirement type="mallorn" quantity="2"/> <requirement type="mallorn" quantity="2"/>
</construction> </construction>
<weapon pierce="true" skill="polearm" minskill="5" offmod="0" defmod="0" magres="0.15"> <weapon pierce="true" skill="polearm" minskill="5" offmod="0" defmod="0" magres="0.15">

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<resource name="mallornspear"> <resource name="mallornspear">
<item weight="100"> <item weight="100">
<construction skill="weaponsmithing" minskill="5" reqsize="1"> <construction skill="weaponsmithing" minskill="5">
<requirement type="mallorn" quantity="1"/> <requirement type="mallorn" quantity="1"/>
</construction> </construction>
<weapon pierce="true" skill="polearm" minskill="5" offmod="0" defmod="0" magres="0.15"> <weapon pierce="true" skill="polearm" minskill="5" offmod="0" defmod="0" magres="0.15">

View File

@ -2,7 +2,7 @@
<resource name="rep_crossbow"> <resource name="rep_crossbow">
<item weight="100"> <item weight="100">
<function name="canuse" value="lua_canuse_item"/> <function name="canuse" value="lua_canuse_item"/>
<construction skill="weaponsmithing" minskill="5" reqsize="1"> <construction skill="weaponsmithing" minskill="5">
<modifier function="mod_dwarves_only"/> <modifier function="mod_dwarves_only"/>
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
<requirement type="iron" quantity="1"/> <requirement type="iron" quantity="1"/>

View File

@ -2,7 +2,7 @@
<resource name="rustyaxe"> <resource name="rustyaxe">
<item weight="200"> <item weight="200">
<function name="canuse" value="lua_canuse_item"/> <function name="canuse" value="lua_canuse_item"/>
<construction skill="weaponsmithing" minskill="3" reqsize="1"> <construction skill="weaponsmithing" minskill="3">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
<requirement type="iron" quantity="1"/> <requirement type="iron" quantity="1"/>
</construction> </construction>

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<resource name="rustygreatsword"> <resource name="rustygreatsword">
<item weight="200" score="20"> <item weight="200" score="20">
<construction skill="weaponsmithing" minskill="4" reqsize="1"> <construction skill="weaponsmithing" minskill="4">
<requirement type="iron" quantity="2"/> <requirement type="iron" quantity="2"/>
</construction> </construction>
<weapon cut="true" skill="melee" offmod="-2" defmod="-3"> <weapon cut="true" skill="melee" offmod="-2" defmod="-3">

View File

@ -2,7 +2,7 @@
<resource name="rustyhalberd"> <resource name="rustyhalberd">
<item weight="200" score="20"> <item weight="200" score="20">
<function name="canuse" value="lua_canuse_item"/> <function name="canuse" value="lua_canuse_item"/>
<construction skill="weaponsmithing" minskill="3" reqsize="1"> <construction skill="weaponsmithing" minskill="3">
<requirement type="iron" quantity="1"/> <requirement type="iron" quantity="1"/>
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
</construction> </construction>

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<resource name="rustysword"> <resource name="rustysword">
<item weight="100" score="10"> <item weight="100" score="10">
<construction skill="weaponsmithing" minskill="3" reqsize="1"> <construction skill="weaponsmithing" minskill="3">
<requirement type="iron" quantity="1"/> <requirement type="iron" quantity="1"/>
</construction> </construction>
<weapon cut="true" skill="melee" offmod="-1" defmod="-1"> <weapon cut="true" skill="melee" offmod="-1" defmod="-1">

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<resource name="spear"> <resource name="spear">
<item weight="100"> <item weight="100">
<construction skill="weaponsmithing" minskill="2" reqsize="1"> <construction skill="weaponsmithing" minskill="2">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
</construction> </construction>
<weapon pierce="true" skill="polearm" offmod="0" defmod="0"> <weapon pierce="true" skill="polearm" offmod="0" defmod="0">

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<resource name="sword"> <resource name="sword">
<item weight="100" score="30"> <item weight="100" score="30">
<construction skill="weaponsmithing" minskill="3" reqsize="1"> <construction skill="weaponsmithing" minskill="3">
<requirement type="iron" quantity="1"/> <requirement type="iron" quantity="1"/>
</construction> </construction>
<weapon cut="true" skill="melee"> <weapon cut="true" skill="melee">

View File

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

View File

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

View File

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

View File

@ -2,7 +2,7 @@
<resource name="plate"> <resource name="plate">
<item weight="400" score="150"> <item weight="400" score="150">
<function name="canuse" value="lua_canuse_item"/> <function name="canuse" value="lua_canuse_item"/>
<construction skill="armorer" minskill="4" reqsize="1"> <construction skill="armorer" minskill="4">
<requirement type="iron" quantity="4"/> <requirement type="iron" quantity="4"/>
</construction> </construction>
<armor ac="3" penalty="0.15" projectile="0.10" magres="0.0"/> <armor ac="3" penalty="0.15" projectile="0.10" magres="0.0"/>

View File

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

View File

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

View File

@ -2,7 +2,7 @@
<resource name="scale"> <resource name="scale">
<item weight="300" score="150"> <item weight="300" score="150">
<function name="canuse" value="lua_canuse_item"/> <function name="canuse" value="lua_canuse_item"/>
<construction skill="armorer" minskill="5" reqsize="1"> <construction skill="armorer" minskill="5">
<modifier function="mod_dwarves_only"/> <modifier function="mod_dwarves_only"/>
<requirement type="iron" quantity="2"/> <requirement type="iron" quantity="2"/>
</construction> </construction>

View File

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

View File

@ -2,7 +2,7 @@
<resource name="towershield"> <resource name="towershield">
<item weight="200" score="60"> <item weight="200" score="60">
<function name="canuse" value="lua_canuse_item"/> <function name="canuse" value="lua_canuse_item"/>
<construction skill="armorer" minskill="4" reqsize="1"> <construction skill="armorer" minskill="4">
<modifier function="mod_dwarves_only"/> <modifier function="mod_dwarves_only"/>
<requirement type="iron" quantity="1"/> <requirement type="iron" quantity="1"/>
</construction> </construction>

View File

@ -7,20 +7,20 @@
<function name="name" value="fort_name"/> <function name="name" value="fort_name"/>
<function name="protection" value="building_protection"/> <function name="protection" value="building_protection"/>
<function name="taxes" value="lua_building_taxes"/> <function name="taxes" value="lua_building_taxes"/>
<construction skill="building" minskill="1" maxsize="5" reqsize="1" defense_bonus="0"> <construction skill="building" minskill="1" maxsize="5" defense_bonus="0">
<requirement type="log" quantity="1"/>
</construction>
<construction skill="building" minskill="2" maxsize="5" defense_bonus="1">
<requirement type="log" quantity="1"/>
</construction>
<construction skill="building" minskill="2" defense_bonus="2">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
</construction> </construction>
<construction skill="building" minskill="2" maxsize="5" reqsize="1" defense_bonus="1">
<requirement type="log" quantity="1"/>
</construction>
<construction skill="building" minskill="2" reqsize="1" defense_bonus="2">
<requirement type="log" quantity="1"/>
</construction>
</building> </building>
<building name="market" capacity="1" maxsize="10"> <building name="market" capacity="1" maxsize="10">
<maintenance type="money" amount="200" vital="yes"/> <maintenance type="money" amount="200" vital="yes"/>
<construction skill="building" minskill="3" reqsize="1"> <construction skill="building" minskill="3">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
<requirement type="stone" quantity="1"/> <requirement type="stone" quantity="1"/>
</construction> </construction>

View File

@ -71,7 +71,7 @@
<resource name="charger"> <resource name="charger">
<item big="yes" weight="5000" score="10" capacity="7000" animal="yes"> <item big="yes" weight="5000" score="10" capacity="7000" animal="yes">
<construction skill="training" minskill="4" reqsize="1"> <construction skill="training" minskill="4">
<requirement type="money" quantity="200"/> <requirement type="money" quantity="200"/>
<requirement type="iron" quantity="1"/> <requirement type="iron" quantity="1"/>
<requirement type="horse" quantity="1"/> <requirement type="horse" quantity="1"/>

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<resource name="iron" limited="yes" material="rm_iron"> <resource name="iron" limited="yes" material="rm_iron">
<item weight="500" score="10"> <item weight="500" score="10">
<construction skill="mining" minskill="1" reqsize="1"/> <construction skill="mining" minskill="1"/>
</item> </item>
<resourcelimit> <resourcelimit>
<modifier building="mine" type="skill" value="1"/> <modifier building="mine" type="skill" value="1"/>

View File

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

View File

@ -10,7 +10,7 @@
<coast terrain="glacier"/> <coast terrain="glacier"/>
<coast terrain="volcano"/> <coast terrain="volcano"/>
<coast terrain="activevolcano"/> <coast terrain="activevolcano"/>
<construction skill="shipcraft" minskill="1" maxsize="3" reqsize="1"> <construction skill="shipcraft" minskill="1" maxsize="3">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
</construction> </construction>
</ship> </ship>
@ -20,7 +20,7 @@
<coast terrain="packice"/> <coast terrain="packice"/>
<coast terrain="swamp"/> <coast terrain="swamp"/>
<coast terrain="desert"/> <coast terrain="desert"/>
<construction skill="shipcraft" minskill="1" maxsize="10" reqsize="1"> <construction skill="shipcraft" minskill="1" maxsize="10">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
</construction> </construction>
</ship> </ship>
@ -35,7 +35,7 @@
<coast terrain="glacier"/> <coast terrain="glacier"/>
<coast terrain="volcano"/> <coast terrain="volcano"/>
<coast terrain="activevolcano"/> <coast terrain="activevolcano"/>
<construction skill="shipcraft" minskill="2" maxsize="10" reqsize="1"> <construction skill="shipcraft" minskill="2" maxsize="10">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
</construction> </construction>
</ship> </ship>
@ -50,7 +50,7 @@
<coast terrain="glacier"/> <coast terrain="glacier"/>
<coast terrain="volcano"/> <coast terrain="volcano"/>
<coast terrain="activevolcano"/> <coast terrain="activevolcano"/>
<construction skill="shipcraft" minskill="2" maxsize="10" reqsize="1"> <construction skill="shipcraft" minskill="2" maxsize="10">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
</construction> </construction>
</ship> </ship>
@ -66,7 +66,7 @@
<coast terrain="glacier"/> <coast terrain="glacier"/>
<coast terrain="volcano"/> <coast terrain="volcano"/>
<coast terrain="activevolcano"/> <coast terrain="activevolcano"/>
<construction skill="shipcraft" minskill="6" maxsize="10" reqsize="1"> <construction skill="shipcraft" minskill="6" maxsize="10">
<requirement type="mallorn" quantity="1"/> <requirement type="mallorn" quantity="1"/>
<requirement type="money" quantity="100"/> <requirement type="money" quantity="100"/>
</construction> </construction>
@ -75,7 +75,7 @@
<ship name="catamaran" range="7" storm="0.25" damage="1.00" cabins="22" cargo="10000" cptskill="7" minskill="1" sumskill="20" opensea="yes"> <ship name="catamaran" range="7" storm="0.25" damage="1.00" cabins="22" cargo="10000" cptskill="7" minskill="1" sumskill="20" opensea="yes">
<coast terrain="plain"/> <coast terrain="plain"/>
<coast terrain="packice"/> <coast terrain="packice"/>
<construction skill="shipcraft" minskill="8" maxsize="30" reqsize="1"> <construction skill="shipcraft" minskill="8" maxsize="30">
<requirement type="mallorn" quantity="1"/> <requirement type="mallorn" quantity="1"/>
<requirement type="money" quantity="100"/> <requirement type="money" quantity="100"/>
</construction> </construction>
@ -85,7 +85,7 @@
<ship name="cog" range="4" storm="0.50" damage="1.00" cabins="50" cargo="200000" cptskill="4" minskill="1" sumskill="20" opensea="yes"> <ship name="cog" range="4" storm="0.50" damage="1.00" cabins="50" cargo="200000" cptskill="4" minskill="1" sumskill="20" opensea="yes">
<coast terrain="plain"/> <coast terrain="plain"/>
<coast terrain="packice"/> <coast terrain="packice"/>
<construction skill="shipcraft" minskill="4" maxsize="100" reqsize="1"> <construction skill="shipcraft" minskill="4" maxsize="100">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
</construction> </construction>
</ship> </ship>
@ -93,7 +93,7 @@
<ship name="caravel" range="4" storm="0.50" damage="1.00" cabins="150" cargo="600000" cptskill="6" minskill="1" sumskill="30" opensea="yes"> <ship name="caravel" range="4" storm="0.50" damage="1.00" cabins="150" cargo="600000" cptskill="6" minskill="1" sumskill="30" opensea="yes">
<coast terrain="plain"/> <coast terrain="plain"/>
<coast terrain="packice"/> <coast terrain="packice"/>
<construction skill="shipcraft" minskill="6" maxsize="300" reqsize="1"> <construction skill="shipcraft" minskill="6" maxsize="300">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
</construction> </construction>
</ship> </ship>
@ -103,7 +103,7 @@
<modifier type="defense" value="+2"/> <modifier type="defense" value="+2"/>
<coast terrain="plain"/> <coast terrain="plain"/>
<coast terrain="packice"/> <coast terrain="packice"/>
<construction skill="shipcraft" minskill="5" maxsize="100" reqsize="1"> <construction skill="shipcraft" minskill="5" maxsize="100">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
<requirement type="money" quantity="10"/> <requirement type="money" quantity="10"/>
</construction> </construction>
@ -113,7 +113,7 @@
<modifier type="defense" value="+2"/> <modifier type="defense" value="+2"/>
<coast terrain="plain"/> <coast terrain="plain"/>
<coast terrain="packice"/> <coast terrain="packice"/>
<construction skill="shipcraft" minskill="7" maxsize="300" reqsize="1"> <construction skill="shipcraft" minskill="7" maxsize="300">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
<requirement type="money" quantity="10"/> <requirement type="money" quantity="10"/>
</construction> </construction>
@ -125,7 +125,7 @@
<modifier type="tactics" factor="2.00"/> <modifier type="tactics" factor="2.00"/>
<coast terrain="plain"/> <coast terrain="plain"/>
<coast terrain="packice"/> <coast terrain="packice"/>
<construction skill="shipcraft" minskill="5" maxsize="100" reqsize="1"> <construction skill="shipcraft" minskill="5" maxsize="100">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
<requirement type="money" quantity="10"/> <requirement type="money" quantity="10"/>
</construction> </construction>
@ -136,7 +136,7 @@
<modifier type="tactics" factor="2.00"/> <modifier type="tactics" factor="2.00"/>
<coast terrain="plain"/> <coast terrain="plain"/>
<coast terrain="packice"/> <coast terrain="packice"/>
<construction skill="shipcraft" minskill="7" maxsize="300" reqsize="1"> <construction skill="shipcraft" minskill="7" maxsize="300">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
<requirement type="money" quantity="10"/> <requirement type="money" quantity="10"/>
</construction> </construction>

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<resource name="crossbow"> <resource name="crossbow">
<item weight="100"> <item weight="100">
<construction skill="weaponsmithing" minskill="3" reqsize="1"> <construction skill="weaponsmithing" minskill="3">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
</construction> </construction>
<weapon armorpiercing="true" pierce="true" missile="true" skill="crossbow" offmod="0" defmod="0" reload="2"> <weapon armorpiercing="true" pierce="true" missile="true" skill="crossbow" offmod="0" defmod="0" reload="2">

View File

@ -6,7 +6,7 @@
<resource name="greatbow"> <resource name="greatbow">
<item weight="100"> <item weight="100">
<function name="canuse" value="lua_canuse_item"/> <function name="canuse" value="lua_canuse_item"/>
<construction skill="weaponsmithing" minskill="5" reqsize="1"> <construction skill="weaponsmithing" minskill="5">
<modifier function="mod_elves_only"/> <modifier function="mod_elves_only"/>
<requirement type="mallorn" quantity="2"/> <requirement type="mallorn" quantity="2"/>
</construction> </construction>

View File

@ -4,7 +4,7 @@
--> -->
<resource name="greatsword"> <resource name="greatsword">
<item weight="200" score="30"> <item weight="200" score="30">
<construction skill="weaponsmithing" minskill="4" reqsize="1"> <construction skill="weaponsmithing" minskill="4">
<requirement type="iron" quantity="2"/> <requirement type="iron" quantity="2"/>
</construction> </construction>
<weapon useshield="false" cut="true" skill="melee" offmod="-1" defmod="-2" horse="false"> <weapon useshield="false" cut="true" skill="melee" offmod="-1" defmod="-2" horse="false">

View File

@ -5,7 +5,7 @@
<resource name="halberd"> <resource name="halberd">
<item weight="200"> <item weight="200">
<function name="canuse" value="lua_canuse_item"/> <function name="canuse" value="lua_canuse_item"/>
<construction skill="weaponsmithing" minskill="3" reqsize="1"> <construction skill="weaponsmithing" minskill="3">
<requirement type="log" quantity="2"/> <requirement type="log" quantity="2"/>
<requirement type="iron" quantity="1"/> <requirement type="iron" quantity="1"/>
</construction> </construction>

View File

@ -4,7 +4,7 @@
--> -->
<resource name="laensword"> <resource name="laensword">
<item weight="100" score="400"> <item weight="100" score="400">
<construction skill="weaponsmithing" minskill="8" reqsize="1"> <construction skill="weaponsmithing" minskill="8">
<requirement type="laen" quantity="1"/> <requirement type="laen" quantity="1"/>
</construction> </construction>
<weapon cut="true" skill="melee" offmod="1" defmod="1" magres="0.30"> <weapon cut="true" skill="melee" offmod="1" defmod="1" magres="0.30">

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<resource name="mallorncrossbow"> <resource name="mallorncrossbow">
<item weight="100"> <item weight="100">
<construction skill="weaponsmithing" minskill="5" reqsize="1"> <construction skill="weaponsmithing" minskill="5">
<requirement type="mallorn" quantity="1"/> <requirement type="mallorn" quantity="1"/>
</construction> </construction>
<weapon armorpiercing="true" pierce="true" missile="true" skill="crossbow" offmod="0" defmod="0" reload="2" magres="0.15"> <weapon armorpiercing="true" pierce="true" missile="true" skill="crossbow" offmod="0" defmod="0" reload="2" magres="0.15">

View File

@ -2,7 +2,7 @@
<resource name="mallornlance"> <resource name="mallornlance">
<item weight="100"> <item weight="100">
<function name="canuse" value="lua_canuse_item"/> <function name="canuse" value="lua_canuse_item"/>
<construction skill="weaponsmithing" minskill="5" reqsize="1"> <construction skill="weaponsmithing" minskill="5">
<requirement type="mallorn" quantity="2"/> <requirement type="mallorn" quantity="2"/>
</construction> </construction>
<weapon pierce="true" skill="polearm" minskill="5" offmod="0" defmod="0" magres="0.15"> <weapon pierce="true" skill="polearm" minskill="5" offmod="0" defmod="0" magres="0.15">

View File

@ -4,7 +4,7 @@
--> -->
<resource name="rustygreatsword"> <resource name="rustygreatsword">
<item weight="200" score="20"> <item weight="200" score="20">
<construction skill="weaponsmithing" minskill="4" reqsize="1"> <construction skill="weaponsmithing" minskill="4">
<requirement type="iron" quantity="2"/> <requirement type="iron" quantity="2"/>
</construction> </construction>
<weapon useshield="false" cut="true" skill="melee" offmod="-2" defmod="-3" horse="false"> <weapon useshield="false" cut="true" skill="melee" offmod="-2" defmod="-3" horse="false">

View File

@ -5,7 +5,7 @@
<resource name="rustyhalberd"> <resource name="rustyhalberd">
<item weight="200" score="20"> <item weight="200" score="20">
<function name="canuse" value="lua_canuse_item"/> <function name="canuse" value="lua_canuse_item"/>
<construction skill="weaponsmithing" minskill="3" reqsize="1"> <construction skill="weaponsmithing" minskill="3">
<requirement type="iron" quantity="1"/> <requirement type="iron" quantity="1"/>
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
</construction> </construction>

View File

@ -10,7 +10,7 @@
<coast terrain="activevolcano"/> <coast terrain="activevolcano"/>
<coast terrain="iceberg_sleep"/> <coast terrain="iceberg_sleep"/>
<coast terrain="iceberg"/> <coast terrain="iceberg"/>
<construction skill="shipcraft" minskill="1" maxsize="5" reqsize="1"> <construction skill="shipcraft" minskill="1" maxsize="5">
<requirement type="log" quantity="1"/> <requirement type="log" quantity="1"/>
</construction> </construction>
</ship> </ship>

View File

@ -169,7 +169,7 @@ construction ** consPtr)
con->skill = sk; con->skill = sk;
con->maxsize = xml_ivalue(node, "maxsize", -1); con->maxsize = xml_ivalue(node, "maxsize", -1);
con->minskill = xml_ivalue(node, "minskill", -1); con->minskill = xml_ivalue(node, "minskill", -1);
con->reqsize = xml_ivalue(node, "reqsize", -1); con->reqsize = xml_ivalue(node, "reqsize", 1);
con->defense_bonus = xml_ivalue(node, "defense_bonus", 0); con->defense_bonus = xml_ivalue(node, "defense_bonus", 0);
con->close_combat_bonus = xml_ivalue(node, "close_combat_bonus", 0); con->close_combat_bonus = xml_ivalue(node, "close_combat_bonus", 0);
con->ranged_bonus = xml_ivalue(node, "ranged_bonus", 0); con->ranged_bonus = xml_ivalue(node, "ranged_bonus", 0);