Skip to content
Snippets Groups Projects
Commit d614371c authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'pregmod-master' into 'pregmod-master'

fixing fucked up edicts

See merge request pregmodfan/fc-pregmod!1145
parents fe63e277 012885d7
No related branches found
No related tags found
No related merge requests found
......@@ -198,6 +198,12 @@
<<if ndef $sunTzu>>
<<set $sunTzu = 0>>
<</if>>
<<if ndef $mamluks>>
<<set $mamluks = 0>>
<</if>>
<<if ndef $pharaonTradition>>
<<set $pharaonTradition = 0>>
<</if>>
<<if ndef $weaponsLaw || $wasToggledBefore == 1>>
<<set $weaponsLaw = 3>>
<</if>>
......
......@@ -190,7 +190,7 @@
<</if>>
<<if $pharaonTradition == 1>>
<br>''@@.lime;Legionaries traditions:@@'' you are funding specialized training for your recruits to turn them into an army worthy of a pharaon.
<br>''@@.lime;Pharaonic traditions:@@'' you are funding specialized training for your recruits to turn them into an army worthy of a pharaon.
[[Implement|edicts][$pharaonTradition = 0, $edictsUpkeep -= 1000, $militiaBaseAttack -= 2, $militiaBaseDefense -= 2, $militiaBaseMorale -= 10]]
<br>&nbsp;&nbsp;&nbsp;&nbsp;//Will increase attack, defense and morale of militia units, but will incur upkeep costs.//
<</if>>
......@@ -207,7 +207,7 @@
<<if $mamluks == 1>>
<br>''@@.lime;Mamluks traditions:@@'' you are funding specialized training for your slaves following the Arabian tradition of mamluks slave soldiers.
[[Repeal|edicts][$ronin = 0, $edictsUpkeep -= 1000, $slaveBaseAttack -= 2, $slaveBaseHp--, $slaveBaseMorale -= 10]]
[[Repeal|edicts][$mamluks = 0, $edictsUpkeep -= 1000, $slaveBaseAttack -= 2, $slaveBaseHp--, $slaveBaseMorale -= 10]]
<</if>>
<<if $sunTzu == 1>>
......@@ -659,7 +659,7 @@
<<if $arcologies[0].FSEgyptianRevivalist >= 40 && $militiaFounded == 1>>
<<if $pharaonTradition == 0>>
<br>''@@.lime;Legionaries traditions:@@'' Fund specialized training for your recruits to turn them into an army worthy of a pharaon.
<br>''@@.lime;Pharaonic traditions:@@'' Fund specialized training for your recruits to turn them into an army worthy of a pharaon.
<<if $authority >= 1000>>
[[Implement|edicts][$pharaonTradition = 1, $cash -=5000, $authority -= 1000, $edictsUpkeep += 1000, $militiaBaseAttack += 2, $militiaBaseDefense += 2, $militiaBaseMorale += 10]]
<<else>>
......@@ -697,7 +697,7 @@
<<if $mamluks == 0>>
<br>''@@.lime;Mamluks traditions:@@'' Fund specialized training for your slaves to turn them into the mamluks slave soldiers of Arabian tradition.
<<if $authority >= 1000>>
[[Implement|edicts][$ronin = 1, $cash -=5000, $authority -= 1000, $edictsUpkeep += 1000, $slaveBaseAttack += 2, $slaveBaseHp++, $slaveBaseMorale += 10]]
[[Implement|edicts][$mamluks = 1, $cash -=5000, $authority -= 1000, $edictsUpkeep += 1000, $slaveBaseAttack += 2, $slaveBaseHp++, $slaveBaseMorale += 10]]
<<else>>
<br>//Not enough Authority.//
<</if>>
......
......@@ -68,6 +68,8 @@
<<set $eagleWarriors = 0>>
<<set $ronin = 0>>
<<set $sunTzu = 0>>
<<set $mamluks = 0>>
<<set $pharaonTradition = 0>>
<<set $weaponsLaw = 3>>
<<set $soldierWages = 1>>
<<set $militiaSoldierPrivilege = 0>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment