Update to SPT 3.9
This commit is contained in:
parent
27613fd5bf
commit
bb2cd5e29c
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "The Blacklist",
|
"name": "The Blacklist",
|
||||||
"version": "2.0.0",
|
"version": "2.0.1",
|
||||||
"main": "src/mod.js",
|
"main": "src/mod.js",
|
||||||
"license": "GPLv3",
|
"license": "GPLv3",
|
||||||
"author": "Platinum",
|
"author": "Platinum",
|
||||||
"akiVersion": "3.8.*",
|
"sptVersion": "3.9.*",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"setup": "npm i",
|
"setup": "npm i",
|
||||||
"build": "node ./packageBuild.ts"
|
"build": "node ./packageBuild.ts"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem";
|
import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem";
|
||||||
|
|
||||||
export function isBulletOrShotgunShell(item: ITemplateItem): boolean {
|
export function isBulletOrShotgunShell(item: ITemplateItem): boolean {
|
||||||
const props = item._props;
|
const props = item._props;
|
||||||
|
18
src/mod.ts
18
src/mod.ts
@ -19,17 +19,17 @@ import { DependencyContainer } from "tsyringe";
|
|||||||
import { jsonc } from "jsonc";
|
import { jsonc } from "jsonc";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
|
|
||||||
import { DatabaseServer } from "@spt-aki/servers/DatabaseServer";
|
import { DatabaseServer } from "@spt/servers/DatabaseServer";
|
||||||
import { IPostDBLoadModAsync } from "@spt-aki/models/external/IPostDBLoadModAsync";
|
import { IPostDBLoadModAsync } from "@spt/models/external/IPostDBLoadModAsync";
|
||||||
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
import { ITemplateItem } from "@spt-aki/models/eft/common/tables/ITemplateItem";
|
import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem";
|
||||||
import { ConfigServer } from "@spt-aki/servers/ConfigServer";
|
import { ConfigServer } from "@spt/servers/ConfigServer";
|
||||||
import { IRagfairConfig } from "@spt-aki/models/spt/config/IRagfairConfig";
|
import { IRagfairConfig } from "@spt/models/spt/config/IRagfairConfig";
|
||||||
import { ConfigTypes } from "@spt-aki/models/enums/ConfigTypes";
|
import { ConfigTypes } from "@spt/models/enums/ConfigTypes";
|
||||||
import { HandbookItem } from "@spt-aki/models/eft/common/tables/IHandbookBase";
|
import { HandbookItem } from "@spt/models/eft/common/tables/IHandbookBase";
|
||||||
|
|
||||||
import { isBulletOrShotgunShell } from "./helpers";
|
import { isBulletOrShotgunShell } from "./helpers";
|
||||||
import { IGlobals } from "@spt-aki/models/eft/common/IGlobals";
|
import { IGlobals } from "@spt/models/eft/common/IGlobals";
|
||||||
|
|
||||||
class TheBlacklistMod implements IPostDBLoadModAsync {
|
class TheBlacklistMod implements IPostDBLoadModAsync {
|
||||||
private logger: ILogger;
|
private logger: ILogger;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user