Mod Details

Holster Any Gun

Holster Any Gun 1.0.3

Created by Echo55

6.3K Downloads

SPT 3.9.8 Compatible

Allows holstering of any gun in the pistol slot

Latest Version 1.0.3
SPT 3.9.8

Updated Jul 15, 2024 at 3:35 PM

Version Notes

Updated to SPT 3.9.1

This download is externally hosted.
Always scan for viruses.

Allows holstering any gun in the pistol slot.

Because fuck it, why not?

Enjoy

Version 1.0.3
Download Mod Version
SPT 3.9.8
Latest Compatible SPT Version

2.6K Downloads

Created Jul 15, 2024 at 3:35 PM

Updated Jul 15, 2024 at 3:35 PM

Virus Total Results

Updated to SPT 3.9.1

Version 1.0.2
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

1.2K Downloads

Created Sep 9, 2023 at 7:24 PM

Updated Sep 9, 2023 at 7:24 PM

Virus Total Results

Updated to work with 3.6.1

Version 1.0.1
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

1.7K Downloads

Created Jan 14, 2023 at 3:50 PM

Updated Jan 14, 2023 at 3:50 PM

Virus Total Results

Updated to SPT 3.4.1

Version 1.0.0
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

861 Downloads

Created Dec 13, 2022 at 5:00 PM

Updated Dec 13, 2022 at 5:00 PM

Virus Total Results
QuietWolf

fyi you can change the aki version to make this work on 3.11

0 Likes
NYC23

any plans on updating to 3.10?

0 Likes
Seiri

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

0 Likes
zerotool

It is currently working

0 Likes
PPSh-41

with 3.8.0 not working. obviously

0 Likes
colin

Just to report, we have confirmed that it works with 3.7.1👍

0 Likes
ZaBanOff

Наконец то. 3 пулемёта = 300 патронов. Нахрен перезарядку

0 Likes
NiKeh

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.

0 Likes
BadwolfV

hope we get a updated version to 3.5.0

0 Likes
JohnyBoy24

Will this work with 3.4.0 pls?

0 Likes

Details