Artifacts

[SDK] Artifacts 1.1

topsecret

Believer
Supporter
Joined
Feb 11, 2010
Messages
5,972
Location
At the Foot of the Cross
Artifacts

This SDK Mod adds various new tags that enable items and artifacts to be created under promotions.

Download



For Promotions
<bArtifact> prevents a unit from collecting the promotion via experience. It must be obtained through buildings, units, traits, or (as added in this mod) projects.
<bSaveFromCombat> hands the promotion to the strongest surviving unit if the unit with the promotion dies on defense.
<bCanCapture> enables attackers and defenders both to capture the promotion. Note that defenders that SaveFromCombat will prevent it from being captured if there is another unit.

For Projects
<PromotionStrongestUnit> grants the specified promotion to the strongest unit that can use it. If no legal unit is available, a new unit will be created based on the draft unit without cost to receive the promotion.



For Units
Units that attach either a promotion or experience will be able to give those to other units. There is no longer a restriction on those tags.
Great General births only give units that have both the LeaderExperience and LeaderPromotion tag.

Source code included. All changes are marked with "Artifacts" and "Topsecret" with a respective date. The easiest way to find the changes is to search for Topsecret.
 
thats a cool mod friend.
i hope i get to use it.
Should be easy to merge. I am working on some more expansions (for example, I wrote some code to the PlatyPedia that gives artifacts their own screen in the pedia.)
 
there are really cool additions.

now that my modmod is out, im looking into new stuff.
I've got a few more additions for this one, but they have to wait until I finish another mod component. :)
 
Top Bottom