mod = Create("CModeDefense");
mod.m_name = "Defense";
mod.m_modParent = "Multi";
mod.m_isMulti = true;
mod.m_spriteClockYOffset = 20;
mod.m_noPeacefulMode = true;


-- mod.m_endWaves_MultDamages = 1.1f;
-- mod.m_endWaves_MultHP = 1.1f;
require 'recipes'


list_environments = { Solo.heatWave, Solo.rainFlood, Solo.meteorShower, Solo.earthquake, Solo.quietNight, Solo.restlessNight, Solo.gravityWaves, Solo.acidWater, Solo.drowsiness, Solo.matingSeason, Solo.sunEclipse, Solo.mist, Solo.emp, Solo.sharkstorm };



params = Create("CParams")
params.m_bossRespawnDelay = 720 -- One day
params.m_respawnDelay = 20 -- 20s

params.m_dayDurationTotal = 216;
params.m_monstersDayNb = 0;
params.m_monstersDayNbAddPerPlayer = 0;
params.m_rainQuantity = 0.005 -- 0.007 -- 0.012

params.m_lavaPressureTopCycle = 10
params.m_eruptionDurationTotal = 600 --780
params.m_eruptionDurationAcc = 180
params.m_eruptionDurationUp = 400 --200 -- 600
params.m_eruptionPressure = 15 --125
params.m_checkMinerals = false;

params.m_rainY = 930;

aiMessagesSkipped = { "AI_70_1", "AI_70_2", "AI_70_3", "AI_70_4", "AI_70_7", "AI_70_8",
"AI_1030_1", "AI_1030_4", "AI_1030_7", "AI_2010_1", "AI_2010_3", "AI_2010_4", "AI_2010_5", "AI_2010_6", "AI_2010_7", "AI_2010_11", "AI_2010_12", "AI_2010_13", "AI_2010_14",
"AI_3010_1", "AI_3010_4", "AI_3010_5", "AI_3010_10", "AI_ARMOR", "AI_4010_3", "AI_3010_9", "AI_4010_2", "AI_BOSS_DWELLER", "AI_OLD_BASALT", "AI_ORGANIC", "AI_Lightonium", "AI_5010_1"
  };