Disabled zombies during halloween
Enabled summon event during halloween Added peacefulZryachiyEvent hostility settings for summon event
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user