Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Move temperature data to bodypart #5557

Merged
merged 5 commits into from
Oct 19, 2024

Conversation

Coolthulhu
Copy link
Member

@Coolthulhu Coolthulhu commented Oct 10, 2024

Checklist

Required

Optional

Purpose of change

Move temperature data from character to body part to allow non-static body part count.

Describe the solution

Body part gets getters and setters for: temp_cur, temp_conv, frostbite timer.

  • Handle saves with old temperature format

Describe alternatives you've considered

Testing

  • Tests pass
  • Running the game doesn't result in debugmsgs every turn

Additional context

@github-actions github-actions bot added src changes related to source code. tests changes related to tests labels Oct 10, 2024
@Coolthulhu Coolthulhu marked this pull request as ready for review October 15, 2024 05:44
@chaosvolt chaosvolt merged commit 3469dd0 into cataclysmbnteam:main Oct 19, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
src changes related to source code. tests changes related to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants