krapio
Library referenceTypes

AppItem

type AppItem = {
  count: number;
  instance_id?: number;
  kounter?: AppKounter;
  locked?: boolean;
  nametag?: string;
  paint?: string;
  paint_shader?: number;
  pattern_seed?: number;
  serial?: number;
  skin_index: number;
  stackable: boolean;
  style?: number;
  wear?: number;
  wear_tier?: AppWearTier;
};

one copy or one stack, as the inventory, trades and listings show it; names, images and rarities are in /data/skins by skin_index

Properties

PropertyTypeDescription
countnumber-
instance_id?numberthe copy's global id; a stackable item has none and is addressed by skin_index and count
kounter?AppKounter-
locked?booleaninventory only: the player locked this copy or stack in game, apps can't use it
nametag?string-
paint?stringhex colour
paint_shader?numberthe paint shader id, instead of paint
pattern_seed?number0 to 999999
serial?numberthe mint number
skin_indexnumberthe catalog item
stackableboolean-
style?number-
wear?number0 is best
wear_tier?AppWearTier-

On this page