Esempio n. 1
0
        public override ModItem Clone(Item item)
        {
            ModularItem modularItem = (ModularItem)base.Clone(item);

            modularItem.InstalledModules = new List <BaseModule>(InstalledModules);
            modularItem.EnergyStorage    = EnergyStorage.Clone();
            modularItem.HeatStorage      = HeatStorage.Clone();
            return(modularItem);
        }