- sk_ prefixes von den skillnames entfernt.

This commit is contained in:
Enno Rehling 2005-10-25 14:27:24 +00:00
parent a306d0ebc8
commit 28f41c3edd
21 changed files with 1256 additions and 1257 deletions

View file

@ -1711,7 +1711,7 @@ use_magicboost(struct unit * user, const struct item_type * itype, int amount, s
new_use_pooled(user, itype->rtype, GET_SLACK|GET_RESERVE|GET_POOLED_SLACK, user->number);
a_add(&f->attribs, make_key(atoi36("mbst")));
set_level(user, sk_find("sk_magic"), 3);
set_level(user, sk_find("magic"), 3);
ADDMSG(&user->faction->msgs, msg_message("use_item",
"unit item", user, itype->rtype));

View file

@ -44,35 +44,35 @@
static const char *skillnames[MAXSKILLS] =
{
"sk_alchemy",
"sk_crossbow",
"sk_mining",
"sk_bow",
"sk_building",
"sk_trade",
"sk_forestry",
"sk_catapult",
"sk_herbalism",
"sk_magic",
"sk_training",
"sk_riding",
"sk_armorer",
"sk_shipcraft",
"sk_melee",
"sk_sailing",
"sk_polearm",
"sk_espionage",
"sk_quarrying",
"sk_roadwork",
"sk_tactics",
"sk_stealth",
"sk_entertainment",
"sk_weaponsmithing",
"sk_cartmaking",
"sk_perception",
"sk_taxation",
"sk_stamina",
"sk_unarmed"
"alchemy",
"crossbow",
"mining",
"bow",
"building",
"trade",
"forestry",
"catapult",
"herbalism",
"magic",
"training",
"riding",
"armorer",
"shipcraft",
"melee",
"sailing",
"polearm",
"espionage",
"quarrying",
"roadwork",
"tactics",
"stealth",
"entertainment",
"weaponsmithing",
"cartmaking",
"perception",
"taxation",
"stamina",
"unarmed"
};
const char *
@ -86,6 +86,7 @@ sk_find(const char * name)
{
skill_t i;
if (name==NULL) return NOSKILL;
if (strncmp(name, "sk_", 3)==0) name+=3;
for (i=0;i!=MAXSKILLS;++i) {
if (strcmp(name, skillnames[i])==0) return i;
}

View file

@ -8,14 +8,14 @@
<building name="artsculpture" maxsize="100" nobuild="yes" nodestroy="yes" unique="yes"/>
<building name="blessedstonecircle" maxcapacity="3" maxsize="100" nobuild="yes" magic="yes" magres="60" magresbonus="30" auraregen="1.50">
<construction skill="sk_building" minskill="2" reqsize="100" maxsize="100">
<construction skill="building" minskill="2" reqsize="100" maxsize="100">
<requirement type="log" recycle="0.5" quantity="500"/>
<requirement type="stone" recycle="0.5" quantity="500"/>
</construction>
</building>
<building name="stonecircle" maxsize="100">
<construction skill="sk_building" minskill="2" reqsize="100" maxsize="100">
<construction skill="building" minskill="2" reqsize="100" maxsize="100">
<requirement type="log" recycle="0.5" quantity="500"/>
<requirement type="stone" recycle="0.5" quantity="500"/>
</construction>
@ -23,7 +23,7 @@
<building name="inn" capacity="1">
<maintenance type="money" amount="5" variable="yes" vital="yes"/>
<construction skill="sk_building" minskill="2" reqsize="10">
<construction skill="building" minskill="2" reqsize="10">
<requirement type="iron" recycle="0.5" quantity="10"/>
<requirement type="log" recycle="0.5" quantity="30"/>
<requirement type="stone" recycle="0.5" quantity="40"/>
@ -34,7 +34,7 @@
<building name="tunnel" capacity="1" maxsize="100">
<maintenance type="stone" recycle="0.5" amount="2"/>
<maintenance type="money" amount="100" vital="yes"/>
<construction skill="sk_building" minskill="6" reqsize="100" maxsize="100">
<construction skill="building" minskill="6" reqsize="100" maxsize="100">
<requirement type="iron" recycle="0.5" quantity="100"/>
<requirement type="log" recycle="0.5" quantity="500"/>
<requirement type="stone" recycle="0.5" quantity="1000"/>
@ -45,7 +45,7 @@
<building name="caravan" capacity="1" maxsize="10">
<maintenance type="horse" amount="2"/>
<maintenance type="money" amount="3000" vital="yes"/>
<construction skill="sk_building" minskill="2" reqsize="10" maxsize="10">
<construction skill="building" minskill="2" reqsize="10" maxsize="10">
<requirement type="iron" recycle="0.5" quantity="10"/>
<requirement type="log" recycle="0.5" quantity="50"/>
<requirement type="stone" recycle="0.5" quantity="10"/>
@ -56,7 +56,7 @@
<building name="dam" capacity="1" maxsize="50">
<maintenance type="log" recycle="0.5" amount="3"/>
<maintenance type="money" amount="1000" vital="yes"/>
<construction skill="sk_building" minskill="4" reqsize="50" maxsize="50">
<construction skill="building" minskill="4" reqsize="50" maxsize="50">
<requirement type="iron" recycle="0.5" quantity="50"/>
<requirement type="log" recycle="0.5" quantity="500"/>
<requirement type="stone" recycle="0.5" quantity="250"/>
@ -65,7 +65,7 @@
</building>
<building name="monument" capacity="1">
<construction skill="sk_building" minskill="4" reqsize="1">
<construction skill="building" minskill="4" reqsize="1">
<requirement type="log" recycle="0.5" quantity="1"/>
<requirement type="stone" recycle="0.5" quantity="1"/>
<requirement type="iron" recycle="0.5" quantity="1"/>
@ -75,7 +75,7 @@
<building name="stables" capacity="1">
<maintenance type="money" amount="150" vital="yes"/>
<construction skill="sk_building" minskill="2" reqsize="1">
<construction skill="building" minskill="2" reqsize="1">
<requirement type="log" recycle="0.5" quantity="4"/>
<requirement type="stone" recycle="0.5" quantity="2"/>
<requirement type="iron" recycle="0.5" quantity="1"/>
@ -85,7 +85,7 @@
<building name="sawmill" capacity="1">
<maintenance type="money" amount="250" vital="yes"/>
<construction skill="sk_building" minskill="3" reqsize="1">
<construction skill="building" minskill="3" reqsize="1">
<requirement type="log" recycle="0.5" quantity="5"/>
<requirement type="stone" recycle="0.5" quantity="5"/>
<requirement type="iron" recycle="0.5" quantity="3"/>
@ -97,7 +97,7 @@
<function name="init" value="init_smithy"/>
<maintenance type="money" amount="300" vital="yes"/>
<maintenance type="log" recycle="0.5" amount="1"/>
<construction skill="sk_building" minskill="3" reqsize="1">
<construction skill="building" minskill="3" reqsize="1">
<requirement type="log" recycle="0.5" quantity="5"/>
<requirement type="stone" recycle="0.5" quantity="5"/>
<requirement type="iron" recycle="0.5" quantity="2"/>
@ -107,7 +107,7 @@
<building name="magictower" maxcapacity="2" maxsize="50" magic="yes" magres="40" fumblebonus="10" auraregen="1.75">
<maintenance type="money" amount="1000" vital="yes"/>
<construction skill="sk_building" minskill="5" reqsize="50" maxsize="50">
<construction skill="building" minskill="5" reqsize="50" maxsize="50">
<requirement type="log" recycle="0.5" quantity="150"/>
<requirement type="stone" recycle="0.5" quantity="250"/>
<requirement type="mallorn" quantity="100"/>
@ -119,7 +119,7 @@
<building name="academy" maxcapacity="25" maxsize="25">
<maintenance type="money" amount="1000" vital="yes"/>
<construction skill="sk_building" minskill="3" reqsize="25" maxsize="25">
<construction skill="building" minskill="3" reqsize="25" maxsize="25">
<requirement type="log" recycle="0.5" quantity="125"/>
<requirement type="stone" recycle="0.5" quantity="125"/>
<requirement type="iron" recycle="0.5" quantity="25"/>
@ -129,7 +129,7 @@
<building name="harbour" capacity="1" maxcapacity="25" maxsize="25">
<maintenance type="money" amount="250" vital="yes"/>
<construction skill="sk_building" minskill="3" reqsize="25" maxsize="25">
<construction skill="building" minskill="3" reqsize="25" maxsize="25">
<requirement type="log" recycle="0.5" quantity="125"/>
<requirement type="stone" recycle="0.5" quantity="125"/>
<requirement type="money" quantity="6250"/>
@ -138,7 +138,7 @@
<building name="quarry" capacity="1">
<maintenance type="money" amount="250" vital="yes"/>
<construction skill="sk_building" minskill="2" reqsize="1">
<construction skill="building" minskill="2" reqsize="1">
<requirement type="iron" recycle="0.5" quantity="1"/>
<requirement type="log" recycle="0.5" quantity="5"/>
<requirement type="stone" recycle="0.5" quantity="1"/>
@ -148,7 +148,7 @@
<building name="mine" capacity="1">
<maintenance type="money" amount="500" vital="yes"/>
<construction skill="sk_building" minskill="4" reqsize="1">
<construction skill="building" minskill="4" reqsize="1">
<requirement type="iron" recycle="0.5" quantity="1"/>
<requirement type="log" recycle="0.5" quantity="10"/>
<requirement type="stone" recycle="0.5" quantity="5"/>
@ -158,7 +158,7 @@
<building name="lighthouse" capacity="1" maxcapacity="4">
<maintenance type="money" amount="100" vital="yes"/>
<construction skill="sk_building" minskill="3" reqsize="1">
<construction skill="building" minskill="3" reqsize="1">
<requirement type="iron" recycle="0.5" quantity="1"/>
<requirement type="log" recycle="0.5" quantity="1"/>
<requirement type="stone" recycle="0.5" quantity="2"/>
@ -168,25 +168,25 @@
<building name="castle" capacity="1" maxcapacity="4">
<function name="name" value="castle_name"/>
<construction skill="sk_building" minskill="1" maxsize="2" reqsize="1">
<construction skill="building" minskill="1" maxsize="2" reqsize="1">
<requirement type="stone" quantity="1" recycle="0.5"/>
</construction>
<construction skill="sk_building" minskill="1" maxsize="8" reqsize="1">
<construction skill="building" minskill="1" maxsize="8" reqsize="1">
<requirement type="stone" quantity="1" recycle="0.5"/>
</construction>
<construction skill="sk_building" minskill="2" maxsize="40" reqsize="1">
<construction skill="building" minskill="2" maxsize="40" reqsize="1">
<requirement type="stone" quantity="1" recycle="0.5"/>
</construction>
<construction skill="sk_building" minskill="3" maxsize="200" reqsize="1">
<construction skill="building" minskill="3" maxsize="200" reqsize="1">
<requirement type="stone" quantity="1" recycle="0.5"/>
</construction>
<construction skill="sk_building" minskill="4" maxsize="1000" reqsize="1">
<construction skill="building" minskill="4" maxsize="1000" reqsize="1">
<requirement type="stone" quantity="1" recycle="0.5"/>
</construction>
<construction skill="sk_building" minskill="5" maxsize="5000" reqsize="1">
<construction skill="building" minskill="5" maxsize="5000" reqsize="1">
<requirement type="stone" quantity="1" recycle="0.5"/>
</construction>
<construction skill="sk_building" minskill="6" reqsize="1">
<construction skill="building" minskill="6" reqsize="1">
<requirement type="stone" quantity="1" recycle="0.5"/>
</construction>
</building>

View file

@ -2024,91 +2024,91 @@
</string>
<!--Talente: -->
<string name="sk_alchemy">
<string name="alchemy">
<text locale="de">Alchemie</text>
</string>
<string name="sk_crossbow">
<string name="crossbow">
<text locale="de">Armbrustschießen</text>
</string>
<string name="sk_stamina">
<string name="stamina">
<text locale="de">Ausdauer</text>
</string>
<string name="sk_mining">
<string name="mining">
<text locale="de">Bergbau</text>
</string>
<string name="sk_bow">
<string name="bow">
<text locale="de">Bogenschießen</text>
</string>
<string name="sk_building">
<string name="building">
<text locale="de">Burgenbau</text>
</string>
<string name="sk_trade">
<string name="trade">
<text locale="de">Handeln</text>
</string>
<string name="sk_melee">
<string name="melee">
<text locale="de">Hiebwaffen</text>
</string>
<string name="sk_forestry">
<string name="forestry">
<text locale="de">Holzfällen</text>
</string>
<string name="sk_catapult">
<string name="catapult">
<text locale="de">Katapultbedienung</text>
</string>
<string name="sk_herbalism">
<string name="herbalism">
<text locale="de">Kräuterkunde</text>
</string>
<string name="sk_magic">
<string name="magic">
<text locale="de">Magie</text>
</string>
<string name="sk_training">
<string name="training">
<text locale="de">Pferdedressur</text>
</string>
<string name="sk_riding">
<string name="riding">
<text locale="de">Reiten</text>
</string>
<string name="sk_armorer">
<string name="armorer">
<text locale="de">Rüstungsbau</text>
</string>
<string name="sk_shipcraft">
<string name="shipcraft">
<text locale="de">Schiffbau</text>
</string>
<string name="sk_sailing">
<string name="sailing">
<text locale="de">Segeln</text>
</string>
<string name="sk_espionage">
<string name="espionage">
<text locale="de">Spionage</text>
</string>
<string name="sk_polearm">
<string name="polearm">
<text locale="de">Stangenwaffen</text>
</string>
<string name="sk_quarrying">
<string name="quarrying">
<text locale="de">Steinbau</text>
</string>
<string name="sk_taxation">
<string name="taxation">
<text locale="de">Steuereintreiben</text>
</string>
<string name="sk_roadwork">
<string name="roadwork">
<text locale="de">Straßenbau</text>
</string>
<string name="sk_tactics">
<string name="tactics">
<text locale="de">Taktik</text>
</string>
<string name="sk_stealth">
<string name="stealth">
<text locale="de">Tarnung</text>
</string>
<string name="sk_entertainment">
<string name="entertainment">
<text locale="de">Unterhaltung</text>
</string>
<string name="sk_weaponsmithing">
<string name="weaponsmithing">
<text locale="de">Waffenbau</text>
</string>
<string name="sk_unarmed">
<string name="unarmed">
<text locale="de">Waffenloser Kampf</text>
</string>
<string name="sk_cartmaking">
<string name="cartmaking">
<text locale="de">Wagenbau</text>
</string>
<string name="sk_perception">
<string name="perception">
<text locale="de">Wahrnehmung</text>
</string>

View file

@ -1303,91 +1303,91 @@
</string>
<!-- Skills -->
<string name="sk_alchemy">
<string name="alchemy">
<text locale="en">alchemy</text>
</string>
<string name="sk_armorer">
<string name="armorer">
<text locale="en">armoursmithing</text>
</string>
<string name="sk_bow">
<string name="bow">
<text locale="en">bow</text>
</string>
<string name="sk_building">
<string name="building">
<text locale="en">masonry</text>
</string>
<string name="sk_cartmaking">
<string name="cartmaking">
<text locale="en">cartmaking</text>
</string>
<string name="sk_catapult">
<string name="catapult">
<text locale="en">catapult</text>
</string>
<string name="sk_crossbow">
<string name="crossbow">
<text locale="en">crossbow</text>
</string>
<string name="sk_entertainment">
<string name="entertainment">
<text locale="en">entertainment</text>
</string>
<string name="sk_espionage">
<string name="espionage">
<text locale="en">espionage</text>
</string>
<string name="sk_forestry">
<string name="forestry">
<text locale="en">forestry</text>
</string>
<string name="sk_herbalism">
<string name="herbalism">
<text locale="en">herbalism</text>
</string>
<string name="sk_magic">
<string name="magic">
<text locale="en">magic</text>
</string>
<string name="sk_melee">
<string name="melee">
<text locale="en">melee</text>
</string>
<string name="sk_mining">
<string name="mining">
<text locale="en">mining</text>
</string>
<string name="sk_perception">
<string name="perception">
<text locale="en">perception</text>
</string>
<string name="sk_polearm">
<string name="polearm">
<text locale="en">polearm</text>
</string>
<string name="sk_quarrying">
<string name="quarrying">
<text locale="en">quarrying</text>
</string>
<string name="sk_riding">
<string name="riding">
<text locale="en">riding</text>
</string>
<string name="sk_roadwork">
<string name="roadwork">
<text locale="en">roadwork</text>
</string>
<string name="sk_sailing">
<string name="sailing">
<text locale="en">sailing</text>
</string>
<string name="sk_shipcraft">
<string name="shipcraft">
<text locale="en">shipcraft</text>
</string>
<string name="sk_stamina">
<string name="stamina">
<text locale="en">endurance</text>
</string>
<string name="sk_stealth">
<string name="stealth">
<text locale="en">stealth</text>
</string>
<string name="sk_tactics">
<string name="tactics">
<text locale="en">tactics</text>
</string>
<string name="sk_taxation">
<string name="taxation">
<text locale="en">taxation</text>
</string>
<string name="sk_trade">
<string name="trade">
<text locale="en">trade</text>
</string>
<string name="sk_training">
<string name="training">
<text locale="en">taming</text>
</string>
<string name="sk_unarmed">
<string name="unarmed">
<text locale="en">unarmed combat</text>
</string>
<string name="sk_weaponsmithing">
<string name="weaponsmithing">
<text locale="en">weaponsmithing</text>
</string>

View file

@ -3,34 +3,34 @@
<!-- equipment given to familiars -->
<set name="lynx_familiar">
<skill name="sk_espionage" level="1"/>
<skill name="sk_magic" level="1"/>
<skill name="sk_stealth" level="1"/>
<skill name="sk_perception" level="1"/>
<skill name="espionage" level="1"/>
<skill name="magic" level="1"/>
<skill name="stealth" level="1"/>
<skill name="perception" level="1"/>
</set>
<set name="tunnelworm_familiar">
<skill name="sk_magic" level="1"/>
<skill name="sk_mining" level="1"/>
<skill name="sk_forestry" level="1"/>
<skill name="sk_stamina" level="1"/>
<skill name="magic" level="1"/>
<skill name="mining" level="1"/>
<skill name="forestry" level="1"/>
<skill name="stamina" level="1"/>
</set>
<set name="eagle_familiar">
<skill name="sk_magic" level="1"/>
<skill name="sk_perception" level="1"/>
<skill name="magic" level="1"/>
<skill name="perception" level="1"/>
</set>
<set name="rat_familiar">
<skill name="sk_magic" level="1"/>
<skill name="sk_espionage" level="1"/>
<skill name="sk_stealth" level="1"/>
<skill name="sk_perception" level="1"/>
<skill name="sk_stamina" level="6"/>
<skill name="magic" level="1"/>
<skill name="espionage" level="1"/>
<skill name="stealth" level="1"/>
<skill name="perception" level="1"/>
<skill name="stamina" level="6"/>
</set>
<set name="songdragon_familiar">
<skill name="sk_magic" level="1"/>
<skill name="magic" level="1"/>
<!-- spells -->
<spell name="flee" school="gray"/>
<spell name="sleep" school="gray"/>
@ -38,15 +38,15 @@
</set>
<set name="nymph_familiar">
<skill name="sk_magic" level="1"/>
<skill name="sk_bow" level="1"/>
<skill name="sk_herbalism" level="1"/>
<skill name="sk_training" level="1"/>
<skill name="sk_riding" level="1"/>
<skill name="sk_espionage" level="1"/>
<skill name="sk_stealth" level="1"/>
<skill name="sk_entertainment" level="1"/>
<skill name="sk_perception" level="1"/>
<skill name="magic" level="1"/>
<skill name="bow" level="1"/>
<skill name="herbalism" level="1"/>
<skill name="training" level="1"/>
<skill name="riding" level="1"/>
<skill name="espionage" level="1"/>
<skill name="stealth" level="1"/>
<skill name="entertainment" level="1"/>
<skill name="perception" level="1"/>
<!-- spells -->
<spell name="seduction" school="gray"/>
<spell name="calm_monster" school="gray"/>
@ -55,9 +55,9 @@
</set>
<set name="unicorn_familiar">
<skill name="sk_magic" level="1"/>
<skill name="sk_stealth" level="1"/>
<skill name="sk_perception" level="1"/>
<skill name="magic" level="1"/>
<skill name="stealth" level="1"/>
<skill name="perception" level="1"/>
<!-- spells -->
<spell name="resist_magic" school="gray"/>
<spell name="song_of_peace" school="gray"/>
@ -68,12 +68,12 @@
</set>
<set name="direwolf_familiar">
<skill name="sk_magic" level="1"/>
<skill name="sk_perception" level="1"/>
<skill name="magic" level="1"/>
<skill name="perception" level="1"/>
</set>
<set name="ghost_familiar">
<skill name="sk_magic" level="1"/>
<skill name="magic" level="1"/>
<!-- spells -->
<spell name="steal_aura" school="gray"/>
<spell name="frighten" school="gray"/>
@ -81,28 +81,28 @@
</set>
<set name="imp_familiar">
<skill name="sk_magic" level="1"/>
<skill name="sk_espionage" level="1"/>
<skill name="sk_stealth" level="1"/>
<skill name="sk_perception" level="1"/>
<skill name="sk_taxation" level="1"/>
<skill name="magic" level="1"/>
<skill name="espionage" level="1"/>
<skill name="stealth" level="1"/>
<skill name="perception" level="1"/>
<skill name="taxation" level="1"/>
<!-- spells -->
<spell name="steal_aura" school="gray"/>
</set>
<set name="dreamcat_familiar">
<skill name="sk_magic" level="1"/>
<skill name="sk_espionage" level="1"/>
<skill name="sk_stealth" level="1"/>
<skill name="sk_perception" level="1"/>
<skill name="sk_taxation" level="1"/>
<skill name="magic" level="1"/>
<skill name="espionage" level="1"/>
<skill name="stealth" level="1"/>
<skill name="perception" level="1"/>
<skill name="taxation" level="1"/>
<!-- spells -->
<spell name="shapeshift" school="gray"/>
<spell name="transferauratraum" school="gray"/>
</set>
<set name="fairy_familiar">
<skill name="sk_magic" level="1"/>
<skill name="magic" level="1"/>
<!-- spells -->
<spell name="appeasement" school="gray"/>
<spell name="calm_monster" school="gray"/>
@ -110,27 +110,27 @@
</set>
<set name="owl_familiar">
<skill name="sk_magic" level="1"/>
<skill name="sk_espionage" level="1"/>
<skill name="sk_stealth" level="1"/>
<skill name="sk_perception" level="1"/>
<skill name="magic" level="1"/>
<skill name="espionage" level="1"/>
<skill name="stealth" level="1"/>
<skill name="perception" level="1"/>
</set>
<set name="hellcat_familiar">
<skill name="sk_magic" level="1"/>
<skill name="sk_perception" level="1"/>
<skill name="magic" level="1"/>
<skill name="perception" level="1"/>
</set>
<set name="tiger_familiar">
<skill name="sk_magic" level="1"/>
<skill name="sk_perception" level="1"/>
<skill name="magic" level="1"/>
<skill name="perception" level="1"/>
</set>
<!-- one equipment-set per player-race for the first unit in a faction -->
<set name="dwarf">
<item name="axe" amount="1"/>
<item name="chainmail" amount="1"/>
<skill name="sk_melee" level="1"/>
<skill name="melee" level="1"/>
</set>
<set name="elf">
@ -138,11 +138,11 @@
</set>
<set name="uruk">
<skill name="sk_spear" level="4"/>
<skill name="sk_melee" level="4"/>
<skill name="sk_crossbow" level="4"/>
<skill name="sk_catapult" level="4"/>
<skill name="sk_bow" level="4"/>
<skill name="spear" level="4"/>
<skill name="melee" level="4"/>
<skill name="crossbow" level="4"/>
<skill name="catapult" level="4"/>
<skill name="bow" level="4"/>
</set>
<set name="goblin">
@ -150,13 +150,13 @@
</set>
<set name="troll">
<skill name="sk_building" level="1"/>
<skill name="sk_perception" level="3"/>
<skill name="building" level="1"/>
<skill name="perception" level="3"/>
<item name="stone" amount="50"/>
</set>
<set name="demon">
<skill name="sk_stamina" level="15"/>
<skill name="stamina" level="15"/>
</set>
<set name="insect">
@ -164,8 +164,8 @@
</set>
<set name="halfling">
<skill name="sk_trade" level="1"/>
<skill name="sk_riding" level="2"/>
<skill name="trade" level="1"/>
<skill name="riding" level="2"/>
<item name="horse" amount="2"/>
<item name="cart" amount="1"/>
<item name="balm" amount="5"/>
@ -182,38 +182,38 @@
</set>
<set name="aquarian">
<skill name="sk_sailing" level="1"/>
<skill name="sailing" level="1"/>
</set>
<!-- equipment-sets for random encounters -->
<set name="random_desert">
<skill name="sk_melee" level="d2"/>
<skill name="sk_trade" level="d3"/>
<skill name="sk_riding" level="d2+1"/>
<skill name="sk_training" level="d2+1"/>
<skill name="melee" level="d2"/>
<skill name="trade" level="d3"/>
<skill name="riding" level="d2+1"/>
<skill name="training" level="d2+1"/>
<item name="horse" amount="1"/>
<item name="sword" amount="1"/>
<item name="money" amount="d30+19"/>
</set>
<set name="random_swamp">
<skill name="sk_stealth" level="d3+1"/>
<skill name="sk_spear" level="d3+1"/>
<skill name="stealth" level="d3+1"/>
<skill name="spear" level="d3+1"/>
<item name="spear" amount="1"/>
<item name="money" amount="d20+9"/>
</set>
<set name="random_glacier">
<skill name="sk_armorer" level="d2+1"/>
<skill name="sk_melee" level="d2+1"/>
<skill name="armorer" level="d2+1"/>
<skill name="melee" level="d2+1"/>
<item name="sword" amount="1"/>
<item name="money" amount="d20+19"/>
</set>
<set name="random_mountain">
<skill name="sk_armorer" level="d2+1"/>
<skill name="sk_melee" level="d2+1"/>
<skill name="sk_trade" level="d3"/>
<skill name="armorer" level="d2+1"/>
<skill name="melee" level="d2+1"/>
<skill name="trade" level="d3"/>
<item name="sword" amount="1"/>
<item name="money" amount="d40+59"/>
<subset chance="0.6">
@ -222,15 +222,15 @@
</set>
<set name="random_highland">
<skill name="sk_melee" level="d2"/>
<skill name="melee" level="d2"/>
<item name="sword" amount="1"/>
<item name="money" amount="d10+19"/>
</set>
<set name="random_forest">
<skill name="sk_stealth" level="d2"/>
<skill name="sk_perception" level="d2+1"/>
<skill name="sk_bow" level="d3+1"/>
<skill name="stealth" level="d2"/>
<skill name="perception" level="d2+1"/>
<skill name="bow" level="d3+1"/>
<item name="bow" amount="1"/>
<item name="money" amount="d20+9"/>
<subset chance="0.2">
@ -239,7 +239,7 @@
</set>
<set name="random_herbalist">
<skill name="sk_herbalism" level="d2"/>
<skill name="herbalism" level="d2"/>
</set>
<set name="random_plain">
@ -259,35 +259,35 @@
</set>
<set name="random_spear">
<skill name="sk_spear" level="d3"/>
<skill name="spear" level="d3"/>
<item name="spear" amount="1"/>
</set>
<set name="random_sword">
<skill name="sk_sword" level="d3"/>
<skill name="sword" level="d3"/>
<item name="sword" amount="1"/>
</set>
<set name="random_crossbow">
<skill name="sk_crossbow" level="d3"/>
<skill name="crossbow" level="d3"/>
<item name="crossbow" amount="1"/>
</set>
<set name="random_bow">
<skill name="sk_bow" level="d3"/>
<skill name="bow" level="d3"/>
<item name="bow" amount="1"/>
</set>
<set name="random_rider">
<item name="horse" amount="1"/>
<skill name="sk_riding" level="d3"/>
<skill name="riding" level="d3"/>
</set>
<set name="recruited_dracoid">
<!-- dracoiden, von drachen rekrutiert -->
<skill name="sk_spear" level="d4+2"/>
<skill name="sk_melee" level="d4+2"/>
<skill name="sk_bow" level="d3+1"/>
<skill name="spear" level="d4+2"/>
<skill name="melee" level="d4+2"/>
<skill name="bow" level="d3+1"/>
<subset>
<!-- dracoiden haben immer eine von drei waffen -->
<set name="item_sword" chance="0.33"/>

View file

@ -1,8 +1,8 @@
<?xml version="1.0"?>
<dungeon size="15" level="1" radius="5" connect="0.50" maxpeople="50">
<skilllimit name="sk_stealth" maxvalue="4"/>
<skilllimit name="sk_magic" maxvalue="5"/>
<skilllimit name="stealth" maxvalue="4"/>
<skilllimit name="magic" maxvalue="5"/>
<monster boss="yes" size="1" max="1" chance="1.0" race="young dragon">
<treasure item="money" amount="1000"/>

View file

@ -9,11 +9,11 @@
<resource name="greatbow">
<function name="change" value="changeitem"/>
<item weight="100">
<construction skill="sk_weaponsmithing" minskill="5" reqsize="1">
<construction skill="weaponsmithing" minskill="5" reqsize="1">
<modifier function="mod_elves_only"/>
<requirement type="mallorn" quantity="2"/>
</construction>
<weapon pierce="true" missile="true" skill="sk_bow" offmod="0" defmod="0" reload="0" magres="0.0">
<weapon pierce="true" missile="true" skill="bow" offmod="0" defmod="0" reload="0" magres="0.0">
<damage type="rider" value="2d6+4"/>
<damage type="footman" value="2d6+4"/>
<modifier type="missile_target" value="2"/>
@ -26,11 +26,11 @@
<resource name="halberd">
<item weight="200">
<construction skill="sk_weaponsmithing" minskill="3" reqsize="1">
<construction skill="weaponsmithing" minskill="3" reqsize="1">
<requirement type="log" quantity="2"/>
<requirement type="iron" quantity="1"/>
</construction>
<weapon cut="true" skill="sk_polearm" offmod="-1" defmod="2" magres="0.0">
<weapon cut="true" skill="polearm" offmod="-1" defmod="2" magres="0.0">
<damage type="rider" value="2d6+3"/>
<damage type="footman" value="2d6+3"/>
<modifier type="skill" value="1" walking="true" against_riding="true" defensive="true"/>

View file

@ -46,11 +46,11 @@
<resource name="greatbow">
<function name="change" value="changeitem"/>
<item weight="100">
<construction skill="sk_weaponsmithing" minskill="5" reqsize="1">
<construction skill="weaponsmithing" minskill="5" reqsize="1">
<modifier function="mod_elves_only"/>
<requirement type="mallorn" quantity="2"/>
</construction>
<weapon pierce="true" missile="true" skill="sk_bow" offmod="0" defmod="0" reload="0" magres="0.0">
<weapon pierce="true" missile="true" skill="bow" offmod="0" defmod="0" reload="0" magres="0.0">
<damage type="rider" value="2d6+4"/>
<damage type="footman" value="2d6+4"/>
<modifier type="missile_target" value="2"/>
@ -63,11 +63,11 @@
<resource name="halberd">
<item weight="200">
<construction skill="sk_weaponsmithing" minskill="3" reqsize="1">
<construction skill="weaponsmithing" minskill="3" reqsize="1">
<requirement type="log" quantity="2"/>
<requirement type="iron" quantity="1"/>
</construction>
<weapon cut="true" skill="sk_polearm" offmod="-1" defmod="2" magres="0.0">
<weapon cut="true" skill="polearm" offmod="-1" defmod="2" magres="0.0">
<damage type="rider" value="2d6+3"/>
<damage type="footman" value="2d6+3"/>
<modifier type="skill" value="1" walking="true" against_riding="true" defensive="true"/>

View file

@ -1323,91 +1323,91 @@
</string>
<comment> Skills</comment>
<string name="sk_alchemy">
<string name="alchemy">
<text locale="fr">alchimie</text>
</string>
<string name="sk_armorer">
<string name="armorer">
<text locale="fr">armurier</text>
</string>
<string name="sk_bow">
<string name="bow">
<text locale="fr">arc</text>
</string>
<string name="sk_building">
<string name="building">
<text locale="fr">maçon</text>
</string>
<string name="sk_cartmaking">
<string name="cartmaking">
<text locale="fr">charron</text>
</string>
<string name="sk_catapult">
<string name="catapult">
<text locale="fr">catapulte</text>
</string>
<string name="sk_crossbow">
<string name="crossbow">
<text locale="fr">arbalète</text>
</string>
<string name="sk_entertainment">
<string name="entertainment">
<text locale="fr">divertissement</text>
</string>
<string name="sk_espionage">
<string name="espionage">
<text locale="fr">espionnage</text>
</string>
<string name="sk_forestry">
<string name="forestry">
<text locale="fr">bucheron</text>
</string>
<string name="sk_herbalism">
<string name="herbalism">
<text locale="fr">herboriste</text>
</string>
<string name="sk_magic">
<string name="magic">
<text locale="fr">magie</text>
</string>
<string name="sk_melee">
<string name="melee">
<text locale="fr">mêlée</text>
</string>
<string name="sk_mining">
<string name="mining">
<text locale="fr">mineur</text>
</string>
<string name="sk_perception">
<string name="perception">
<text locale="fr">observation</text>
</string>
<string name="sk_polearm">
<string name="polearm">
<text locale="fr">hast</text>
</string>
<string name="sk_quarrying">
<string name="quarrying">
<text locale="fr">perrayeur</text>
</string>
<string name="sk_riding">
<string name="riding">
<text locale="fr">équitation</text>
</string>
<string name="sk_roadwork">
<string name="roadwork">
<text locale="fr">cantonnier</text>
</string>
<string name="sk_sailing">
<string name="sailing">
<text locale="fr">navigation</text>
</string>
<string name="sk_shipcraft">
<string name="shipcraft">
<text locale="fr">charpentier</text>
</string>
<string name="sk_stamina">
<string name="stamina">
<text locale="fr">endurance</text>
</string>
<string name="sk_stealth">
<string name="stealth">
<text locale="fr">discrétion</text>
</string>
<string name="sk_tactics">
<string name="tactics">
<text locale="fr">tactique</text>
</string>
<string name="sk_taxation">
<string name="taxation">
<text locale="fr">percepteur</text>
</string>
<string name="sk_trade">
<string name="trade">
<text locale="fr">commerce</text>
</string>
<string name="sk_training">
<string name="training">
<text locale="fr">dresseur</text>
</string>
<string name="sk_unarmed">
<string name="unarmed">
<text locale="fr">mains-nues</text>
</string>
<string name="sk_weaponsmithing">
<string name="weaponsmithing">
<text locale="fr">fourbisseur</text>
</string>

File diff suppressed because it is too large Load diff

View file

@ -50,10 +50,10 @@
<resource name="mallornbow">
<item weight="100">
<construction skill="sk_weaponsmithing" minskill="5" reqsize="1">
<construction skill="weaponsmithing" minskill="5" reqsize="1">
<requirement type="mallorn" quantity="1"/>
</construction>
<weapon pierce="true" missile="true" skill="sk_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">
<damage type="rider" value="1d11+2"/>
<damage type="footman" value="1d11+2"/>
<modifier type="missile_target" value="2"/>
@ -66,10 +66,10 @@
<resource name="rustygreatsword">
<item weight="200">
<construction skill="sk_weaponsmithing" minskill="4" reqsize="1">
<construction skill="weaponsmithing" minskill="4" reqsize="1">
<requirement type="iron" quantity="2"/>
</construction>
<weapon cut="true" skill="sk_melee" offmod="-2" defmod="-3">
<weapon cut="true" skill="melee" offmod="-2" defmod="-3">
<damage type="rider" value="2d8"/>
<damage type="footman" value="2d8"/>
</weapon>
@ -78,10 +78,10 @@
<resource name="greatsword">
<item weight="200">
<construction skill="sk_weaponsmithing" minskill="4" reqsize="1">
<construction skill="weaponsmithing" minskill="4" reqsize="1">
<requirement type="iron" quantity="2"/>
</construction>
<weapon cut="true" skill="sk_melee" offmod="-1" defmod="-2">
<weapon cut="true" skill="melee" offmod="-1" defmod="-2">
<damage type="rider" value="2d8+3"/>
<damage type="footman" value="2d8+3"/>
</weapon>
@ -90,10 +90,10 @@
<resource name="sword">
<item weight="100">
<construction skill="sk_weaponsmithing" minskill="3" reqsize="1">
<construction skill="weaponsmithing" minskill="3" reqsize="1">
<requirement type="iron" quantity="1"/>
</construction>
<weapon cut="true" skill="sk_melee">
<weapon cut="true" skill="melee">
<damage type="rider" value="1d9+2"/>
<damage type="footman" value="1d9+2"/>
</weapon>
@ -102,10 +102,10 @@
<resource name="rustysword">
<item weight="100">
<construction skill="sk_weaponsmithing" minskill="3" reqsize="1">
<construction skill="weaponsmithing" minskill="3" reqsize="1">
<requirement type="iron" quantity="1"/>
</construction>
<weapon cut="true" skill="sk_melee" offmod="-1" defmod="-1">
<weapon cut="true" skill="melee" offmod="-1" defmod="-1">
<damage type="rider" value="1d9"/>
<damage type="footman" value="1d9"/>
</weapon>
@ -114,11 +114,11 @@
<resource name="axe">
<item weight="200">
<construction skill="sk_weaponsmithing" minskill="3" reqsize="1">
<construction skill="weaponsmithing" minskill="3" reqsize="1">
<requirement type="log" quantity="1"/>
<requirement type="iron" quantity="1"/>
</construction>
<weapon cut="true" skill="sk_melee" offmod="1" defmod="-2">
<weapon cut="true" skill="melee" offmod="1" defmod="-2">
<damage type="rider" value="2d6+4"/>
<damage type="footman" value="2d6+4"/>
</weapon>
@ -127,11 +127,11 @@
<resource name="rustyaxe">
<item weight="200">
<construction skill="sk_weaponsmithing" minskill="3" reqsize="1">
<construction skill="weaponsmithing" minskill="3" reqsize="1">
<requirement type="log" quantity="1"/>
<requirement type="iron" quantity="1"/>
</construction>
<weapon cut="true" skill="sk_melee" offmod="0" defmod="-3">
<weapon cut="true" skill="melee" offmod="0" defmod="-3">
<damage type="rider" value="2d6"/>
<damage type="footman" value="2d6"/>
</weapon>
@ -140,10 +140,10 @@
<resource name="crossbow">
<item weight="100">
<construction skill="sk_weaponsmithing" minskill="3" reqsize="1">
<construction skill="weaponsmithing" minskill="3" reqsize="1">
<requirement type="log" quantity="1"/>
</construction>
<weapon armorpiercing="true" pierce="true" missile="true" skill="sk_crossbow" offmod="0" defmod="0" reload="2">
<weapon armorpiercing="true" pierce="true" missile="true" skill="crossbow" offmod="0" defmod="0" reload="2">
<damage type="rider" value="3d3+5"/>
<damage type="footman" value="3d3+5"/>
<modifier type="missile_target" value="2"/>
@ -153,10 +153,10 @@
<resource name="mallorncrossbow">
<item weight="100">
<construction skill="sk_weaponsmithing" minskill="5" reqsize="1">
<construction skill="weaponsmithing" minskill="5" reqsize="1">
<requirement type="mallorn" quantity="1"/>
</construction>
<weapon armorpiercing="true" pierce="true" missile="true" skill="sk_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">
<damage type="rider" value="3d3+5"/>
<damage type="footman" value="3d3+5"/>
<modifier type="missile_target" value="2"/>
@ -166,10 +166,10 @@
<resource name="mallornspear">
<item weight="100">
<construction skill="sk_weaponsmithing" minskill="5" reqsize="1">
<construction skill="weaponsmithing" minskill="5" reqsize="1">
<requirement type="mallorn" quantity="1"/>
</construction>
<weapon pierce="true" skill="sk_polearm" minskill="5" offmod="0" defmod="0" magres="0.15">
<weapon pierce="true" skill="polearm" minskill="5" offmod="0" defmod="0" magres="0.15">
<damage type="footman" value="1d10+1"/>
<damage type="rider" value="1d12+3"/>
</weapon>
@ -178,10 +178,10 @@
<resource name="mallornlance">
<item weight="100">
<construction skill="sk_weaponsmithing" minskill="5" reqsize="1">
<construction skill="weaponsmithing" minskill="5" reqsize="1">
<requirement type="mallorn" quantity="2"/>
</construction>
<weapon pierce="true" skill="sk_polearm" minskill="5" offmod="0" defmod="0" magres="0.15">
<weapon pierce="true" skill="polearm" minskill="5" offmod="0" defmod="0" magres="0.15">
<damage type="footman" value="1d5+1"/>
<damage type="rider" value="2d6+2"/>
</weapon>
@ -190,7 +190,7 @@
<resource name="catapultammo">
<item weight="1000">
<construction skill="sk_quarrying" minskill="3" reqsize="1">
<construction skill="quarrying" minskill="3" reqsize="1">
<requirement type="stone" quantity="1"/>
</construction>
</item>
@ -198,7 +198,7 @@
<resource name="laenshield">
<item weight="0" score="1000">
<construction skill="sk_armorer" minskill="7" reqsize="1">
<construction skill="armorer" minskill="7" reqsize="1">
<requirement type="laen" quantity="1"/>
</construction>
<armor ac="2" penalty="-0.25" magres="0.3" laen="yes" shield="yes" />
@ -207,7 +207,7 @@
<resource name="laenmail">
<item weight="100" score="1000">
<construction skill="sk_armorer" minskill="9" reqsize="1">
<construction skill="armorer" minskill="9" reqsize="1">
<requirement type="laen" quantity="3"/>
</construction>
<armor ac="6" penalty="0.0" magres="0.3" laen="yes" />

View file

@ -3,7 +3,7 @@
<ship name="trireme" range="7" storm="1.00" damage="1.00" cabins="20000" cargo="200000" cptskill="4" minskill="1" sumskill="120" opensea="yes">
<coast terrain="ocean"/>
<coast terrain="plain"/>
<construction skill="sk_shipcraft" minskill="4" maxsize="200" reqsize="1">
<construction skill="shipcraft" minskill="4" maxsize="200" reqsize="1">
<requirement type="log" quantity="1"/>
</construction>
</ship>
@ -11,7 +11,7 @@
<ship name="caravel" range="5" storm="1.00" damage="1.00" cabins="30000" cargo="300000" cptskill="3" minskill="1" sumskill="30" opensea="yes">
<coast terrain="ocean"/>
<coast terrain="plain"/>
<construction skill="sk_shipcraft" minskill="3" maxsize="250" reqsize="1">
<construction skill="shipcraft" minskill="3" maxsize="250" reqsize="1">
<requirement type="log" quantity="1"/>
</construction>
</ship>
@ -19,7 +19,7 @@
<ship name="dragonship" range="5" storm="1.00" damage="1.00" cabins="10000" cargo="100000" cptskill="2" minskill="1" sumskill="50" opensea="yes">
<coast terrain="ocean"/>
<coast terrain="plain"/>
<construction skill="sk_shipcraft" minskill="2" maxsize="100" reqsize="1">
<construction skill="shipcraft" minskill="2" maxsize="100" reqsize="1">
<requirement type="log" quantity="1"/>
</construction>
</ship>
@ -27,7 +27,7 @@
<ship name="longboat" range="3" storm="1.00" damage="1.00" cabins="5000" cargo="50000" cptskill="1" minskill="1" sumskill="10" opensea="yes">
<coast terrain="ocean"/>
<coast terrain="plain"/>
<construction skill="sk_shipcraft" minskill="1" maxsize="50" reqsize="1">
<construction skill="shipcraft" minskill="1" maxsize="50" reqsize="1">
<requirement type="log" quantity="1"/>
</construction>
</ship>
@ -45,7 +45,7 @@
<coast terrain="activevolcano"/>
<coast terrain="iceberg_sleep"/>
<coast terrain="iceberg"/>
<construction skill="sk_shipcraft" minskill="100" maxsize="5" reqsize="1">
<construction skill="shipcraft" minskill="100" maxsize="5" reqsize="1">
</construction>
</ship>
@ -62,7 +62,7 @@
<coast terrain="activevolcano"/>
<coast terrain="iceberg_sleep"/>
<coast terrain="iceberg"/>
<construction skill="sk_shipcraft" minskill="1" maxsize="5" reqsize="1">
<construction skill="shipcraft" minskill="1" maxsize="5" reqsize="1">
<requirement type="log" quantity="1"/>
</construction>
</ship>

View file

@ -4,11 +4,11 @@
<resource name="greatbow">
<function name="change" value="changeitem"/>
<item weight="100">
<construction skill="sk_weaponsmithing" minskill="5" reqsize="1">
<construction skill="weaponsmithing" minskill="5" reqsize="1">
<modifier function="mod_elves_only"/>
<requirement type="mallorn" quantity="1"/>
</construction>
<weapon pierce="true" missile="true" skill="sk_bow" offmod="0" defmod="0" reload="0" magres="0.0">
<weapon pierce="true" missile="true" skill="bow" offmod="0" defmod="0" reload="0" magres="0.0">
<damage type="rider" value="2d6+4"/>
<damage type="footman" value="2d6+4"/>
<modifier type="missile_target" value="2"/>
@ -21,11 +21,11 @@
<resource name="halberd">
<item weight="200">
<construction skill="sk_weaponsmithing" minskill="3" reqsize="1">
<construction skill="weaponsmithing" minskill="3" reqsize="1">
<requirement type="log" quantity="1"/>
<requirement type="iron" quantity="1"/>
</construction>
<weapon cut="true" skill="sk_polearm" offmod="-1" defmod="2" magres="0.0">
<weapon cut="true" skill="polearm" offmod="-1" defmod="2" magres="0.0">
<damage type="rider" value="2d6+3"/>
<damage type="footman" value="2d6+3"/>
<modifier type="skill" value="1" walking="true" against_riding="true" defensive="true"/>

View file

@ -1,15 +1,15 @@
<building name="stronghold" capacity="1" maxsize="10" auraregen="1.00">
<construction skill="sk_building" minskill="4" reqsize="10" maxsize="10">
<requirement type="laen" recycle="0.5" quantity="10"></requirement>
<requirement type="mallorn" recycle="0.5" quantity="250"></requirement>
<requirement type="stone" recycle="0.5" quantity="250"></requirement>
<requirement type="money" quantity="10000"></requirement>
</construction>
<construction skill="building" minskill="4" reqsize="10" maxsize="10">
<requirement type="laen" recycle="0.5" quantity="10"></requirement>
<requirement type="mallorn" recycle="0.5" quantity="250"></requirement>
<requirement type="stone" recycle="0.5" quantity="250"></requirement>
<requirement type="money" quantity="10000"></requirement>
</construction>
</building>
<strings>
<string name="stronghold">
<text locale="de">Tempel</text>
<text locale="en">temple</text>
</string>
<string name="stronghold">
<text locale="de">Tempel</text>
<text locale="en">temple</text>
</string>
</strings>

View file

@ -2,42 +2,42 @@
<buildings>
<building name="pyramid" capacity="1" maxcapacity="10000" nodestroy="yes" oneperturn="yes">
<function name="name" value="pyramid_name"/>
<construction skill="sk_building" minskill="10" maxsize="1" reqsize="1">
<construction skill="building" minskill="10" maxsize="1" reqsize="1">
<requirement type="iron" quantity="100"/>
<requirement type="log" quantity="100"/>
<requirement type="stone" quantity="100"/>
</construction>
<construction skill="sk_building" minskill="10" maxsize="4" reqsize="1">
<construction skill="building" minskill="10" maxsize="4" reqsize="1">
<requirement type="iron" quantity="10"/>
<requirement type="log" quantity="10"/>
<requirement type="stone" quantity="10"/>
</construction>
<construction skill="sk_building" minskill="11" maxsize="8" reqsize="1">
<construction skill="building" minskill="11" maxsize="8" reqsize="1">
<requirement type="iron" quantity="10"/>
<requirement type="mallorn" quantity="10"/>
<requirement type="stone" quantity="10"/>
</construction>
<construction skill="sk_building" minskill="11" maxsize="12" reqsize="1">
<construction skill="building" minskill="11" maxsize="12" reqsize="1">
<requirement type="iron" quantity="10"/>
<requirement type="mallorn" quantity="10"/>
<requirement type="stone" quantity="10"/>
</construction>
<construction skill="sk_building" minskill="11" maxsize="16" reqsize="1">
<construction skill="building" minskill="11" maxsize="16" reqsize="1">
<requirement type="iron" quantity="10"/>
<requirement type="mallorn" quantity="10"/>
<requirement type="stone" quantity="10"/>
</construction>
<construction skill="sk_building" minskill="11" maxsize="20" reqsize="1">
<construction skill="building" minskill="11" maxsize="20" reqsize="1">
<requirement type="iron" quantity="10"/>
<requirement type="mallorn" quantity="10"/>
<requirement type="stone" quantity="10"/>
</construction>
<construction skill="sk_building" minskill="11" maxsize="24" reqsize="1">
<construction skill="building" minskill="11" maxsize="24" reqsize="1">
<requirement type="iron" quantity="10"/>
<requirement type="mallorn" quantity="10"/>
<requirement type="stone" quantity="10"/>
</construction>
<construction skill="sk_building" minskill="11" maxsize="28" reqsize="1">
<construction skill="building" minskill="11" maxsize="28" reqsize="1">
<requirement type="iron" quantity="10"/>
<requirement type="mallorn" quantity="10"/>
<requirement type="stone" quantity="10"/>

View file

@ -1,36 +1,36 @@
<?xml version="1.0"?>
<races>
<race name="halfling" magres="0.050000" maxaura="1.000000" regaura="1.000000" recruitcost="80" maintenance="10" weight="1000" capacity="540" speed="1.000000" hp="18" ac="0" damage="1d5" unarmedattack="-2" unarmeddefense="-2" attackmodifier="0" defensemodifier="0" playerrace="yes" walk="yes" giveitem="yes" giveperson="yes" giveunit="yes" getitem="yes" equipment="yes">
<ai splitsize="10000" attackrandom="yes" moverandom="yes" learn="yes"></ai>
<skill name="sk_crossbow" modifier="0"></skill>
<skill name="sk_mining" modifier="1"></skill>
<skill name="sk_bow" modifier="-1"></skill>
<skill name="sk_building" modifier="1"></skill>
<skill name="sk_trade" modifier="2"></skill>
<skill name="sk_catapult" modifier="-1"></skill>
<skill name="sk_herbalism" modifier="2"></skill>
<skill name="sk_training" modifier="-1"></skill>
<skill name="sk_riding" modifier="-1"></skill>
<skill name="sk_shipcraft" modifier="-1"></skill>
<skill name="sk_melee" modifier="-1"></skill>
<skill name="sk_sailing" modifier="-2"></skill>
<skill name="sk_polearm" modifier="-1"></skill>
<skill name="sk_espionage" modifier="1"></skill>
<skill name="sk_roadwork" modifier="1"></skill>
<skill name="sk_stealth" modifier="1"></skill>
<skill name="sk_entertainment" modifier="1"></skill>
<skill name="sk_cartmaking" modifier="2"></skill>
<skill name="sk_perception" modifier="1"></skill>
<skill name="sk_taxation" modifier="-1"></skill>
<skill name="sk_unarmed" modifier="-99"></skill>
<attack type="1" damage="1d5"></attack>
<familiar race="owl" default="yes"></familiar>
<familiar race="rat"></familiar>
<familiar race="eagle"></familiar>
<familiar race="songdragon"></familiar>
<familiar race="eagle"></familiar>
<familiar race="rat"></familiar>
</race>
<race name="halfling" magres="0.050000" maxaura="1.000000" regaura="1.000000" recruitcost="80" maintenance="10" weight="1000" capacity="540" speed="1.000000" hp="18" ac="0" damage="1d5" unarmedattack="-2" unarmeddefense="-2" attackmodifier="0" defensemodifier="0" playerrace="yes" walk="yes" giveitem="yes" giveperson="yes" giveunit="yes" getitem="yes" equipment="yes">
<ai splitsize="10000" attackrandom="yes" moverandom="yes" learn="yes"></ai>
<skill name="crossbow" modifier="0"></skill>
<skill name="mining" modifier="1"></skill>
<skill name="bow" modifier="-1"></skill>
<skill name="building" modifier="1"></skill>
<skill name="trade" modifier="2"></skill>
<skill name="catapult" modifier="-1"></skill>
<skill name="herbalism" modifier="2"></skill>
<skill name="training" modifier="-1"></skill>
<skill name="riding" modifier="-1"></skill>
<skill name="shipcraft" modifier="-1"></skill>
<skill name="melee" modifier="-1"></skill>
<skill name="sailing" modifier="-2"></skill>
<skill name="polearm" modifier="-1"></skill>
<skill name="espionage" modifier="1"></skill>
<skill name="roadwork" modifier="1"></skill>
<skill name="stealth" modifier="1"></skill>
<skill name="entertainment" modifier="1"></skill>
<skill name="cartmaking" modifier="2"></skill>
<skill name="perception" modifier="1"></skill>
<skill name="taxation" modifier="-1"></skill>
<skill name="unarmed" modifier="-99"></skill>
<attack type="1" damage="1d5"></attack>
<familiar race="owl" default="yes"></familiar>
<familiar race="rat"></familiar>
<familiar race="eagle"></familiar>
<familiar race="songdragon"></familiar>
<familiar race="eagle"></familiar>
<familiar race="rat"></familiar>
</race>
<race name="apepsnake" magres="0.900000" maxaura="1.000000" regaura="1.000000" recruitcost="50000" weight="100" capacity="50" speed="1.000000" hp="20" ac="1" damage="0d0" unarmedattack="0" unarmeddefense="0" attackmodifier="6" defensemodifier="10" scarepeasants="yes" fly="yes" walk="yes" teach="no" canguard="yes" invinciblenonmagic="yes" giveitem="yes" giveperson="yes" giveunit="yes" getitem="yes">
<ai splitsize="500" attackrandom="yes" killpeasants="yes" moverandom="yes" learn="yes"/>
<attack type="2" damage="3d15"/>
@ -40,8 +40,8 @@
<race name="anubis" magres="0.950000" maxaura="1.000000" regaura="3.000000" recruitcost="2500000" weight="100" capacity="100000" speed="1.000000" hp="2700" ac="10" damage="2d60" unarmedattack="0" unarmeddefense="0" attackmodifier="10" defensemodifier="12" scarepeasants="yes" fly="yes" walk="yes" teach="no" getitem="yes" resistbash="yes" shapeshift="yes">
<ai splitsize="1" killpeasants="yes" learn="yes"/>
<function name="move" value="movedragon"/>
<skill name="sk_tactics" modifier="20"/>
<skill name="sk_perception" modifier="20"/>
<skill name="tactics" modifier="20"/>
<skill name="perception" modifier="20"/>
<attack type="4" damage="5d30"/>
<attack type="4" damage="3d20"/>
<attack type="4" damage="3d20"/>
@ -53,8 +53,8 @@
<race name="apophis" magres="0.950000" maxaura="1.000000" regaura="3.000000" recruitcost="2500000" weight="100" capacity="100000" speed="1.000000" hp="2700" ac="10" damage="2d60" unarmedattack="0" unarmeddefense="0" attackmodifier="10" defensemodifier="12" scarepeasants="yes" fly="yes" walk="yes" teach="no" getitem="yes" resistbash="yes" shapeshift="yes">
<ai splitsize="1" killpeasants="yes" learn="yes"/>
<function name="move" value="movedragon"/>
<skill name="sk_tactics" modifier="20"/>
<skill name="sk_perception" modifier="20"/>
<skill name="tactics" modifier="20"/>
<skill name="perception" modifier="20"/>
<attack type="4" damage="5d30"/>
<attack type="4" damage="3d20"/>
<attack type="4" damage="3d20"/>
@ -67,15 +67,15 @@
<race name="ghast" magres="0.600000" maxaura="1.000000" regaura="1.000000" recruitcost="5" weight="1000" capacity="540" speed="1.000000" hp="60" ac="2" damage="1d7" unarmedattack="6" unarmeddefense="6" attackmodifier="6" defensemodifier="6" scarepeasants="yes" walk="yes" nolearn="yes" teach="no" absorbpeasants="yes" noheal="yes" undead="yes" equipment="yes" nogive="no">
<ai splitsize="2000" aggression="0.02" killpeasants="yes" moverandom="yes"/>
<function name="name" value="nameghoul"/>
<skill name="sk_crossbow" modifier="1"/>
<skill name="sk_bow" modifier="1"/>
<skill name="sk_catapult" modifier="1"/>
<skill name="sk_riding" modifier="1"/>
<skill name="sk_melee" modifier="1"/>
<skill name="sk_polearm" modifier="1"/>
<skill name="sk_tactics" modifier="1"/>
<skill name="sk_stamina" modifier="1"/>
<skill name="sk_unarmed" modifier="1"/>
<skill name="crossbow" modifier="1"/>
<skill name="bow" modifier="1"/>
<skill name="catapult" modifier="1"/>
<skill name="riding" modifier="1"/>
<skill name="melee" modifier="1"/>
<skill name="polearm" modifier="1"/>
<skill name="tactics" modifier="1"/>
<skill name="stamina" modifier="1"/>
<skill name="unarmed" modifier="1"/>
<attack type="4" damage="2d8"/>
<attack type="3" damage="1d5"/>
<attack type="3" damage="1d5"/>
@ -86,15 +86,15 @@
<ai splitsize="10000" killpeasants="yes" moverandom="yes"/>
<function name="name" value="nameghoul"/>
<function name="age" value="ageghoul"/>
<skill name="sk_crossbow" modifier="1"/>
<skill name="sk_bow" modifier="1"/>
<skill name="sk_catapult" modifier="1"/>
<skill name="sk_riding" modifier="1"/>
<skill name="sk_melee" modifier="1"/>
<skill name="sk_polearm" modifier="1"/>
<skill name="sk_tactics" modifier="1"/>
<skill name="sk_stamina" modifier="1"/>
<skill name="sk_unarmed" modifier="1"/>
<skill name="crossbow" modifier="1"/>
<skill name="bow" modifier="1"/>
<skill name="catapult" modifier="1"/>
<skill name="riding" modifier="1"/>
<skill name="melee" modifier="1"/>
<skill name="polearm" modifier="1"/>
<skill name="tactics" modifier="1"/>
<skill name="stamina" modifier="1"/>
<skill name="unarmed" modifier="1"/>
<attack type="4" damage="2d6"/>
<attack type="3" damage="1d2"/>
<attack type="3" damage="1d2"/>
@ -103,15 +103,15 @@
<race name="juju-zombie" magres="0.500000" maxaura="1.000000" regaura="1.000000" recruitcost="8" weight="1000" capacity="540" speed="1.000000" hp="80" ac="2" damage="1d7" unarmedattack="6" unarmeddefense="6" attackmodifier="8" defensemodifier="8" scarepeasants="yes" walk="yes" nolearn="yes" teach="no" absorbpeasants="yes" noheal="yes" undead="yes" equipment="yes" resistbash="yes" resistcut="yes" resistpierce="yes" nogive="no">
<ai splitsize="2000" aggression="0.02" killpeasants="yes" moverandom="yes"/>
<function name="name" value="namezombie"/>
<skill name="sk_crossbow" modifier="1"/>
<skill name="sk_bow" modifier="1"/>
<skill name="sk_catapult" modifier="1"/>
<skill name="sk_riding" modifier="1"/>
<skill name="sk_melee" modifier="1"/>
<skill name="sk_polearm" modifier="1"/>
<skill name="sk_tactics" modifier="1"/>
<skill name="sk_stamina" modifier="1"/>
<skill name="sk_unarmed" modifier="1"/>
<skill name="crossbow" modifier="1"/>
<skill name="bow" modifier="1"/>
<skill name="catapult" modifier="1"/>
<skill name="riding" modifier="1"/>
<skill name="melee" modifier="1"/>
<skill name="polearm" modifier="1"/>
<skill name="tactics" modifier="1"/>
<skill name="stamina" modifier="1"/>
<skill name="unarmed" modifier="1"/>
<attack type="1" damage="1d7"/>
<attack type="3" damage="1d1"/>
<attack type="3" damage="1d1"/>
@ -120,29 +120,29 @@
<ai splitsize="10000" killpeasants="yes" moverandom="yes"/>
<function name="name" value="namezombie"/>
<function name="age" value="agezombie"/>
<skill name="sk_crossbow" modifier="1"/>
<skill name="sk_bow" modifier="1"/>
<skill name="sk_catapult" modifier="1"/>
<skill name="sk_riding" modifier="1"/>
<skill name="sk_melee" modifier="1"/>
<skill name="sk_polearm" modifier="1"/>
<skill name="sk_tactics" modifier="1"/>
<skill name="sk_stamina" modifier="1"/>
<skill name="sk_unarmed" modifier="1"/>
<skill name="crossbow" modifier="1"/>
<skill name="bow" modifier="1"/>
<skill name="catapult" modifier="1"/>
<skill name="riding" modifier="1"/>
<skill name="melee" modifier="1"/>
<skill name="polearm" modifier="1"/>
<skill name="tactics" modifier="1"/>
<skill name="stamina" modifier="1"/>
<skill name="unarmed" modifier="1"/>
<attack type="1" damage="1d7"/>
</race>
<race name="skeletonlord" magres="0.300000" maxaura="1.000000" regaura="1.000000" recruitcost="2" weight="1000" capacity="540" speed="1.000000" hp="60" ac="4" damage="1d7" unarmedattack="6" unarmeddefense="6" attackmodifier="8" defensemodifier="8" scarepeasants="yes" walk="yes" nolearn="yes" teach="no" absorbpeasants="yes" noheal="yes" undead="yes" equipment="yes" resistcut="yes" resistpierce="yes" nogive="no">
<ai splitsize="2000" aggression="0.02" killpeasants="yes" moverandom="yes"/>
<function name="name" value="nameskeleton"/>
<skill name="sk_crossbow" modifier="1"/>
<skill name="sk_bow" modifier="1"/>
<skill name="sk_catapult" modifier="1"/>
<skill name="sk_riding" modifier="1"/>
<skill name="sk_melee" modifier="1"/>
<skill name="sk_polearm" modifier="1"/>
<skill name="sk_tactics" modifier="1"/>
<skill name="sk_stamina" modifier="1"/>
<skill name="sk_unarmed" modifier="1"/>
<skill name="crossbow" modifier="1"/>
<skill name="bow" modifier="1"/>
<skill name="catapult" modifier="1"/>
<skill name="riding" modifier="1"/>
<skill name="melee" modifier="1"/>
<skill name="polearm" modifier="1"/>
<skill name="tactics" modifier="1"/>
<skill name="stamina" modifier="1"/>
<skill name="unarmed" modifier="1"/>
<attack type="1" damage="1d7"/>
<attack type="1" damage="1d7"/>
</race>
@ -150,15 +150,15 @@
<ai splitsize="10000" killpeasants="yes" moverandom="yes"/>
<function name="name" value="nameskeleton"/>
<function name="age" value="ageskeleton"/>
<skill name="sk_crossbow" modifier="1"/>
<skill name="sk_bow" modifier="1"/>
<skill name="sk_catapult" modifier="1"/>
<skill name="sk_riding" modifier="1"/>
<skill name="sk_melee" modifier="1"/>
<skill name="sk_polearm" modifier="1"/>
<skill name="sk_tactics" modifier="1"/>
<skill name="sk_stamina" modifier="1"/>
<skill name="sk_unarmed" modifier="1"/>
<skill name="crossbow" modifier="1"/>
<skill name="bow" modifier="1"/>
<skill name="catapult" modifier="1"/>
<skill name="riding" modifier="1"/>
<skill name="melee" modifier="1"/>
<skill name="polearm" modifier="1"/>
<skill name="tactics" modifier="1"/>
<skill name="stamina" modifier="1"/>
<skill name="unarmed" modifier="1"/>
<attack type="1" damage="1d7"/>
</race>

View file

@ -22,7 +22,7 @@ function call_igjarjuk()
wyrm.hp = 10000
wyrm.status = 1
wyrm.magic = "nomagic"
wyrm:set_skill("sk_magic", 20)
wyrm:set_skill("magic", 20)
wyrm.aura = 1000
wyrm.faction:set_policy(laoris.faction, "fight", true)
wyrm.faction:set_policy(get_faction(atoi36("dpen")), "fight", true)

View file

@ -44,7 +44,7 @@ function test_movement()
orc = mkunit(orcs, r0, 10)
orc:add_item("horse", orc.number*3)
orc:set_skill("sk_riding", 10)
orc:set_skill("riding", 10)
-- schiffe zum abtreiben:
ships = {}
@ -114,8 +114,8 @@ function test_movement()
u.number = 1
u:add_item("horse", u.number*3)
u:add_item("money", u.number*10)
u:set_skill("sk_riding", 10)
u:set_skill("sk_stealth", 2)
u:set_skill("riding", 10)
u:set_skill("stealth", 2)
u:clear_orders()
u:add_order("FOLGEN EINHEIT " .. itoa36(bug.id))
u:add_order("NACH W")
@ -126,8 +126,8 @@ function test_movement()
u2.number = 1
u2:add_item("horse", u2.number*3)
u2:add_item("money", u.number*10)
u2:set_skill("sk_riding", 10)
u2:set_skill("sk_stealth", 2)
u2:set_skill("riding", 10)
u2:set_skill("stealth", 2)
u2:clear_orders()
u2:add_order("FOLGEN EINHEIT nix")
u2:add_order("NUMMER EINHEIT Last")
@ -201,7 +201,7 @@ function test_combat()
u.number = 100
u:add_item("money", u.number*100)
u:add_item("sword", u.number)
u:set_skill("sk_melee", skill)
u:set_skill("melee", skill)
u:clear_orders()
u:add_order("NUMMER PARTEI test")
u:add_order("KÄMPFE")
@ -215,7 +215,7 @@ function test_combat()
u.number = 100
u:add_item("money", u.number*100)
u:add_item("sword", u.number)
u:set_skill("sk_melee", skill+2)
u:set_skill("melee", skill+2)
u:clear_orders()
u:add_order("NUMMER PARTEI eviL")
u:add_order("KAEMPFE")
@ -235,7 +235,7 @@ function test_rewards()
u.number = 10
u:add_item("money", u.number*100)
u:add_item("greatbow", u.number)
u:set_skill("sk_bow", skill)
u:set_skill("bow", skill)
u:clear_orders()
u:add_order("KAEMPFE")
attack = "ATTACKIERE " .. itoa36(u.id)
@ -244,7 +244,7 @@ function test_rewards()
u.number = 7
u:add_item("money", u.number*100)
u:add_item("mallorn", u.number*10)
u:set_skill("sk_weaponsmithing", 7)
u:set_skill("weaponsmithing", 7)
u:clear_orders()
u:add_order("KAEMPFE NICHT")
u:add_order("MACHEN Elfenbogen")
@ -256,7 +256,7 @@ function test_rewards()
u.number = 7
u:add_item("money", u.number*100)
u:add_item("greatbow", u.number)
u:set_skill("sk_bow", skill)
u:set_skill("bow", skill)
u:clear_orders()
u:add_order("KAEMPFE HINTEN")
u:add_order(attack)
@ -265,7 +265,7 @@ function test_rewards()
u.number = 7
u:add_item("money", u.number*100)
u:add_item("mallorn", u.number*10)
u:set_skill("sk_weaponsmithing", 7)
u:set_skill("weaponsmithing", 7)
u:clear_orders()
u:add_order("KAEMPFE NICHT")
u:add_order("MACHEN Elfenbogen")
@ -275,7 +275,7 @@ function test_rewards()
u.number = 7
u:add_item("money", u.number*100)
u:add_item("mallorn", u.number*10)
u:set_skill("sk_weaponsmithing", 7)
u:set_skill("weaponsmithing", 7)
u:clear_orders()
u:add_order("KAEMPFE NICHT")

View file

@ -95,31 +95,31 @@ end
-- skills that will be given to new units
skills = {
"sk_roadwork",
"sk_crossbow",
"sk_mining",
"sk_bow",
"sk_building",
"sk_trade",
"sk_forestry",
"sk_catapult",
"sk_herbalism",
"sk_training",
"sk_riding",
"sk_armorer",
"sk_shipcraft",
"sk_melee",
"sk_sailing",
"sk_polearm",
"sk_espionage",
"sk_quarrying",
"sk_stealth",
"sk_entertainment",
"sk_weaponsmithing",
"sk_cartmaking",
"sk_perception",
"sk_taxation",
"sk_stamina"
"roadwork",
"crossbow",
"mining",
"bow",
"building",
"trade",
"forestry",
"catapult",
"herbalism",
"training",
"riding",
"armorer",
"shipcraft",
"melee",
"sailing",
"polearm",
"espionage",
"quarrying",
"stealth",
"entertainment",
"weaponsmithing",
"cartmaking",
"perception",
"taxation",
"stamina"
}
function wdw_setup()

View file

@ -8,7 +8,6 @@ Eressea:
Code cleanup:
- curse type should contain effect-type
- sk_ prefixes entfernen
- mehr itemtypes auslagern
- getstrtoken() - das static loswerden?
- readline implementieren
@ -29,7 +28,6 @@ Scripts, etc:
- XUL for Eressea
Old Terrain still needed:
- autoseed, qualitätsfunktion
- random people encounters (get_allies)
- creating dragons
- drought curse