
$data modify storage overly_realistic:temp_values temp_string_0 set value "$(set)"

execute if data storage overly_realistic:temp_values {temp_string_0:"true"} run \
    return run \
        function overly_realistic:general/settings/special/normal_respawn_enable

execute unless data storage overly_realistic:temp_values {temp_string_0:"false"} run \
    return fail

# -> Set value
scoreboard players set #or.setting.should_aggro_animals_spawn OverlyRealistic.Settings.ArbitrarySetting 0

# -> Set gamerules
gamerule immediate_respawn true
