Disabled zombies during halloween

Enabled summon event during halloween

Added peacefulZryachiyEvent hostility settings for summon event
This commit is contained in:
Chomp
2025-11-04 22:56:53 +00:00
parent c13193d4c4
commit 21102b7680
2 changed files with 24 additions and 3 deletions
@@ -9892,7 +9892,7 @@
"endMonth": "11",
"name": "halloween",
"settings": {
"enableSummoning": false,
"enableSummoning": true,
"removeEntryRequirement": [
"laboratory"
],
@@ -9902,7 +9902,7 @@
"laboratory"
],
"disableWaves": [],
"enabled": true,
"enabled": false,
"mapInfectionAmount": {
"Sandbox": 25,
"factory4": 50,
@@ -13979,6 +13979,22 @@
"UsecPlayerBehaviour": "AlwaysEnemies"
}
]
}
},
"summon": {
"default": [
{
"AlwaysEnemies": [],
"AlwaysFriends": [],
"BearPlayerBehaviour": "AlwaysFriends",
"BotRole": "peacefullZryachiyEvent",
"ChancedEnemies": [],
"SavageEnemyChance": 0,
"BearEnemyChance": 0,
"UsecEnemyChance": 0,
"SavagePlayerBehaviour": "AlwaysFriends",
"UsecPlayerBehaviour": "AlwaysFriends"
}
]
}
}
}
@@ -772,6 +772,11 @@ public class SeasonalEventService(
protected void EnableHalloweenSummonEvent()
{
databaseService.GetGlobals().Configuration.EventSettings.EventActive = true;
if (SeasonalEventConfig.HostilitySettingsForEvent.TryGetValue("summon", out var botData))
{
ReplaceBotHostility(botData);
}
}
protected void ConfigureZombies(ZombieSettings zombieSettings)