Skip to main content
Deno 2 is finally here 🎉️
Learn more
interface common.tables.IBotBase.Productive
import { type common } from "https://deno.land/x/sptaki@1.2.0/models/mod.ts";
const { Productive } = common.tables.IBotBase;

Properties

Products: Product[]
optional
Progress: number

Seconds passed of production

optional
inProgress: boolean

Is craft in some state of being worked on by client (crafting/ready to pick up)

optional
StartTimestamp: number
optional
SkipTime: number
optional
ProductionTime: number

Seconds needed to fully craft

optional
GivenItemsInStart: string[]
optional
Interrupted: boolean
optional
needFuelForAllProductionTime: boolean

Used in hideout production.json

optional
NeedFuelForAllProductionTime: boolean

Used when sending data to client

optional
sptIsScavCase: boolean
optional
sptIsComplete: boolean

Some crafts are always inProgress, but need to be reset, e.g. water collector

optional
sptIsContinuous: boolean

Is the craft a Continuous, e.g bitcoins/water collector

optional
sptRequiredTools: Item[]

Stores a list of tools used in this craft and whether they're FiR, to give back once the craft is done