CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.11k stars 4.11k forks source link

You can cheat the heat mechanic of mechsuits by exiting and reentering #74818

Open anoobindisguise opened 2 months ago

anoobindisguise commented 2 months ago

Describe the bug

Currently the mech suits' laser weapons use the heat mechanic. But if you exit the mech, the gun instantly cools down all the way (presumably because a new pseudo item is being generated each time you re enter the mech)

Attach save file

n/a

Steps to reproduce

  1. Spawn a mech, id card, etc
  2. Enter the mech and take some shots at something until you see HEAT!! or some other indication that the weapon has gained heat
  3. exit mech, re enter mech
  4. observe unheated gun

Expected behavior

Either the mech should preserve its heat regardless of whether it has a driver or not, or the mech should not have heat. It's possible that access to the entire mech allows use of powerful heat management systems to negate any meaningful overheating (since bulk and weight aren't a concern for a mech). Alternatively, the mechs could be rearmed with heavy weapons, such as the 308 minigun for the combat mech, instead of using lasers.

Screenshots

No response

Versions and configuration

Additional context

No response

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.