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

Properties

Action: "RestoreHealth"
trader: string
items: Cost[]
difference: Difference
timestamp: number

Properties

Action: "RestoreHealth"
trader: string
items: Cost[]
difference: Difference
timestamp: number

Properties

id: string

Id of stack to take money from

count: number

Amount of money to take off player for treatment

Properties

BodyParts: BodyParts
Energy: number
Hydration: number

Properties

Head: BodyPart
Chest: BodyPart
Stomach: BodyPart
LeftArm: BodyPart
RightArm: BodyPart
LeftLeg: BodyPart
RightLeg: BodyPart

Properties

Health: number
Effects: string[]

Effects in array are to be removed