Skip to content

Conversation

PollastreGH
Copy link
Contributor

Brief Description of What This PR Does

Once finished, this will fully implement the hotkey to toggle thermal vision. I'm still very new to programming in C#, so my apologies if I missed anything regarding basic style / best practice. To my knowledge one of the main things missing still are the localization files.

Related Issues

Closes #5878

Progress Checklist

Note: before starting this checklist the PR should be marked as non-draft.

  • PR author has checked that this PR works as intended and doesn't
    break existing features:
    https://wiki.revolutionarygamesstudio.com/wiki/Testing_Checklist
    (this is important as to not waste the time of Thrive team
    members reviewing this PR)
  • Initial code review passed (this and further items should not be checked by the PR author)
  • Functionality is confirmed working by another person (see above checklist link)
  • Final code review is passed and code conforms to the
    styleguide.

Before merging all CI jobs should finish on this PR without errors, if
there are automatically detected style issues they should be fixed by
the PR author. Merging must follow our
styleguide.

@@ -258,6 +258,11 @@ public override bool GetCurrentSpeedMode()
return stage.WorldSimulation.WorldTimeScale > 1;
}

public override bool IsHeatViewAvailable()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding this new method means that this line: bottomLeftBar.HeatViewAvailable = organelles.HeatCollection > 0; in UpdateAbilitiesHotBar should also be updated to use this.


[Export]
private TextureButton heatButton = null!;
public TextureButton HeatButton = null!;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be made public as that violates OOP encapsulation principles.

@revolutionary-bot
Copy link

We are currently in feature freeze until the next release.
If your PR is not just a simple fix, then it may take until the release to get reviewed and merged.

@hhyyrylainen
Copy link
Member

Hey, when checking stuff still going into the next Thrive release I remembered this PR. This won't make it into 0.8.2, but I marked this for 0.8.3 instead. Are you planning on continuing work on this PR? It's fine if you don't have time, and there's still quite a long time until 0.8.3 so there's no rush.

@PollastreGH
Copy link
Contributor Author

Yeah, I am. Sorry for the delay, I've recently gotten quite busy with school, though I do definitely intend to continue working on it

Copy link

This PR has been inactive for a while and as such is being marked
stale. This PR will be automatically closed if this stays stale
for a while.

If this is still being worked on / will probably resume work at
some point please feel free to continue working on this and reopen
this in case this was already automatically closed.

@github-actions github-actions bot added the stale label Jul 30, 2025
@hhyyrylainen hhyyrylainen removed this from the Release 0.8.3 milestone Aug 8, 2025
@github-actions github-actions bot removed the stale label Aug 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

Add hotkey for toggling thermal vision
3 participants