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:
Rage 2025-01-03 23:55:26 -05:00
parent f73e5cf3eb
commit 0f1eeb048c
4 changed files with 8 additions and 7 deletions

View File

@ -259,7 +259,7 @@ Centering On Player Zoom Level = 0.15
# Setting type: Single # Setting type: Single
# Default value: 0 # Default value: 0
# Acceptable value range: From 0 to 15 # 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 ## The keyboard shortcut to peek at the map
# Setting type: KeyboardShortcut # Setting type: KeyboardShortcut

View File

@ -4,8 +4,8 @@
"KeyUses": 10, "KeyUses": 10,
"KeycardUses": 6, "KeycardUses": 6,
"ContainersDropChance": { "ContainersDropChance": {
"578f8778245977358849a9b5": 5, "578f8778245977358849a9b5": 8,
"578f87b7245977356274f2cd": 2 "578f87b7245977356274f2cd": 5
}, },
"BotDropChance": 0, "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"] "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"]

View File

@ -95,8 +95,8 @@ class Mod {
const dropchance = containers[containerId]; const dropchance = containers[containerId];
this.addToStaticLoot(container, containerId, skeletonKeyId, dropchance); // Adds the Skeleton Key to jackets 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, skeletonKeyId, botDropChance, bannedBots); // Adds the Skeleton Key to bosses
this.addToBossLoot(container, keycardId, botDropChance, bannedBots); // Adds the Skeleton Keycard to bosses //this.addToBossLoot(container, keycardId, botDropChance, bannedBots); // Adds the Skeleton Keycard to bosses
} }
postSptLoad(container) { postSptLoad(container) {
const db = container.resolve("DatabaseServer"); const db = container.resolve("DatabaseServer");

View File

@ -134,11 +134,12 @@ class Mod implements IPostDBLoadMod, IPostSptLoadMod
{ {
const dropchance = containers[containerId]; const dropchance = containers[containerId];
this.addToStaticLoot(container, containerId, skeletonKeyId, dropchance); // Adds the Skeleton Key to jackets 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, skeletonKeyId, botDropChance, bannedBots); // Adds the Skeleton Key to bosses
this.addToBossLoot(container, keycardId, botDropChance, bannedBots); // Adds the Skeleton Keycard to bosses //this.addToBossLoot(container, keycardId, botDropChance, bannedBots); // Adds the Skeleton Keycard to bosses
} }
public postSptLoad(container: DependencyContainer): void public postSptLoad(container: DependencyContainer): void