
# -> Reset attribute data
data modify storage overly_realistic:player_attributes local_pre_death_attributes set value []

# -> Save last attributes to storage
data modify storage overly_realistic:player_attributes local_pre_death_attributes set from storage overly_realistic:player_general dead_player_data.attributes

# -> Start loop
function overly_realistic:main/debug/death_inventories/data_returnal_attributes/restoration_loop