professional_zombie_gear
item group can cause errors on monster death
#59873
Labels
(S1 - Need confirmation)
Report waiting on confirmation of reproducibility
Describe the bug
It is possible a monster death can create an error message leading to CI test fails.
https://github.com/CleverRaven/Cataclysm-DDA/runs/7653184359?check_suite_focus=true#step:16:430
Steps to reproduce
I have not been able to reproduce the issue with the seed from the failed test and in another 60 random test runs locally.
However digging into the test code I can fairly safely conclude the cause is the chance for
professional_zombie_gear
in thedefault_zombie_death_drops
item group.professional_zombie_gear
contains the grouphardware_plumbing
, which in turn containsplumbing_clothing
which has the explicit comment"//2": "Not intended to be a set of clothing for NPCs or monsters"
, most likely because it does not guarantee in any way that proper container items are spawned for any additional loot to be put in, since it seems to only spawn one item from the list and not a set of gear the zombie would be wearing.Expected behavior
Items spawn without issues. However in this case it might be unlikely enough to not be a problem.
Screenshots
No response
Versions and configuration
bc8d87c
Additional context
No response
The text was updated successfully, but these errors were encountered: