﻿-- chunkname: @scripts/settings/mutator/mutator_templates.lua

local mutator_templates = {}

local function _extract_mutator_templates(path)
	local mutators = require(path)

	for name, mutator_data in pairs(mutators) do
		mutator_templates[name] = mutator_data
	end
end

_extract_mutator_templates("scripts/settings/mutator/templates/mutator_extra_trickle_templates")
_extract_mutator_templates("scripts/settings/mutator/templates/mutator_havoc_templates")
_extract_mutator_templates("scripts/settings/mutator/templates/mutator_minion_nurgle_blessing_templates")
_extract_mutator_templates("scripts/settings/mutator/templates/mutator_modify_pacing_templates")
_extract_mutator_templates("scripts/settings/mutator/templates/mutator_monster_spawner_templates")
_extract_mutator_templates("scripts/settings/mutator/templates/mutator_player_journey_templates")
_extract_mutator_templates("scripts/settings/mutator/templates/mutator_positive_templates")
_extract_mutator_templates("scripts/settings/mutator/templates/mutator_stagger_overrides_templates")
_extract_mutator_templates("scripts/settings/mutator/templates/mutator_live_event_templates")

for name, mutator_data in pairs(mutator_templates) do
	mutator_data.name = name
end

return settings("MutatorTemplates", mutator_templates)
