Divergent/mods/iTheon New Tasks/gamedata/scripts/z_nta_compatibility.script

15 lines
498 B
Plaintext

local nta_utils = new_tasks_addon_tasks_utils
function remove_prometheus_from_random_art_spawn()
printf('went here')
if drx_da_main_artefacts then
printf('went here 2')
local i = nta_utils.find_index(drx_da_main_artefacts.allowed_artefacts, 'af_tlf_prometheus')
if i ~= -1 then
printf("removed prometheus from spawn")
table.remove(drx_da_main_artefacts.allowed_artefacts, i)
end
end
end
remove_prometheus_from_random_art_spawn()