Added dummy head to PMCs during Halloween event

Made `FIxDogtag` method protected
This commit is contained in:
Chomp
2025-10-10 10:54:13 +01:00
parent 310e8eee20
commit 48b41add00
4 changed files with 32 additions and 17 deletions
@@ -55,14 +55,15 @@
"5cc0876314c02e000c6bea6b": 1
},
"head": {
"5cc084dd14c02e000b0550a3": 1,
"5fdb50bb2b730a787b3f78cf": 1,
"5fdb7571e4ed5b5ea251e529": 1,
"60a6aaad42fd2735e4589978": 1,
"619f94f5b90286142b59d45f": 1,
"62a9e7d15ea3b87d6f642a28": 1,
"6574aa9a1b144de18c0fba45": 1,
"675ac3957908e416a20861e6": 1
"5cc084dd14c02e000b0550a3": 10,
"5fdb50bb2b730a787b3f78cf": 10,
"5fdb7571e4ed5b5ea251e529": 10,
"60a6aaad42fd2735e4589978": 10,
"619f94f5b90286142b59d45f": 10,
"62a9e7d15ea3b87d6f642a28": 10,
"6574aa9a1b144de18c0fba45": 10,
"675ac3957908e416a20861e6": 10,
"6644d2da35d958070c02642c": 0
},
"voice": {
"5fc1221a95572123ae7384a2": 1,
@@ -45,14 +45,15 @@
"5cde95fa7d6c8b04737c2d13": 1
},
"head": {
"5cde96047d6c8b20b577f016": 1,
"5fdb4139e4ed5b5ea251e4ed": 1,
"5fdb5950f5264a66150d1c6e": 1,
"60a6aa8fd559ae040d0d951f": 1,
"619f9e338858a474c8685cc9": 1,
"62aca6a1310e67685a2fc2e7": 1,
"6574aabee0423b9ebe0c79cf": 1,
"6764194e4dec6d46f106f9f6": 1
"5cde96047d6c8b20b577f016": 10,
"5fdb4139e4ed5b5ea251e4ed": 10,
"5fdb5950f5264a66150d1c6e": 10,
"60a6aa8fd559ae040d0d951f": 10,
"619f9e338858a474c8685cc9": 10,
"62aca6a1310e67685a2fc2e7": 10,
"6574aabee0423b9ebe0c79cf": 10,
"6764194e4dec6d46f106f9f6": 10,
"6644d2da35d958070c02642c": 0
},
"voice": {
"5fc1223595572123ae7384a3": 1,
@@ -133,7 +133,10 @@ public class PostDbLoadService(
}
}
private void FixDogtagCaseNotAcceptingAllDogtags()
/// <summary>
/// BSG don't have all the new dogtag types in the containers allowed list
/// </summary>
protected void FixDogtagCaseNotAcceptingAllDogtags()
{
//Find case to add new ids to
if (!databaseService.GetItems().TryGetValue(ItemTpl.CONTAINER_DOGTAG_CASE, out var dogtagCase))
@@ -467,6 +467,16 @@ public class SeasonalEventService(
AddPumpkinsToScavBackpacks();
AdjustTraderIcons(eventType.Type);
if (databaseService.GetBots().Types.TryGetValue("bear", out var bear))
{
bear.BotAppearance.Head[new MongoId("6644d2da35d958070c02642c")] = 30;
}
if (databaseService.GetBots().Types.TryGetValue("usec", out var usec))
{
usec.BotAppearance.Head[new MongoId("6644d2da35d958070c02642c")] = 30;
}
}
protected void ApplyChristmasEvent(SeasonalEvent eventType, Config globalConfig)