public override IEnumerable <Gizmo> GetGizmos() { foreach (Gizmo baseGizmo in base.GetGizmos()) { yield return(baseGizmo); } yield return(new Command_Action { action = MakeMatchingGrowZone, hotKey = KeyBindingDefOf.Misc2, defaultDesc = "CommandSunLampMakeGrowingZoneDesc".Translate(), icon = ContentFinder <Texture2D> .Get("UI/Designators/ZoneCreate_Growing"), defaultLabel = "CommandSunLampMakeGrowingZoneLabel".Translate() }); yield return(new Command_Action { icon = TexUI.RotRightTex, defaultIconColor = Color.green, defaultLabel = "CultivatorTools_AdjustDirection_Output".Translate(), defaultDesc = "CultivatorTools_AdjustDirection_Desc".Translate(outputRotation.AsCompassDirection()), activateSound = SoundDefOf.Click, action = () => outputRotation.Rotate(RotationDirection.Clockwise) }); }