CleverRaven / CleverRaven/Cataclysm-DDA
Smashing while solar panel array causes massive damage to arms, mild damage to solar panel
- Dominant language
- C++
- Stars
- 13.2k
- Forks
- 4.6k
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 205
Description
### Describe the bug
Attempting to smash while wielding a solar panel array causes incredible amounts of damage to both arms while barely damaging the solar panel.
### Attach save file
[Aleph-trimmed.tar.gz](https://github.com/user-attachments/files/22802162/Aleph-trimmed.tar.gz)
### Steps to reproduce
1. Create a new character and spawn in at the shelter.
2. Use the debug menu to spawn in a solar panel array.
3. Wield the solar panel array.
4. Smash any object/ground with the solar panel.
### Expected behavior
I expected that the solar panel would be damaged or break, with some damage/bleed wounds to character. I believe the damage amount is out of proportion with the action, which leads me to believe there is a bug. I would also expect the solar panel to be more damaged that my arms, which are close to being destroyed.
### Screenshots
### Versions and configuration
- OS: Windows
- OS Version: 10.0.26100.6725 (24H2)
- Game Version: 78fd6e3 [64-bit]
- Graphics Version: Tiles
- Game Language: System language []
- Mods loaded: [
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Portal Storms Ignore NPCs [personal_portal_storms],
Slowdown Fungal Growth [no_fungal_growth],
Bionic Professions [package_bionic_professions],
Magiclysm [magiclysm],
Mind Over Matter [mindovermatter],
Xedra Evolved [xedra_evolved],
DinoMod [DinoMod],
Bombastic Perks [bombastic_perks],
Crazy Cataclysm [crazy_cataclysm],
Extra Mutated Scenarios [extra_mut_scens],
Mythical Martial Arts [MMA],
sees-player, run, crouch, bleed icons, retrodays [sees_player_retro],
SpeedyDex [speedydex],
Stats Through Skills [StatsThroughSkills],
Tamable Wildlife [Tamable_Wildlife]
]
### Additional context
_No response_
Contributor guide
Research direction
No source file or test is named. Start by loading Aleph-trimmed.tar.gz or reproducing the listed debug-menu scenario, then trace the smash action's handling of wielded-item and arm damage. Done means smashing with a solar panel array no longer causes disproportionate arm damage and the panel receives appropriately greater damage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100