import { ActionForm, ModalForm } from "../../modules/class/form";
export const mainForm = "main_ambience"; // Define the main form ID here
export default [
    new ActionForm("main_ambience", {
        title: "cc_re.forms.ambience.title",
        description: ["cc_re.forms.ambience.description"],
    }),
    new ModalForm("sounds", {
        title: "cc_re.forms.ambience.sounds.title",
        iconPath: "textures/cc/re/form/ambience/sounds",
        references: ["main_ambience"],
        controls: [
            {
                type: "toggle",
                label: "cc_re.forms.ambience.sound.arctic_wind",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_sound_arctic_wind_ambience",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.sound.beach",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_sound_beach_ambience",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.sound.cave",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_sound_cave_ambience",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.sound.desert",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_sound_desert_ambience",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.sound.forest",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_sound_forest_ambience",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.sound.jungle",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_sound_jungle_ambience",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.sound.rain_storm",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_sound_rain_storm",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.sound.sand_storm",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_sound_sand_storm",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.sound.savanna",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_sound_savanna_ambience",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.sound.snow_storm",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_sound_snow_storm",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.sound.swamp",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_sound_swamp_ambience",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.sound.underwater",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_sound_underwater_ambience",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.sound.wind",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_sound_wind_ambience",
            },
        ],
    }),
    new ModalForm("particles", {
        title: "cc_re.forms.ambience.particles.title",
        references: ["main_ambience"],
        iconPath: "textures/cc/re/form/ambience/particles",
        controls: [
            {
                type: "slider",
                label: "cc_re.forms.ambience.particle.intensity",
                options: {
                    min: 0,
                    max: 10,
                    step: 1,
                },
                defaultValue: 5,
                dynamicProperty: "cc_re:particle_intensity",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.particle.aurora",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_particle_aurora",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.particle.butterflies",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_particle_butterfly",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.particle.surface_fog_cave",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_particle_surface_fog_cave",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.particle.clouds",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_particle_clouds",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.particle.surface_fog_crimson",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_particle_surface_fog_crimson",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.particle.desert_sand",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_particle_sand",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.particle.surface_fog_desert",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_particle_surface_fog_desert",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.particle.fallen_leaves",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_particle_fallen_leaves",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.particle.fire_flies",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_particle_fire_fly",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.particle.ice_dust",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_particle_ice_dust",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.particle.surface_fog_mooshroom",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_particle_surface_fog_mooshroom",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.particle.ocean_light_rays",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_particle_ocean_light_rays",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.particle.lava_surface",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_particle_lava_surface",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.particle.water_surface",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_particle_water_surface",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.particle.surface_fog_roofed",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_particle_surface_fog_roofed",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.particle.surface_fog_savanna",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_particle_surface_fog_savanna",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.particle.stone_dust",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_particle_stone_dust",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.particle.sun_rays",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_particle_sunrays",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.particle.surface_fog_swamp",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_particle_surface_fog_swamp",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.particle.water_splash",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_particle_water_splash",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.particle.wind",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_particle_wind",
            },
        ],
    }),
    new ModalForm("fog", {
        title: "cc_re.forms.ambience.fog.title",
        iconPath: "textures/cc/re/form/ambience/fog",
        references: ["main_ambience"],
        controls: [
            {
                type: "toggle",
                label: "cc_re.forms.ambience.fog.arctic",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_fog_arctic",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.fog.birch",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_fog_birch",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.fog.cave",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_fog_cave",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.fog.cherry",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_fog_cherry",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.fog.desert",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_fog_desert",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.fog.deep_dark",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_fog_deep_dark",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.fog.end",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_fog_end",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.fog.jungle",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_fog_jungle",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.fog.mooshroom",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_fog_mooshroom",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.fog.plains",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_fog_plains",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.fog.rain",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_fog_rain",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.fog.roofed",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_fog_roofed",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.fog.savanna",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_fog_savanna",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.fog.swamp",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_fog_swamp",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.fog.taiga",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_fog_taiga",
            },
        ],
    }),
    new ModalForm("weather", {
        title: "cc_re.forms.ambience.weather.title",
        iconPath: "textures/cc/re/form/ambience/weather",
        references: ["main_ambience"],
        controls: [
            {
                type: "slider",
                label: "cc_re.forms.ambience.weather.frequency",
                options: {
                    min: 0,
                    max: 10,
                    step: 1,
                },
                defaultValue: 5,
                dynamicProperty: "cc_re:event_frequency",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.weather.mist",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_event_mist",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.weather.rain_storms",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_event_rain_storm",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.weather.sand_storms",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_event_sand_storm",
            },
            {
                type: "toggle",
                label: "cc_re.forms.ambience.weather.snow_storms",
                defaultValue: true,
                dynamicProperty: "cc_re:allow_event_snow_storm",
            },
        ],
    }),
];
