public CustomCraftingTab() : base(KeyName, CustomCraftingTabProperties)
        {
            emTabID         = (EmProperty <string>)Properties["TabID"];
            emDisplayName   = (EmProperty <string>)Properties["DisplayName"];
            emSpriteID      = (EmPropertyTechType)Properties["SpriteItemID"];
            emParentTabPath = (EmProperty <string>)Properties["ParentTabPath"];

            base.OnValueExtractedEvent += ParsePath;
        }
Exemple #2
0
 public CustomBioFuel() : base("CustomBioFuel", BioFuelProperties)
 {
     emTechType = (EmPropertyTechType)Properties["ItemID"];
     emEnergy   = (EmProperty <float>)Properties["Energy"];
 }