11
This commit is contained in:
Binary file not shown.
Binary file not shown.
BIN
Content/Textures/ArachnaeSwarm/UI/Commands/ARA_FlightToggle.png
Normal file
BIN
Content/Textures/ArachnaeSwarm/UI/Commands/ARA_FlightToggle.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
@@ -23,12 +23,12 @@ namespace ArachnaeSwarm
|
||||
{
|
||||
if (Props.showFlightToggle && parent is Pawn pawn && pawn.Faction == RimWorld.Faction.OfPlayer)
|
||||
{
|
||||
yield return new Verse.Command_Toggle
|
||||
yield return new Command_Toggle
|
||||
{
|
||||
defaultLabel = "Toggle Flight",
|
||||
defaultDesc = "Toggle flight mode on or off.",
|
||||
Order = 100f,
|
||||
icon = Verse.ContentFinder<UnityEngine.Texture2D>.Get("StellarisDaughter/UI/Commands/SD_FlightToggle", false)
|
||||
icon = ContentFinder<UnityEngine.Texture2D>.Get("ArachnaeSwarm/UI/Commands/ARA_FlightToggle", false)
|
||||
?? RimWorld.TexCommand.GatherSpotActive,
|
||||
isActive = () => flightEnabled,
|
||||
toggleAction = () =>
|
||||
|
||||
Reference in New Issue
Block a user