Some Help with a Trait

Carloso

Warlord
Joined
Jan 30, 2014
Messages
162
Location
Ireland
I'm planning to release an Akkadian civilization and I need help with the following trait, which of course requires lua which i'm struggling to get my head around at the moment... :D
Anyway, here it is:

Whenever war is declared, a free Lugal appears near the :c5capital: Capital. The empire also has a chance (33% chance) to enter an 8 turn :c5goldenage: Golden Age.

So, any help? Is it possible?
 
I beleive it's possible. Although I don't know Lua well enough to say exactly how you'd go about it, I'd take a look at JFD's Empire of France civ. Its UA gives you a free Great General on the outbreak of war with a major civilization. (Note that he added the restriction to major civilizations because it was too easy to just constantly declare war on minor civs to generate tons of GGs...) But it would likely have most of the Lua code you'd need, you'd just need to switch what unit was spawned.
 
I beleive it's possible. Although I don't know Lua well enough to say exactly how you'd go about it, I'd take a look at JFD's Empire of France civ. Its UA gives you a free Great General on the outbreak of war with a major civilization. (Note that he added the restriction to major civilizations because it was too easy to just constantly declare war on minor civs to generate tons of GGs...) But it would likely have most of the Lua code you'd need, you'd just need to switch what unit was spawned.
Thanks!
 
Back
Top Bottom