Verifing '(ui) Improved City View (VP) (v 11)'
MD5 for UI/CityView.lua is 2BED0940A863AFE50385A646E4391766 (expecting 3C2DABF3FE0132E3470DCCBE3F9D7D80)
MD5 for UI/CityView.xml is C93355DBD4A5993C7FD89728BC07689A (expecting 132829BC625FA33153B47CD4F7355E97)
MD5 for UI/CityView_small.xml is C93355DBD4A5993C7FD89728BC07689A (expecting 0C7A8A9097B3C8093518356DD34E4550)
XML error for UI/CityView.xml: Error on line 136 of document file:/home/ryan/.local/share/Steam/steamapps/compatdata/8930/pfx/drive_c/users/steamuser/My%20Documents/My%20Games/Sid%20Meier's%20Civilization%205/MODS/(ui)%20Improved%20City%20View%20(VP)%20(v%2011)/UI/CityView.xml: Element type "ScrollPanel" must be followed by either attribute specifications, ">" or "/>".
XML file UI/CityView.xml in the VFS is not a <Context> or <LeaderScene>
--- Done
I was referring to the XML line with element type ScrollPanel. I understand that MD5 sums can be ignored.Seriously, most of us don't care about MD5 matching (I just type in random stuff) since we don't even use ModBuddy or plan to release the mods on Steam Workshop.
XML error for UI/CityView.xml: Error on line 136 of document file:/home/ryan/.local/share/Steam/steamapps/compatdata/8930/pfx/drive_c/users/steamuser/My%20Documents/My%20Games/Sid%20Meier's%20Civilization%205/MODS/(ui)%20Improved%20City%20View%20(VP)%20(v%2011)/UI/CityView.xml: Element type "ScrollPanel" must be followed by either attribute specifications, ">" or "/>".
Seems to break the Citizen Management function though
Maybe I will try? Which version do you claim it's working? I can test it out.
Beside worker assignment, are there any other not working things to test?
local freeSpecialists = city:GetRemainingFreeSpecialists();
if(freeSpecialists > 0) then
Controls.FreeSpecialistLabel:SetText(tostring(freeSpecialists))
--Update suffix to use correct plurality.
Controls.FreeSpecialistLabelSuffix:LocalizeAndSetText( "TXT_KEY_CITYVIEW_FREESPECIALIST_TEXT", freeSpecialists )
else
local defSpecialist = (GameDefines.BALANCE_UNHAPPINESS_PER_SPECIALIST / 100)
Controls.FreeSpecialistLabel:SetText(tostring(defSpecialist))
--Update suffix to use correct plurality.
Controls.FreeSpecialistLabelSuffix:LocalizeAndSetText("TXT_KEY_CITYVIEW_NOFREESPECIALIST_TEXT")
end
With the version @TadhgEomonn provided it seems to work but without optimization, if you focus Production the city will reassign workers but not to maximize the selected production. IE: Focusing production will move the citizens around to production tiles but it will still work a food only tile while there's a production tile available