THIS MOD BECAME OBSOLETE AS OF 1.11
This mod fixes the Lighthouse effect, and the Norsemen and Germans +CS trait to have it only apply to naval units. The bonuses will apply to embarked units.
COMPATIBILITY: This mod won't work with any mod that changes either the Lighthouse of Alexandria, the Norsemen LT and/or the Germans LT. For compatibility purposes, I've attached images of the changes made in the mod editor so modders that change either of those cultures or wonder can adjust their mods.
EDIT: Modders, please check the comments for the advice on order of operations in the validations. Using the inverted validation first is better for the tooltips - that is the change for v1.1
EDIT2: I've updated the mod with a new fix that applies the CS bonuses to embarked units without messing with land units. However, there are 2 tooltip bugs. First, the +CS tooltip will appear duplicated on culture/wonder selection screen(Norsemen will have + 2 CS on Naval Units, +2 CS on Naval Units) as the first instance refers to transport ships and the second instance refers to non-transport ships. Second, the transport bonuses will be folded into the base CS of the unit (so a transport galley with lighthouse will appear as 9 base CS instead of 8 base + 1 lighthouse bonus). I'll work on those UI issues once I have a little more free time on my hand. Also, I added a new image (tagged with red "Germans" text) to show how to do it on the mod tools so other modders can replicate it.
3 comments
Thanks, i have already implemented this in all my mods. I did not know it was so easy to fix.
1
It is. Though the screenshots does not show it, it is better to have the inverted validations as first in the list, otherwise they will show up in the tooltips. Version 1.1.0 for download is changed to reflect that.
3
Thanks for the tip, will do that!
1
No comment were found matching the criteria specified. We suggest you try the comment list with no filter applied, to browse all available. Join now to participate.