Crash because body part definition's limb_type
, "limb_types"
are not copied with "copy-from"
#76686
Labels
(S1 - Need confirmation)
Report waiting on confirmation of reproducibility
Describe the bug
When creating a body part and using
copy-from
, if thelimb_types
andlimb_type
properties are omitted from the copy, the game will crash when looking at the medical screen.Attach save file
N/A, requires editing a file, see below.
Steps to reproduce
data/mods/Xedra_Evolved/body_parts.json
and remove the property"limb_type"
from"karma_arm_up_l"
Character::disp_medical … Character::get_limb_score … Character::manipulator_score … std::_Xout_of_range
Expected behavior
limb_types
orlimb_type
is found for a body part, abort loading the game.limb_type
andlimb_types
when usingcopy-from
as expected.Screenshots
No response
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Portal Storms Ignore NPCs [personal_portal_storms],
Slowdown Fungal Growth [no_fungal_growth],
Xedra Evolved [xedra_evolved],
No Monsters [Only_Wildlife]
]
Additional context
No response
The text was updated successfully, but these errors were encountered: