deadlock-content
v2024.10.28
Published
Provides a structured way to access information about skills and items in the game Deadlock
Downloads
43
Readme
deadlock-content
Provides an accessible list of deadlock content in a structured format for building sites/bots/etc.
Powers deadlock.zip as well as the reddit DeadlockBot.
Currently has items and characters, but may add more content in the future.
How to use
First install, via npm:
npm i deadlock-content
Then in your code, import content like so:
import {ALL_ITEMS, PLAYABLE_CHARACTERS} from 'deadlock-content';
class Item {
name: string; // Renderable item name
type: "weapon" | "spirit" | "vitality";
tier: {
level: number,
price: number
};
price: number; // Provides price including preReq
stats: StatChange[];
passive?: Ability;
active?: Ability;
}
interface Ability {
description: string; // Markdown formatted text
cooldown?: number; // Cooldown in seconds
details?: Affect[]
}
Want to help or make changes?
All the item descriptions are in the files named after the items. For example BURST_FIRE.ts. Should be relatively straightforward to edit.