Resource icon

Persistent Religious Units 2017-04-08

fodazd

Chieftain
Joined
Mar 5, 2013
Messages
75
fodazd submitted a new resource:

Persistent Religious Units - Religious Units get unlimited Charges, but their abilities are weaker.

Missionaries, Apostles and Inquisitors get 1000000 Charges (effectively unlimited), but they are more expensive and their abilities are weaker:

Missionaries cost 200 Faith and Spread Religion for +10.
Apostles cost 500 Faith and Spread Religion for +11, and also eliminate 3% of other religions.
Inquisitors cost 200 Faith and eliminate 15% of other religions.

The Orator, Pilgrim and Heathen Conversion Promotions of Apostles are removed. Proselytizer means the Apostle removes 15% of other...

Read more about this resource...
 
Modinfo:

Code:
<?xml version="1.0" encoding="utf-8"?>
<Mod id="f716e63b-5a81-44ff-9708-15e4f16f3274" version="1">
  <Properties>
    <Name>Persistent Religious Units</Name>
    <Description>Missionaries, Apostles and Inquisitors get 1000000 Charges (effectively unlimited), but they are more expensive and their abilities are weaker:

Missionaries cost 200 Faith and Spread Religion for +10.
Apostles cost 500 Faith and Spread Religion for +11, and also eliminate 3% of other religions.
Inquisitors cost 200 Faith and eliminate 15% of other religions.

The Orator, Pilgrim and Heathen Conversion Promotions of Apostles are removed. Proselytizer means the Apostle removes 15% of other religions instead of 3%.

ToDo:
* Values for spead and remove religion should be adapted to game speed.
* Philip of Spain needs a different ability, maybe additional Strength for Inquisitors.
* Mosques need a different ability, maybe additional passive religious pressure.
* A custom action for "spread religion every turn until the adjacent city converts" would be nice to avoid needless clicks on "spread religion" every turn.</Description>
    <Teaser>Religious Units get unlimited Charges, but their abilities are weaker.</Teaser>
    <Authors>fodazd</Authors>
  </Properties>
  <InGameActions>
    <UpdateDatabase id="NewAction">
      <File>PRU.sql</File>
    </UpdateDatabase>
  </InGameActions>
  <Files>
    <File>PRU.sql</File>
  </Files>
</Mod>


PRU.sql:

Code:
-- PRU
-- Author: fodazd
-- DateCreated: 4/2/2017 9:56:13 PM
--------------------------------------------------------------

UPDATE Units SET SpreadCharges='1000000', Cost = '100' WHERE UnitType='UNIT_MISSIONARY';
UPDATE Units SET SpreadCharges='1000000', Cost = '250', ReligionEvictPercent='3' WHERE UnitType='UNIT_APOSTLE';
UPDATE Units SET SpreadCharges='1000000', COST = '100', ReligionEvictPercent='15' WHERE UnitType='UNIT_INQUISITOR';

UPDATE GlobalParameters SET Value='10' WHERE Name='RELIGION_SPREAD_STRENGTH_MULTIPLIER';

DELETE FROM UnitPromotions WHERE UnitPromotionType = 'PROMOTION_ORATOR';
DELETE FROM UnitPromotions WHERE UnitPromotionType = 'PROMOTION_PILGRIM';
DELETE FROM UnitPromotions WHERE UnitPromotionType = 'PROMOTION_HEATHEN_CONVERSION';

DELETE FROM UnitPromotionModifiers WHERE UnitPromotionType = 'PROMOTION_ORATOR';
DELETE FROM UnitPromotionModifiers WHERE UnitPromotionType = 'PROMOTION_PILGRIM';
DELETE FROM UnitPromotionModifiers WHERE UnitPromotionType = 'PROMOTION_HEATHEN_CONVERSION';

DELETE FROM Modifiers WHERE ModifierId = 'APOSTLE_EXTRA_SPREAD_CHARGES';
DELETE FROM Modifiers WHERE ModifierId = 'APOSTLE_NW_DEFERRED_CHARGES';
DELETE FROM Modifiers WHERE ModifierId = 'APOSTLE_BARBARIAN_CONVERSION';

DELETE FROM ModifierArguments WHERE ModifierId = 'APOSTLE_EXTRA_SPREAD_CHARGES';
DELETE FROM ModifierArguments WHERE ModifierId = 'APOSTLE_NW_DEFERRED_CHARGES';
DELETE FROM ModifierArguments WHERE ModifierId = 'APOSTLE_BARBARIAN_CONVERSION';

UPDATE ModifierArguments SET Value='12' WHERE ModifierId = 'APOSTLE_EVICT_ALL' AND Name = 'Amount';


Workshop Link: http://steamcommunity.com/sharedfiles/filedetails/?id=900939739
 
Back
Top Bottom