whoward69
DLL Minion
The DiploCorner in the standard game (post patch 674) now has a mechanism for adding new entries into the drop-down, which in theory makes the custom diplo corner mods (here and here) redundant.
To add a new entry, use the following template code
To add a new entry, use the following template code
Code:
function OnDiploCornerPopup()
-- Display your mod here
end
function OnAdditionalInformationDropdownGatherEntries(additionalEntries)
table.insert(additionalEntries, {
text=Locale.ConvertTextKey("TXT_KEY_MY_ADDIN_NAME"),
call=OnDiploCornerPopup
})
end
LuaEvents.AdditionalInformationDropdownGatherEntries.Add(OnAdditionalInformationDropdownGatherEntries)
LuaEvents.RequestRefreshAdditionalInformationDropdownEntries()