adaneslavo / More-Unique-Components-for-VP

Adds 3rd and 4th unique component to each civilization.
1 stars 6 forks source link

Siam - Baan Chang (Elephant Camp) triggers for any unit spawn #9

Closed shbehna closed 6 years ago

shbehna commented 6 years ago

The ability "Receive X in city every time a city state gifts a unit" triggers for any unit spawning. For example, purchases with gold and faith (event missionaries), unit created by events, and even unit upgrades.

adaneslavo commented 6 years ago

Working on it.

adaneslavo commented 6 years ago

GameEvents.MinorGift.Add(function(iMinor, iMajor, iGift, iFriendshipBoost, 0, bFirstMajorCiv, false, szTxtKeySuffix) end)

Infixo commented 6 years ago

The new event is GameEvents.MinorGiftUnit.Add(function(iMinor, iMajor, iUnitType) end)

pineappledan commented 6 years ago

Has this been resolved with the Jan 21 VP update?

Infixo commented 6 years ago

It is available in VP 1-21