So I tried converting some existing buildings to districts (my Unstacked mod on the Steam Workshop) but I'm having a heck of a time getting mouseovers to display the district icon/description.


Can someone explain to me where the magic happens to describe this?  I've tried adding an entry to GuiElements[DistrictImprovement].xml but that doesn't seem to work.


Relevant code I'm working with:

GuiElements[DistrictImprovement].xml


[code]<GuiElement Name="DistrictSeed">
<Title>%DistrictImprovementSeedTitle</Title>
<Description>%DistrictImprovementSeedDescription</Description>
<Icons>
<Icon Size="Small" Path="Gui/AtlasedBitmaps/Improvements/City/CityImprovementFood0Small" />
<Icon Size="Large" Path="Gui/DynamicBitmaps/Improvements/City/CityImprovementFood0Large" />
</Icons>
</GuiElement>[/code]


SimulationDescriptors[DistrictType].xml


[code]<DistrictImprovementDefinition        Name="CityImprovementFood0"                              SubCategory="SubCategoryDistrict"   DistrictDescriptorSuffix="Seed" ResourceOnMigration="FreeSeed" >
<Cost ResourceName="Production">75</Cost>
<SimulationDescriptorReference Name="DistrictImprovementSeed"/>
<SimulationDescriptorReference Name="DistrictImprovementExtractingCapacity" />
<SimulationDescriptorReference    Name="OnlyOnePerCity" />
<InterpreterPrerequisite  Inverted="false" Flags="Prerequisite,Discard">$Property(FreeSeedStock) le 0</InterpreterPrerequisite>
<PathPrerequisite        Inverted="true"  Flags="Prerequisite,Discard">ClassCity/DistrictImprovementSeed</PathPrerequisite>
<PathPrerequisite         Inverted="true"  Flags="Prerequisite,Siege,AIEconomicRatio">ClassCity,CityStatusSiege</PathPrerequisite>
<TechnologyPrerequisite Flags="Prerequisite,Discard,Technology,AIEconomicRatio">TechnologyFood0</TechnologyPrerequisite>
</DistrictImprovementDefinition>[/code]