- Mapper erzeugt Vulkane

- Neue Produktionskosten in Eressea
This commit is contained in:
Enno Rehling 2004-08-16 05:46:38 +00:00
parent 5fea6ab3b9
commit 7f370585ad
5 changed files with 39 additions and 35 deletions

View File

@ -280,6 +280,7 @@ preferred_terrain(const struct race * rc)
#define REGIONS_PER_FACTION 2 #define REGIONS_PER_FACTION 2
#define MINFACTIONS 1 #define MINFACTIONS 1
#define MAXAGEDIFF 5 #define MAXAGEDIFF 5
#define VOLCANO_CHANCE 100
int int
mkisland(int nsize) mkisland(int nsize)
@ -343,7 +344,9 @@ mkisland(int nsize)
++rsize; ++rsize;
} }
} }
if (rand() % REGIONS_PER_FACTION == 0 || rsize==0) { if (rand() % VOLCANO_CHANCE == 0) {
terraform(r, T_VOLCANO);
} else if (rand() % REGIONS_PER_FACTION == 0 || rsize==0) {
newfaction ** nfp, * nextf = newfactions; newfaction ** nfp, * nextf = newfactions;
unit * u; unit * u;
terraform(r, preferred_terrain(nextf->race)); terraform(r, preferred_terrain(nextf->race));

View File

@ -30,4 +30,36 @@
<item cursed="yes" notlost="yes" weight="0" /> <item cursed="yes" notlost="yes" weight="0" />
</resource> </resource>
<resource name="greatbow">
<function name="change" value="changeitem"/>
<item weight="100">
<construction skill="sk_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">
<damage type="rider" value="2d6+4"/>
<damage type="footman" value="2d6+4"/>
<modifier type="missile_target" value="2"/>
<modifier type="damage" value="1">
<race name="elf"/>
</modifier>
</weapon>
</item>
</resource>
<resource name="halberd">
<item weight="200">
<construction skill="sk_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">
<damage type="rider" value="2d6+3"/>
<damage type="footman" value="2d6+3"/>
<modifier type="skill" value="1" walking="true" against_riding="true" defensive="true"/>
</weapon>
</item>
</resource>
</resources> </resources>

View File

@ -26,24 +26,6 @@
<item notlost="yes" weight="1"/> <item notlost="yes" weight="1"/>
</resource> </resource>
<resource name="greatbow">
<function name="change" value="changeitem"/>
<item weight="100">
<construction skill="sk_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">
<damage type="rider" value="2d6+4"/>
<damage type="footman" value="2d6+4"/>
<modifier type="missile_target" value="2"/>
<modifier type="damage" value="1">
<race name="elf"/>
</modifier>
</weapon>
</item>
</resource>
<resource name="mallornbow"> <resource name="mallornbow">
<item weight="100"> <item weight="100">
<construction skill="sk_weaponsmithing" minskill="5" reqsize="1"> <construction skill="sk_weaponsmithing" minskill="5" reqsize="1">
@ -97,18 +79,4 @@
</item> </item>
</resource> </resource>
<resource name="halberd">
<item weight="200">
<construction skill="sk_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">
<damage type="rider" value="2d6+3"/>
<damage type="footman" value="2d6+3"/>
<modifier type="skill" value="1" walking="true" against_riding="true" defensive="true"/>
</weapon>
</item>
</resource>
</resources> </resources>

View File

@ -42,6 +42,7 @@
<xi:include href="vinyambar/wdw-strings.xml"/> <xi:include href="vinyambar/wdw-strings.xml"/>
<xi:include href="vinyambar/wdw-resources.xml" /> <xi:include href="vinyambar/wdw-resources.xml" />
<xi:include href="vinyambar/wdw-races.xml"/> <xi:include href="vinyambar/wdw-races.xml"/>
<xi:include href="vinyambar/items.xml"/>
<xi:include href="vinyambar/de/strings.xml"/> <xi:include href="vinyambar/de/strings.xml"/>
<strings> <strings>