Skip to content

item command

kbranch edited this page Feb 3, 2023 · 4 revisions

The item command contains information about which inventory items have been collected. It can either be differential or a complete list.

Direction: autotracker -> Magpie

Properties

  • refresh - Whether Magpie should refresh the UI immediately after receipt. Generally disabled for performance when sending multiple commands back to back
  • diff - Whether the quantities listed should be added to or replace current inventory values
  • items - A list of items and their quantities
    • qty - The value to either add or set this item to, depending on diff. When diff is true, negative numbers indicate that an item has been lost, e.g. via save scumming
    • id - The ID of the item, according to LADXR's source
      • BOMB
      • BOW
      • HOOKSHOT
      • MAGIC_ROD
      • PEGASUS_BOOTS
      • OCARINA
      • FEATHER
      • SHOVEL
      • MAGIC_POWDER
      • BOOMERANG
      • TOADSTOOL
      • ROOSTER
      • SWORD
      • POWER_BRACELET
      • SHIELD
      • BOWWOW
      • MAX_POWDER_UPGRADE
      • MAX_BOMBS_UPGRADE
      • MAX_ARROWS_UPGRADE
      • TAIL_KEY
      • SLIME_KEY
      • ANGLER_KEY
      • FACE_KEY
      • BIRD_KEY
      • FLIPPERS
      • SEASHELL
      • GOLD_LEAF
      • INSTRUMENT1
      • INSTRUMENT2
      • INSTRUMENT3
      • INSTRUMENT4
      • INSTRUMENT5
      • INSTRUMENT6
      • INSTRUMENT7
      • INSTRUMENT8
      • TRADING_ITEM_YOSHI_DOLL
      • TRADING_ITEM_RIBBON
      • TRADING_ITEM_DOG_FOOD
      • TRADING_ITEM_BANANAS
      • TRADING_ITEM_STICK
      • TRADING_ITEM_HONEYCOMB
      • TRADING_ITEM_PINEAPPLE
      • TRADING_ITEM_HIBISCUS
      • TRADING_ITEM_LETTER
      • TRADING_ITEM_BROOM
      • TRADING_ITEM_FISHING_HOOK
      • TRADING_ITEM_NECKLACE
      • TRADING_ITEM_SCALE
      • TRADING_ITEM_MAGNIFYING_GLASS
      • SONG1
      • SONG2
      • SONG3
      • RED_TUNIC
      • BLUE_TUNIC
      • GREAT_FAIRY
      • MAP1
      • COMPASS1
      • STONE_BEAK1
      • NIGHTMARE_KEY1
      • KEY1
      • MAP2
      • COMPASS2
      • STONE_BEAK2
      • NIGHTMARE_KEY2
      • KEY2
      • MAP3
      • COMPASS3
      • STONE_BEAK3
      • NIGHTMARE_KEY3
      • KEY3
      • MAP4
      • COMPASS4
      • STONE_BEAK4
      • NIGHTMARE_KEY4
      • KEY4
      • MAP5
      • COMPASS5
      • STONE_BEAK5
      • NIGHTMARE_KEY5
      • KEY5
      • MAP6
      • COMPASS6
      • STONE_BEAK6
      • NIGHTMARE_KEY6
      • KEY6
      • MAP7
      • COMPASS7
      • STONE_BEAK7
      • NIGHTMARE_KEY7
      • KEY7
      • MAP8
      • COMPASS8
      • STONE_BEAK8
      • NIGHTMARE_KEY8
      • KEY8
      • MAP9
      • COMPASS9
      • STONE_BEAK9
      • NIGHTMARE_KEY9
      • KEY9

Examples

Found an additional power bracelet:

{
   "type":"item",
   "refresh":true,
   "diff":true,
   "items":[
      {
         "id":"POWER_BRACELET",
         "qty":1
      },
   ]
}

Full inventory contents:

