﻿-- chunkname: @scripts/settings/liquid_area/liquid_area_templates/minion_liquid_area_templates.lua

local LiquidSpread = require("scripts/extension_systems/liquid_area/utilities/liquid_spread")
local templates = {
	cultist_flamer_liquid_paint = {
		additional_unit_vfx = "content/fx/particles/enemies/cultist_flamer/ground_flame_light",
		cell_size = 0.8,
		in_liquid_buff_template_name = "cultist_flamer_in_fire_liquid",
		leaving_liquid_buff_template_name = "cultist_flamer_leaving_liquid_fire_spread_increase",
		life_time = 11,
		max_liquid = 1,
		sfx_name_start = "wwise/events/weapon/play_aoe_liquid_fire_green_loop",
		sfx_name_stop = "wwise/events/weapon/stop_aoe_liquid_fire_green_loop",
		sfx_source_z_offset = 0.5,
		spawn_brush_size = 1,
		vfx_name_filled = "content/fx/particles/weapons/grenades/flame_grenade_hostile_fire_lingering_green",
		z_cell_size = 5,
	},
	renegade_flamer_liquid_paint = {
		additional_unit_vfx = "content/fx/particles/enemies/renegade_flamer/renegade_flamer_ground_flame_light",
		cell_size = 0.8,
		in_liquid_buff_template_name = "renegade_flamer_in_fire_liquid",
		leaving_liquid_buff_template_name = "renegade_flamer_leaving_liquid_fire_spread_increase",
		life_time = 11,
		max_liquid = 1,
		sfx_name_start = "wwise/events/weapon/play_aoe_liquid_fire_loop",
		sfx_name_stop = "wwise/events/weapon/stop_aoe_liquid_fire_loop",
		sfx_source_z_offset = 0.5,
		spawn_brush_size = 1,
		vfx_name_filled = "content/fx/particles/enemies/renegade_flamer/renegade_flamer_fire_lingering",
		z_cell_size = 5,
	},
	beast_of_nurgle_slime = {
		cell_size = 1,
		ignore_bot_threat = true,
		in_liquid_buff_template_name = "beast_of_nurgle_in_slime",
		life_time = 20,
		max_liquid = 1,
		sfx_name_start = "wwise/events/minions/play_beast_of_nurgle_vomit_aoe",
		sfx_name_stop = "wwise/events/minions/stop_beast_of_nurgle_vomit_aoe",
		spawn_brush_size = 1,
		vfx_name_filled = "content/fx/particles/liquid_area/beast_of_nurgle_slime",
	},
	nurgle_slime_world = {
		cell_size = 1,
		end_pressure = 15,
		ignore_bot_threat = true,
		in_liquid_buff_template_name = "cm_habs_tree_in_slime",
		life_time = 10,
		max_liquid = 100,
		sfx_name_start = "wwise/events/minions/play_beast_of_nurgle_vomit_aoe",
		sfx_name_stop = "wwise/events/minions/stop_beast_of_nurgle_vomit_aoe",
		spawn_brush_size = 1,
		start_pressure = 20,
		vfx_name_filled = "content/fx/particles/liquid_area/beast_of_nurgle_slime",
		spread_function = LiquidSpread.pour,
	},
	havoc_enemy_corruption_liquid = {
		cell_size = 1,
		end_pressure = 15,
		ignore_bot_threat = true,
		in_liquid_buff_template_name = "cm_habs_tree_in_slime",
		life_time = 19,
		max_liquid = 1,
		sfx_name_start = "wwise/events/minions/play_nurgle_corpse_explode_loop",
		sfx_name_stop = "wwise/events/minions/stop_nurgle_corpse_explode_loop",
		spawn_brush_size = 1,
		start_pressure = 20,
		vfx_name_filled = "content/fx/particles/liquid_area/nurgle_corruption_goo",
		spread_function = LiquidSpread.pour,
	},
	toxic_gas = {
		cell_size = 1,
		disable_covers_within_radius = 3,
		end_pressure = 30,
		forbidden_keyword = "in_toxic_gas",
		in_liquid_buff_template_name = "in_toxic_gas",
		life_time = 99999,
		linearized_flow = false,
		max_liquid = 250,
		sfx_name_start = "wwise/events/weapon/play_aoe_gas_loop",
		sfx_name_stop = "wwise/events/weapon/stop_aoe_gas_loop",
		start_pressure = 40,
		vfx_name_filled = "content/fx/particles/weapons/grenades/gas_grenade_gas",
		z_cell_size = 5,
		spread_function = LiquidSpread.pour,
	},
	twin_toxic_gas = {
		cell_size = 3,
		disable_covers_within_radius = 3,
		end_pressure = 30,
		forbidden_keyword = "in_toxic_gas",
		ignore_bot_threat = true,
		in_liquid_buff_template_name = "in_twin_toxic_gas",
		leaving_liquid_buff_template_name = "left_twin_toxic_gas",
		life_time = 99999,
		linearized_flow = true,
		max_liquid = 48,
		sfx_name_start = "wwise/events/weapon/play_aoe_gas_loop",
		sfx_name_stop = "wwise/events/weapon/stop_aoe_gas_loop",
		start_pressure = 40,
		vfx_name_filled = "content/fx/particles/enemies/twins/twins_ambush_gas",
		z_cell_size = 1,
		spread_function = LiquidSpread.pour,
	},
	buildup_twin_toxic_gas = {
		cell_size = 3,
		disable_covers_within_radius = 3,
		end_pressure = 30,
		forbidden_keyword = "in_toxic_gas",
		ignore_bot_threat = true,
		in_liquid_buff_template_name = "in_buildup_twin_toxic_gas",
		leaving_liquid_buff_template_name = "left_buildup_twin_toxic_gas",
		life_time = 8,
		linearized_flow = false,
		max_liquid = 48,
		sfx_name_start = "wwise/events/weapon/play_aoe_gas_loop",
		sfx_name_stop = "wwise/events/weapon/stop_aoe_gas_loop",
		start_pressure = 40,
		vfx_name_filled = "content/fx/particles/weapons/grenades/gas_grenade_ground",
		z_cell_size = 1,
		spread_function = LiquidSpread.pour,
	},
	buildup_twin_toxic_gas_slow = {
		cell_size = 3,
		disable_covers_within_radius = 3,
		end_pressure = 30,
		forbidden_keyword = "in_toxic_gas",
		ignore_bot_threat = true,
		in_liquid_buff_template_name = "in_buildup_twin_toxic_gas",
		leaving_liquid_buff_template_name = "left_buildup_twin_toxic_gas",
		life_time = 11,
		linearized_flow = false,
		max_liquid = 48,
		sfx_name_start = "wwise/events/weapon/play_aoe_gas_loop",
		sfx_name_stop = "wwise/events/weapon/stop_aoe_gas_loop",
		start_pressure = 40,
		vfx_name_filled = "content/fx/particles/weapons/grenades/gas_grenade_ground",
		z_cell_size = 1,
		spread_function = LiquidSpread.pour,
	},
	twin_gas_phase_toxic_gas = {
		cell_size = 3,
		disable_covers_within_radius = 3,
		end_pressure = 30,
		forbidden_keyword = "in_toxic_gas",
		ignore_bot_threat = true,
		in_liquid_buff_template_name = "in_twin_toxic_gas",
		leaving_liquid_buff_template_name = "left_twin_toxic_gas",
		life_time = 99999,
		linearized_flow = false,
		max_liquid = 48,
		sfx_name_start = "wwise/events/weapon/play_aoe_gas_loop",
		sfx_name_stop = "wwise/events/weapon/stop_aoe_gas_loop",
		start_pressure = 40,
		vfx_name_filled = "content/fx/particles/enemies/twins/twins_arena_phase_gas",
		z_cell_size = 1,
		spread_function = LiquidSpread.pour,
	},
	ambush_disappear_toxic_gas = {
		cell_size = 3,
		disable_covers_within_radius = 3,
		end_pressure = 30,
		forbidden_keyword = "in_toxic_gas",
		in_liquid_buff_template_name = "in_twin_toxic_gas",
		leaving_liquid_buff_template_name = "left_twin_toxic_gas",
		life_time = 20,
		linearized_flow = false,
		max_liquid = 48,
		sfx_name_start = "wwise/events/weapon/play_aoe_gas_loop",
		sfx_name_stop = "wwise/events/weapon/stop_aoe_gas_loop",
		start_pressure = 40,
		vfx_name_filled = "content/fx/particles/enemies/twins/twins_arena_phase_gas",
		z_cell_size = 1,
		spread_function = LiquidSpread.pour,
	},
	renegade_grenadier_fire_grenade = {
		cell_size = 1.1,
		end_pressure = 10,
		in_liquid_buff_template_name = "renegade_grenadier_in_fire_liquid",
		leaving_liquid_buff_template_name = "renegade_grenadier_leaving_liquid_fire_spread_increase",
		life_time = 8,
		linearized_flow = false,
		max_liquid = 55,
		sfx_name_start = "wwise/events/weapon/play_aoe_liquid_fire_loop",
		sfx_name_stop = "wwise/events/weapon/stop_aoe_liquid_fire_loop",
		start_pressure = 40,
		use_liquid_drawer = true,
		vfx_name_filled = "content/fx/particles/weapons/grenades/flame_grenade_hostile_fire_lingering",
		vfx_name_rim = "content/fx/particles/weapons/grenades/flame_grenade_hostile_fire_edge",
		z_cell_size = 5,
		spread_function = LiquidSpread.pour,
	},
	cultist_grenadier_gas = {
		additional_unit_vfx = "content/fx/particles/enemies/cultist_blight_grenadier/cultist_gas_grenade_detonation",
		cell_size = 1.5,
		end_pressure = 30,
		forbidden_keyword = "in_toxic_gas",
		in_liquid_buff_template_name = "in_cultist_grenadier_gas",
		life_time = 16,
		linearized_flow = false,
		max_liquid = 80,
		sfx_name_start = "wwise/events/weapon/play_aoe_gas_loop",
		sfx_name_stop = "wwise/events/weapon/stop_aoe_gas_loop",
		start_pressure = 40,
		vfx_name_filled = "content/fx/particles/enemies/cultist_blight_grenadier/cultist_gas_grenade",
		z_cell_size = 5,
		spread_function = LiquidSpread.pour,
	},
	twin_grenade_gas = {
		additional_unit_vfx = "content/fx/particles/enemies/cultist_blight_grenadier/cultist_gas_grenade_detonation",
		cell_size = 1,
		end_pressure = 30,
		forbidden_keyword = "in_toxic_gas",
		in_liquid_buff_template_name = "in_twin_toxic_gas",
		leaving_liquid_buff_template_name = "left_twin_toxic_gas",
		life_time = 16,
		linearized_flow = false,
		max_liquid = 100,
		sfx_name_start = "wwise/events/weapon/play_aoe_gas_loop",
		sfx_name_stop = "wwise/events/weapon/stop_aoe_gas_loop",
		start_pressure = 40,
		vfx_name_filled = "content/fx/particles/weapons/grenades/gas_grenade_gas",
		z_cell_size = 5,
		spread_function = LiquidSpread.pour,
	},
	rotten_armor = {
		cell_size = 1,
		end_pressure = 10,
		forbidden_keyword = "in_toxic_gas",
		in_liquid_buff_template_name = "in_twin_toxic_gas",
		leaving_liquid_buff_template_name = "left_twin_toxic_gas",
		life_time = 6,
		linearized_flow = false,
		max_liquid = 6,
		sfx_name_start = "wwise/events/weapon/play_aoe_gas_loop",
		sfx_name_stop = "wwise/events/weapon/stop_aoe_gas_loop",
		start_pressure = 20,
		vfx_name_filled = "content/fx/particles/weapons/grenades/gas_grenade_gas",
		z_cell_size = 2,
		spread_function = LiquidSpread.pour,
	},
	renegade_flamer_backpack = {
		cell_size = 0.85,
		end_pressure = 10,
		in_liquid_buff_template_name = "prop_in_liquid_fire_burning_movement_slow",
		leaving_liquid_buff_template_name = "leaving_liquid_fire_spread_increase",
		life_time = 8,
		linearized_flow = false,
		max_liquid = 85,
		nav_cost_map_cost = 5,
		nav_cost_map_name = "fire",
		sfx_name_start = "wwise/events/weapon/play_aoe_liquid_fire_loop",
		sfx_name_stop = "wwise/events/weapon/stop_aoe_liquid_fire_loop",
		start_pressure = 40,
		vfx_name_filled = "content/fx/particles/liquid_area/fire_lingering",
		vfx_name_rim = "content/fx/particles/liquid_area/fire_lingering_edge",
		spread_function = LiquidSpread.pour,
	},
	interrupted_renegade_flamer_backpack = {
		cell_size = 0.85,
		end_pressure = 10,
		in_liquid_buff_template_name = "prop_in_liquid_fire_burning_movement_slow",
		leaving_liquid_buff_template_name = "leaving_liquid_fire_spread_increase",
		life_time = 2,
		linearized_flow = false,
		max_liquid = 25,
		nav_cost_map_cost = 5,
		nav_cost_map_name = "fire",
		sfx_name_start = "wwise/events/weapon/play_aoe_liquid_fire_loop",
		sfx_name_stop = "wwise/events/weapon/stop_aoe_liquid_fire_loop",
		start_pressure = 40,
		vfx_name_filled = "content/fx/particles/liquid_area/fire_lingering",
		vfx_name_rim = "content/fx/particles/liquid_area/fire_lingering_edge",
		spread_function = LiquidSpread.pour,
	},
	cultist_flamer_backpack = {
		cell_size = 0.7,
		end_pressure = 10,
		in_liquid_buff_template_name = "cultist_flamer_in_fire_liquid",
		leaving_liquid_buff_template_name = "cultist_flamer_leaving_liquid_fire_spread_increase",
		life_time = 8,
		linearized_flow = false,
		max_liquid = 85,
		nav_cost_map_cost = 5,
		nav_cost_map_name = "fire",
		sfx_name_start = "wwise/events/weapon/play_aoe_liquid_fire_loop",
		sfx_name_stop = "wwise/events/weapon/stop_aoe_liquid_fire_loop",
		start_pressure = 40,
		vfx_name_filled = "content/fx/particles/liquid_area/fire_lingering_cultist",
		vfx_name_rim = "content/fx/particles/enemies/cultist_flamer/cultist_flame_edge_ignition",
		spread_function = LiquidSpread.pour,
	},
	interrupted_cultist_flamer_backpack = {
		cell_size = 0.7,
		end_pressure = 10,
		in_liquid_buff_template_name = "cultist_flamer_in_fire_liquid",
		leaving_liquid_buff_template_name = "cultist_flamer_leaving_liquid_fire_spread_increase",
		life_time = 2,
		linearized_flow = false,
		max_liquid = 25,
		nav_cost_map_cost = 5,
		nav_cost_map_name = "fire",
		sfx_name_start = "wwise/events/weapon/play_aoe_liquid_fire_loop",
		sfx_name_stop = "wwise/events/weapon/stop_aoe_liquid_fire_loop",
		start_pressure = 40,
		vfx_name_filled = "content/fx/particles/weapons/grenades/flame_grenade_hostile_fire_lingering_green",
		vfx_name_rim = "content/fx/particles/weapons/grenades/flame_grenade_hostile_fire_lingering_green",
		spread_function = LiquidSpread.pour,
	},
}

return templates
