pineappledan
Deity
That was... a lot of complimenting yourself for your own idea...
Like always?That was... a lot of complimenting yourself for your own idea...
UM - Shotelai (replaces Longswordsman): Available at Metal Casting. 22CP. Has "Hooked Weapon" (On attack reduces starting movement of enemy unit by 1. Lost after unit upgrade) and "Anti-Mounted I" Promotions.
UI - Monolithic church (Worker Improvement): Available at Theology. +2Production, +2
Culture and +3
Faith. Must be built on unfeatured hill, Marble or Stone. Cannot be adjacent to each other. Improves Stone and Marble. +1
Faith and +1
Culture at Machinery, +1
Production and +1
Culture at Architecture and +1
Production and +2
Gold at Archaeology.
I thing AI won't understand "legacy" promotion. IMO we should change it.
It appears to be a most excellent ship indeed. My only fear is that with the +10 hp being a unique promotion, it will now stack with medic, so a unit with medic II and a nearby langskib could heal for 30 hp/turn. I would probably drop the healing entirely, or just give them medic I, since the stacking heals is probably unintentional. Having 3 promotions isn’t bad, there’s plenty of UUs that already exist that have 3. I think having both medic I and II (4 total) was what was making it feel overboard
If you are skilled artist you could do an Icon for Koa's promotion. I used one of the naval promotions but it is not the best choice. Also Shotelai's one could be changed. I tried to paint them but I'm not skilled enough to draw such complicated things in GIMP.Anyway I have implemented the changes according to the last discussion.
I could use some nice icons for the promotions though.
Any suggestions for the Viking Exploration promotion and the attached Ocean Moving promotion ?
@De_Genius There is other way. In New Promotions mod there's piece of code that create mutuallyexclusivegroup. There are 3 promotions and when one is chosen the other 2 become unavailable. Parts of code (I could miss something so you need to check this on your own):Alternatively, if there is a way to expressly make sure that the langskib’s healing does NOT stack with medic then there’s no problem, but that would have to be noted in the tooltip.
--One SQL
ALTER TABLE UnitPromotions ADD MutuallyExclusiveGroup INTEGER DEFAULT -1;
--Second SQL
<!--SET MUTUALLY EXCLUSIVE FEATURE-->
<Update>
<Where Type="PROMOTION_WISDOM"/>
<Set MutuallyExclusiveGroup="1"/>
</Update>
<Update>
<Where Type="PROMOTION_ENTERTAINER"/>
<Set MutuallyExclusiveGroup="1"/>
</Update>
<Update>
<Where Type="PROMOTION_MYSTICISM"/>
<Set MutuallyExclusiveGroup="1"/>
</Update>
</UnitPromotions>
--And Lua
function OnCanHavePromotion(iPlayer, iUnit, iPromotion)
local iGroup = GameInfo.UnitPromotions[iPromotion].MutuallyExclusiveGroup
if (iGroup ~= -1) then
local pUnit = Players[iPlayer]:GetUnitByID(iUnit)
for row in DB.Query("SELECT ID FROM UnitPromotions WHERE MutuallyExclusiveGroup = ? AND ID != ?", iGroup, iPromotion) do
if (pUnit:IsHasPromotion(row.ID)) then
return false
end
end
end
return true
end
GameEvents.CanHavePromotion.Add(OnCanHavePromotion)
There always way to do that but you need to make 3 types of icons (4 different sizes) and paint them with shadows. I cannot do that for now.Is there a way to make the unit flag a promotion icon? Make that icon pull double duty? That would save some time painting custom icons
I manged to make those floating texts for Philhellenism and Bleeding. Now it makes things lot more visible for player.![]()