Added support for SavagePlayerBehaviour
This commit is contained in:
parent
3952b34e29
commit
6db0cef381
@ -60,6 +60,7 @@ export interface IHostilitySettings {
|
|||||||
UsecEnemyChance?: number;
|
UsecEnemyChance?: number;
|
||||||
/** Bot roles that are 100% an friendly */
|
/** Bot roles that are 100% an friendly */
|
||||||
additionalFriendlyTypes?: string[];
|
additionalFriendlyTypes?: string[];
|
||||||
|
savagePlayerBehaviour?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface PmcTypes {
|
export interface PmcTypes {
|
||||||
|
@ -172,6 +172,11 @@ export class LocationLifecycleService {
|
|||||||
if (typeof configHostilityChanges.UsecEnemyChance !== "undefined") {
|
if (typeof configHostilityChanges.UsecEnemyChance !== "undefined") {
|
||||||
locationBotHostilityDetails.UsecEnemyChance = configHostilityChanges.UsecEnemyChance;
|
locationBotHostilityDetails.UsecEnemyChance = configHostilityChanges.UsecEnemyChance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Adjust scav hostility behaviour
|
||||||
|
if (typeof configHostilityChanges.savagePlayerBehaviour !== "undefined") {
|
||||||
|
locationBotHostilityDetails.SavagePlayerBehaviour = configHostilityChanges.savagePlayerBehaviour;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user