Hey, maybe someone can help me with this. I am trying to make a new improvement, which should be available from the start and increase your population for Dust.
But after severyl hours of trial and error cannot get it to work. The improvement actualy does not show up at all. Here are realy basic code examples of the mod. From my understanding, the example should work. Maybe somecone can find the missing key.


Simulation/ConstructibleElement_Industry[CustomImprovement].xml

<Datatable xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"             

             xsi:noNamespaceSchemaLocation="../Schemas/IndustryConstructibleElement.xsd">


  <StarSystemPopulationTransformImprovementDefinition   Name="StarSystemImprovementCreateMajorPopWithDust" 

                 SubCategory="SubCategoryPopulation" 

                 ScoreProvider="StarSystemImprovementBuilt" PopulationDestination="Major"  PopulationToTransformCount="1" 

                 CreateIfNotAvailable="true">

         <AIGain RessourceName="PopulationGain" Inverted="false"></AIGain>

         <SupervisorGain Name="Industry" Weight="0.15"/>

         <SupervisorGain Name="Food"     Weight="0.15"/>

         <SupervisorGain Name="Dust"     Weight="0.15"/>

         <SupervisorGain Name="Science"  Weight="0.15"/>

          <QueuedSimulationDescriptorReference Name="QueuedDescriptorIncreaseVirtualPopulation"/>

         <CustomCost ResourceName="SystemMoney" Instant="true">100</CustomCost>

         <PathPrerequisite Inverted="false"   Flags="Prerequisite,Discard">ClassColonizedStarSystem</PathPrerequisite>

         <InterpreterPrerequisite Flags="MaximumPopulationSystem,Enqueue">(Property(Context,@ClassColonizedStarSystem, 

                             MaximumPopulation) ge (1 + 

                             Property(Context,@ClassColonizedStarSystem, Population) + Property(Context,@ClassColonizedStarSystem, 

                             VirtualPopulation)))</InterpreterPrerequisite>

         <InterpreterPrerequisite Flags="Prerequisite">(Property(Context,@ClassColonizedStarSystem, MaximumPopulation) ge

                            (Property(Context,@ClassColonizedStarSystem, Population) + 

                            Property(Context,@ClassColonizedStarSystem, VirtualPopulation)))</InterpreterPrerequisite>

         <SimulationDescriptorReference Name="StarSystemImprovementCreateMajorPopulation"/>

  </StarSystemPopulationTransformImprovementDefinition>

    

</Datatable>


Simulation/SimulationDescriptors[CustomImprovement].xml (I do think, that this is not even neccessary)

<?xml version="1.0" encoding="utf-8" ?>

<Datatable xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 

                          xsi:noNamespaceSchemaLocation="../Schemas/Amplitude.Unity.Simulation.SimulationDescriptor.xsd">

    

    <SimulationDescriptor Name="StarSystemImprovementCreateMajorPopulation"     Type="StarSystemImprovement"/>


</Datatable>


gui/GuiElements[CustomImprovement].xml

<?xml version="1.0" encoding="utf-8" ?>

<Datatable xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 

         xsi:noNamespaceSchemaLocation="../Schemas/Amplitude.Unity.Gui.GuiElement.xsd">


    <ExtendedGuiElement Name="StarSystemImprovementCreateMajorPopWithDust ">

        <Title>%StarSystemImprovementCreateMajorPopWithDust Title</Title>

        <Description>%StarSystemImprovementCreateMajorPopWithDust Description</Description>

        <Icons>

            <Icon Size="Small" Path="Bitmaps/Dynamic/Improvements/StarSystem/StarSystemImprovementDust4Small" />

            <Icon Size="Large" Path="Bitmaps/Dynamic/Improvements/StarSystem/StarSystemImprovementDust4Large" />

        </Icons>

        <TooltipElement>

            <EffectOverride>%StarSystemImprovementCreateMajorPopWithDustEffectOverride</EffectOverride>

        </TooltipElement>

    </ExtendedGuiElement>


</Datatable>


Localization/english/ES2_Localization_Assets_Locales.xml

<Datatable xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 

        xsi:noNamespaceSchemaLocation="../../Documentation/Schemas/Amplitude.Unity.Localization.LocalizationDatatableElement.xsd">

    

    <!-- Star System Improvement -->

    <LocalizationPair Name="%StarSystemImprovementCreateMajorPopWithDust Title">A</LocalizationPair>

    <LocalizationPair Name="%StarSystemImprovementCreateMajorPopWithDust Description">B</LocalizationPair>

    <LocalizationPair Name="%StarSystemImprovementCreateMajorPopWithDust EffectOverride">C</LocalizationPair>


</Datatable>


And the modfile course:

<?xml version="1.0" encoding="utf-8" ?>

<Datatable xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 

       xsi:noNamespaceSchemaLocation="Documentation/Schemas/Amplitude.Unity.Runtime.RuntimeModule.xsd">


    <RuntimeModule Name="CustomImprovement" Type="Extension" Version="0.9">

        <Tags>MajorFactions</Tags>

        <Title>TestingModuleCustomImprovement</Title>

        <Description>TBD</Description>

        <Author>TBD</Author>

        <Homepage></Homepage>

        <PreviewImageFile>ModIcon.jpg</PreviewImageFile>

        <ReleaseNotes></ReleaseNotes>


        <Plugins>

        

            <LocalizationPlugin DefaultLanguage="english">

                <Directory>Localization</Directory>

            </LocalizationPlugin>

            

            <DatabasePlugin DataType="Amplitude.Unity.Gui.GuiElement, Assembly-CSharp-firstpass">

                <ExtraTypes>

                    <ExtraType DataType="Amplitude.Unity.Gui.ExtendedGuiElement, Assembly-CSharp-firstpass" />

                    <ExtraType DataType="AffinityGuiElement, Assembly-CSharp" />

                </ExtraTypes>

                <FilePath>Gui/GuiElements[CustomImprovement].xml</FilePath>     

            </DatabasePlugin>

            

            <DatabasePlugin DataType="Amplitude.Unity.Simulation.SimulationDescriptor, Assembly-CSharp-firstpass">

                <FilePath>Simulation/SimulationDescriptors[CustomImprovement].xml</FilePath>

            </DatabasePlugin>

            

            <DatabasePlugin DataType="IndustryConstructibleElement, Assembly-CSharp">

                <ExtraTypes>

                     <ExtraType DataType="StarSystemPopulationTransformImprovementDefinition, Assembly-CSharp" />

                </ExtraTypes>

                <FilePath>Simulation/ConstructibleElement_Industry[CustomImprovement].xml</FilePath>     

            </DatabasePlugin>

        

        </Plugins>

    </RuntimeModule>

</Datatable>



I guess the error is somewhere in "ConstructibleElement_Industry[CustomImprovement].xml". I took a look in the Watcher Major Faction mod and in ESG, but I can't see what I am doing wrong here.
Any advice would be realy nice.