Edited Skeleton Key Source Code
Commented out lines for spawning loot on bosses and configured chances for drawers and jackets.
This commit is contained in:
parent
f73e5cf3eb
commit
0f1eeb048c
|
@ -259,7 +259,7 @@ Centering On Player Zoom Level = 0.15
|
|||
# Setting type: Single
|
||||
# Default value: 0
|
||||
# Acceptable value range: From 0 to 15
|
||||
Main map zoom = 1.588901
|
||||
Main map zoom = 4.221908
|
||||
|
||||
## The keyboard shortcut to peek at the map
|
||||
# Setting type: KeyboardShortcut
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
"KeyUses": 10,
|
||||
"KeycardUses": 6,
|
||||
"ContainersDropChance": {
|
||||
"578f8778245977358849a9b5": 5,
|
||||
"578f87b7245977356274f2cd": 2
|
||||
"578f8778245977358849a9b5": 8,
|
||||
"578f87b7245977356274f2cd": 5
|
||||
},
|
||||
"BotDropChance": 0,
|
||||
"BannedBots": ["assault", "assaultgroup", "bear", "exusec", "usec", "pmcbear", "pmcbot", "pmcusec", "followerBully", "followerGluharAssault", "followerGluharScout", "followerGluharSecurity", "followerGluharSnipe", "followerKojaniy", "followerSanitar", "followerTagilla", "followerBirdEye", "followerBigPipe", "followerZryachiy", "followerTest", "followerBoar", "followerBoarClose1", "followerBoarClose2", "followerKolontayAssault", "followerKolontaySecurity"]
|
||||
|
|
|
@ -95,8 +95,8 @@ class Mod {
|
|||
const dropchance = containers[containerId];
|
||||
this.addToStaticLoot(container, containerId, skeletonKeyId, dropchance); // Adds the Skeleton Key to jackets
|
||||
}
|
||||
this.addToBossLoot(container, skeletonKeyId, botDropChance, bannedBots); // Adds the Skeleton Key to bosses
|
||||
this.addToBossLoot(container, keycardId, botDropChance, bannedBots); // Adds the Skeleton Keycard to bosses
|
||||
//this.addToBossLoot(container, skeletonKeyId, botDropChance, bannedBots); // Adds the Skeleton Key to bosses
|
||||
//this.addToBossLoot(container, keycardId, botDropChance, bannedBots); // Adds the Skeleton Keycard to bosses
|
||||
}
|
||||
postSptLoad(container) {
|
||||
const db = container.resolve("DatabaseServer");
|
||||
|
|
|
@ -134,11 +134,12 @@ class Mod implements IPostDBLoadMod, IPostSptLoadMod
|
|||
{
|
||||
const dropchance = containers[containerId];
|
||||
this.addToStaticLoot(container, containerId, skeletonKeyId, dropchance); // Adds the Skeleton Key to jackets
|
||||
this.addToStaticLoot(container, containerId, keycardId, dropchance); // Adds the Skeleton Key to jackets
|
||||
}
|
||||
|
||||
|
||||
this.addToBossLoot(container, skeletonKeyId, botDropChance, bannedBots); // Adds the Skeleton Key to bosses
|
||||
this.addToBossLoot(container, keycardId, botDropChance, bannedBots); // Adds the Skeleton Keycard to bosses
|
||||
//this.addToBossLoot(container, skeletonKeyId, botDropChance, bannedBots); // Adds the Skeleton Key to bosses
|
||||
//this.addToBossLoot(container, keycardId, botDropChance, bannedBots); // Adds the Skeleton Keycard to bosses
|
||||
}
|
||||
|
||||
public postSptLoad(container: DependencyContainer): void
|
||||
|
|
Loading…
Reference in New Issue