-
Notifications
You must be signed in to change notification settings - Fork 5
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
-
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 ondiff. Whendiffistrue, negative numbers indicate that an item has been lost, e.g. via save scumming -
id- The ID of the item, according to LADXR's sourceBOMBBOWHOOKSHOTMAGIC_RODPEGASUS_BOOTSOCARINAFEATHERSHOVELMAGIC_POWDERBOOMERANGTOADSTOOLROOSTERSWORDPOWER_BRACELETSHIELDBOWWOWMAX_POWDER_UPGRADEMAX_BOMBS_UPGRADEMAX_ARROWS_UPGRADETAIL_KEYSLIME_KEYANGLER_KEYFACE_KEYBIRD_KEYFLIPPERSSEASHELLGOLD_LEAFINSTRUMENT1INSTRUMENT2INSTRUMENT3INSTRUMENT4INSTRUMENT5INSTRUMENT6INSTRUMENT7INSTRUMENT8TRADING_ITEM_YOSHI_DOLLTRADING_ITEM_RIBBONTRADING_ITEM_DOG_FOODTRADING_ITEM_BANANASTRADING_ITEM_STICKTRADING_ITEM_HONEYCOMBTRADING_ITEM_PINEAPPLETRADING_ITEM_HIBISCUSTRADING_ITEM_LETTERTRADING_ITEM_BROOMTRADING_ITEM_FISHING_HOOKTRADING_ITEM_NECKLACETRADING_ITEM_SCALETRADING_ITEM_MAGNIFYING_GLASSSONG1SONG2SONG3RED_TUNICBLUE_TUNICGREAT_FAIRYMAP1COMPASS1STONE_BEAK1NIGHTMARE_KEY1KEY1MAP2COMPASS2STONE_BEAK2NIGHTMARE_KEY2KEY2MAP3COMPASS3STONE_BEAK3NIGHTMARE_KEY3KEY3MAP4COMPASS4STONE_BEAK4NIGHTMARE_KEY4KEY4MAP5COMPASS5STONE_BEAK5NIGHTMARE_KEY5KEY5MAP6COMPASS6STONE_BEAK6NIGHTMARE_KEY6KEY6MAP7COMPASS7STONE_BEAK7NIGHTMARE_KEY7KEY7MAP8COMPASS8STONE_BEAK8NIGHTMARE_KEY8KEY8MAP9COMPASS9STONE_BEAK9NIGHTMARE_KEY9KEY9
-
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
}
]
}