Skip to content

Commit

Permalink
Merge pull request #3 from FreeCol/trade_modifier_option2
Browse files Browse the repository at this point in the history
BR3092 New Game Options for Trading with Natives
  • Loading branch information
HighwayofLife authored Sep 8, 2017
2 parents 4ec58c0 + 34a3855 commit 26f42ce
Show file tree
Hide file tree
Showing 5 changed files with 328 additions and 291 deletions.
15 changes: 11 additions & 4 deletions data/rules/classic/specification.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1789,11 +1789,11 @@
to="model.unit.undead" probability="100"/>
</unit-change-type>
</unit-change-types>

<unit-types>
<!-- ATTENTION: skill-taught can NOT be inherited because it
defaults to the unit type itself! -->
<unit-type id="colonist" abstract="true"
<unit-type id="colonist" abstract="true"
offence="0" defence="1" movement="3" line-of-sight="1"
priority="1000">
<ability id="model.ability.person"
Expand Down Expand Up @@ -1995,7 +1995,7 @@
<modifier id="model.goods.hammers" index="30" type="additive" value="-2"/>
<modifier id="model.goods.tools" index="30" type="additive" value="-2"/>
</unit-type>
<unit-type id="model.unit.indianConvert"
<unit-type id="model.unit.indianConvert"
skill="0" offence="0" defence="1" movement="3" line-of-sight="1"
maximum-attrition="8" score-value="3">
<consumes id="model.goods.food" value="2"/>
Expand Down Expand Up @@ -2982,7 +2982,7 @@
</european-nation-type>
<!-- really special nation type for option use *only*, needed so
that the missionary role is available to units in unit list
options -->
options -->
<european-nation-type id="model.nationType.optionOnly"
extends="model.nationType.default">
<ability id="model.ability.dressMissionary" value="true"/>
Expand Down Expand Up @@ -4576,6 +4576,13 @@
settlement. -->
<percentageOption id="model.option.demandProbability"
defaultValue="10" />
<!-- Percentage impact on Native Alarm trades will have -->
<percentageOption id="model.option.alarmBonusBuy"
defaultValue="20"/>
<percentageOption id="model.option.alarmBonusSell"
defaultValue="20"/>
<percentageOption id="model.option.alarmBonusGift"
defaultValue="40"/>
<!-- Maximum number of goods a native settlement will offer
for sale. -->
<integerOption id="model.option.settlementNumberOfGoodsToSell"
Expand Down
Loading

0 comments on commit 26f42ce

Please sign in to comment.