{
   "type":"item",
   "refresh":false,
   "diff":false,
   "items":[
      {
         "id":"BOMB",
         "qty":1
      },
      {
         "id":"BOW",
         "qty":1
      },
      {
         "id":"HOOKSHOT",
         "qty":1
      },
      {
         "id":"MAGIC_ROD",
         "qty":1
      },
      {
         "id":"PEGASUS_BOOTS",
         "qty":1
      },
      {
         "id":"OCARINA",
         "qty":1
      },
      {
         "id":"FEATHER",
         "qty":1
      },
      {
         "id":"SHOVEL",
         "qty":1
      },
      {
         "id":"MAGIC_POWDER",
         "qty":1
      },
      {
         "id":"BOOMERANG",
         "qty":1
      },
      {
         "id":"TOADSTOOL",
         "qty":1
      },
      {
         "id":"ROOSTER",
         "qty":1
      },
      {
         "id":"SWORD",
         "qty":2
      },
      {
         "id":"POWER_BRACELET",
         "qty":2
      },
      {
         "id":"SHIELD",
         "qty":2
      },
      {
         "id":"BOWWOW",
         "qty":0
      },
      {
         "id":"MAX_POWDER_UPGRADE",
         "qty":1
      },
      {
         "id":"MAX_BOMBS_UPGRADE",
         "qty":1
      },
      {
         "id":"MAX_ARROWS_UPGRADE",
         "qty":1
      },
      {
         "id":"TAIL_KEY",
         "qty":1
      },
      {
         "id":"SLIME_KEY",
         "qty":1
      },
      {
         "id":"ANGLER_KEY",
         "qty":1
      },
      {
         "id":"FACE_KEY",
         "qty":0
      },
      {
         "id":"BIRD_KEY",
         "qty":1
      },
      {
         "id":"FLIPPERS",
         "qty":1
      },
      {
         "id":"SEASHELL",
         "qty":20
      },
      {
         "id":"GOLD_LEAF",
         "qty":4
      },
      {
         "id":"INSTRUMENT1",
         "qty":1
      },
      {
         "id":"INSTRUMENT2",
         "qty":1
      },
      {
         "id":"INSTRUMENT3",
         "qty":1
      },
      {
         "id":"INSTRUMENT4",
         "qty":0
      },
      {
         "id":"INSTRUMENT5",
         "qty":1
      },
      {
         "id":"INSTRUMENT6",
         "qty":0
      },
      {
         "id":"INSTRUMENT7",
         "qty":1
      },
      {
         "id":"INSTRUMENT8",
         "qty":1
      },
      {
         "id":"TRADING_ITEM_YOSHI_DOLL",
         "qty":1
      },
      {
         "id":"TRADING_ITEM_RIBBON",
         "qty":1
      },
      {
         "id":"TRADING_ITEM_DOG_FOOD",
         "qty":1
      },
      {
         "id":"TRADING_ITEM_BANANAS",
         "qty":1
      },
      {
         "id":"TRADING_ITEM_STICK",
         "qty":1
      },
      {
         "id":"TRADING_ITEM_HONEYCOMB",
         "qty":1
      },
      {
         "id":"TRADING_ITEM_PINEAPPLE",
         "qty":1
      },
      {
         "id":"TRADING_ITEM_HIBISCUS",
         "qty":1
      },
      {
         "id":"TRADING_ITEM_LETTER",
         "qty":1
      },
      {
         "id":"TRADING_ITEM_BROOM",
         "qty":1
      },
      {
         "id":"TRADING_ITEM_FISHING_HOOK",
         "qty":1
      },
      {
         "id":"TRADING_ITEM_NECKLACE",
         "qty":1
      },
      {
         "id":"TRADING_ITEM_SCALE",
         "qty":2
      },
      {
         "id":"TRADING_ITEM_MAGNIFYING_GLASS",
         "qty":1
      },
      {
         "id":"SONG1",
         "qty":1
      },
      {
         "id":"SONG2",
         "qty":1
      },
      {
         "id":"SONG3",
         "qty":1
      },
      {
         "id":"RED_TUNIC",
         "qty":1
      },
      {
         "id":"BLUE_TUNIC",
         "qty":1
      },
      {
         "id":"GREAT_FAIRY",
         "qty":1
      },
      {
         "id":"MAP1",
         "qty":1
      },
      {
         "id":"COMPASS1",
         "qty":0
      },
      {
         "id":"STONE_BEAK1",
         "qty":1
      },
      {
         "id":"NIGHTMARE_KEY1",
         "qty":1
      },
      {
         "id":"KEY1",
         "qty":3
      },
      {
         "id":"MAP2",
         "qty":1
      },
      {
         "id":"COMPASS2",
         "qty":1
      },
      {
         "id":"STONE_BEAK2",
         "qty":1
      },
      {
         "id":"NIGHTMARE_KEY2",
         "qty":1
      },
      {
         "id":"KEY2",
         "qty":5
      },
      {
         "id":"MAP3",
         "qty":1
      },
      {
         "id":"COMPASS3",
         "qty":1
      },
      {
         "id":"STONE_BEAK3",
         "qty":0
      },
      {
         "id":"NIGHTMARE_KEY3",
         "qty":1
      },
      {
         "id":"KEY3",
         "qty":7
      },
      {
         "id":"MAP4",
         "qty":0
      },
      {
         "id":"COMPASS4",
         "qty":1
      },
      {
         "id":"STONE_BEAK4",
         "qty":1
      },
      {
         "id":"NIGHTMARE_KEY4",
         "qty":0
      },
      {
         "id":"KEY4",
         "qty":0
      },
      {
         "id":"MAP5",
         "qty":0
      },
      {
         "id":"COMPASS5",
         "qty":0
      },
      {
         "id":"STONE_BEAK5",
         "qty":1
      },
      {
         "id":"NIGHTMARE_KEY5",
         "qty":1
      },
      {
         "id":"KEY5",
         "qty":4
      },
      {
         "id":"MAP6",
         "qty":0
      },
      {
         "id":"COMPASS6",
         "qty":1
      },
      {
         "id":"STONE_BEAK6",
         "qty":0
      },
      {
         "id":"NIGHTMARE_KEY6",
         "qty":0
      },
      {
         "id":"KEY6",
         "qty":0
      },
      {
         "id":"MAP7",
         "qty":0
      },
      {
         "id":"COMPASS7",
         "qty":1
      },
      {
         "id":"STONE_BEAK7",
         "qty":1
      },
      {
         "id":"NIGHTMARE_KEY7",
         "qty":1
      },
      {
         "id":"KEY7",
         "qty":3
      },
      {
         "id":"MAP8",
         "qty":1
      },
      {
         "id":"COMPASS8",
         "qty":0
      },
      {
         "id":"STONE_BEAK8",
         "qty":1
      },
      {
         "id":"NIGHTMARE_KEY8",
         "qty":1
      },
      {
         "id":"KEY8",
         "qty":6
      },
      {
         "id":"MAP9",
         "qty":1
      },
      {
         "id":"COMPASS9",
         "qty":1
      },
      {
         "id":"STONE_BEAK9",
         "qty":1
      },
      {
         "id":"NIGHTMARE_KEY9",
         "qty":1
      },
      {
         "id":"KEY9",
         "qty":3
      }
   ]
}
Clone this wiki locally