Beispiel #1
0
        public override void DesignateSingleCell(IntVec3 c)
        {
            GenSpawn.WipeExistingThings(c, placingRot, PlacingDef.installBlueprintDef, base.Map, DestroyMode.Deconstruct);
            MinifiedThing minifiedThing = MiniToInstallOrBuildingToReinstall as MinifiedThing;

            if (minifiedThing != null)
            {
                GenConstruct.PlaceBlueprintForInstall(minifiedThing, c, base.Map, placingRot, Faction.OfPlayer);
            }
            else
            {
                GenConstruct.PlaceBlueprintForReinstall((Building)MiniToInstallOrBuildingToReinstall, c, base.Map, placingRot, Faction.OfPlayer);
            }
            MoteMaker.ThrowMetaPuffs(GenAdj.OccupiedRect(c, placingRot, PlacingDef.Size), base.Map);
            Find.DesignatorManager.Deselect();
        }