
Allows holstering of any gun in the pistol slot
Allows holstering any gun in the pistol slot.
Because fuck it, why not?
Enjoy
Version 1.0.3
SPT 3.9.8
Download Mod Version
Latest Compatible SPT Version
2.6K Downloads
Updated to SPT 3.9.1
Version 1.0.2
Unknown SPT Version
Download Mod Version
Latest Compatible SPT Version
1.2K Downloads
Updated to work with 3.6.1
Version 1.0.1
Unknown SPT Version
Download Mod Version
Latest Compatible SPT Version
1.7K Downloads
Updated to SPT 3.4.1
Details
-
GUID
Not Available
-
License
-
Latest Version VirusTotal Result
https://www.virustotal.com/gui/file/c5250da506303202cd23d62d47ab134469d67a1947f064b3ac1e1aedc32f1e2e
fyi you can change the aki version to make this work on 3.11
any plans on updating to 3.10?
on 14.9.6 31073 working.
edit mod.ts
import { IPostDBLoadMod } from “@spt-aki/models/external/IPostDBLoadMod”;
import { LogTextColor } from “@spt-aki/models/spt/logging/LogTextColor”;
import { ILogger } from “@spt-aki/models/spt/utils/ILogger”;
import { DatabaseServer } from “@spt-aki/servers/DatabaseServer”;
import { DependencyContainer } from “tsyringe”;
class HolsterAnyGun implements IPostDBLoadMod {
modName = “HolsterAnyGun”;
public postDBLoad(container: DependencyContainer): void {
const logger = container.resolve<ILogger>(“WinstonLogger”);
logger.logWithColor(
${this.modName} - Holster any gun enabled
, LogTextColor.CYAN)const DB = container.resolve<DatabaseServer>(“DatabaseServer”).getTables();
const items = DB.templates.items;
const inventory = items[“55d7217a4bdc2d86028b456d”]
const holster = inventory._props.Slots[2]
holster._props.filters[0].Filter.push(“5422acb9af1c889c16000029”);
}
}
module.exports = { mod: new HolsterAnyGun() }
TO
import { DependencyContainer } from “tsyringe”;
import { IPostDBLoadMod } from “@spt-aki/models/external/IPostDBLoadMod”;
import { DatabaseServer } from “@spt-aki/servers/DatabaseServer”;
import { ILogger } from “@spt-aki/models/spt/utils/ILogger”;
class HolsterAnyGun implements IPostDBLoadMod
{
modName = “HolsterAnyGun”;
public postDBLoad(container: DependencyContainer): void
{
const logger = container.resolve<ILogger>(“WinstonLogger”);
logger.log(
${this.modName} - Holster any gun enabled
, “yellow”);const DB = container.resolve<DatabaseServer>(“DatabaseServer”).getTables();
const items = DB.templates.items;
const inventory = items[“55d7217a4bdc2d86028b456d”]
const holster = inventory._props.Slots[2]
holster._props.filters[0].Filter.push(“5422acb9af1c889c16000029”);
}
}
module.exports = { mod: new HolsterAnyGun() }
AND mod.js
“use strict”;
Object.defineProperty(exports, “__esModule”, { value: true });
const LogTextColor_1 = require(“C:/snapshot/project/obj/models/spt/logging/LogTextColor”);
class HolsterAnyGun {
constructor() {
this.modName = “HolsterAnyGun”;
}
postDBLoad(container) {
const logger = container.resolve(“WinstonLogger”);
logger.logWithColor(
${this.modName} - Holster any gun enabled
, LogTextColor_1.LogTextColor.CYAN);const DB = container.resolve(“DatabaseServer”).getTables();
const items = DB.templates.items;
const inventory = items[“55d7217a4bdc2d86028b456d”];
const holster = inventory._props.Slots[2];
holster._props.filters[0].Filter.push(“5422acb9af1c889c16000029”);
}
}
module.exports = { mod: new HolsterAnyGun() };
TO
“use strict”;
Object.defineProperty(exports, “__esModule”, { value: true });
class HolsterAnyGun {
modName = “HolsterAnyGun”;
postDBLoad(container) {
const logger = container.resolve(“WinstonLogger”);
logger.log(
${this.modName} - Holster any gun enabled
, “yellow”);const DB = container.resolve(“DatabaseServer”).getTables();
const items = DB.templates.items;
const inventory = items[“55d7217a4bdc2d86028b456d”];
const holster = inventory._props.Slots[2];
holster._props.filters[0].Filter.push(“5422acb9af1c889c16000029”);
}
}
module.exports = { mod: new HolsterAnyGun() };
//# sourceMappingURL=mod.js.map
Error is gone
It is currently working
with 3.8.0 not working. obviously
Just to report, we have confirmed that it works with 3.7.1👍
Наконец то. 3 пулемёта = 300 патронов. Нахрен перезарядку
well, i checked it works in 3.5.8 version, so I thought it would work in 3.6.1 version, and that was correct.
shit, what the hell did you made? D:
anyway, i’ll enjoy with it.
hope we get a updated version to 3.5.0
Will this work with 3.4.0 pls?