Skip to content

Instantly share code, notes, and snippets.

@joshhunt
Created November 5, 2017 21:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshhunt/9749d5402ea1731812dff1cd48298e27 to your computer and use it in GitHub Desktop.
Save joshhunt/9749d5402ea1731812dff1cd48298e27 to your computer and use it in GitHub Desktop.
{
"displayProperties": {
"description": "The Ghost Primus was strong because of his disfigurement, not in spite of it. He alone had the vision to share my dream of a new, perfect world. Ghaul was a creature of singular beauty, and I loved him.",
"name": "Ghost Primus",
"icon": "/common/destiny2_content/icons/36ff239bd2629635c04f08a6487d1eed.jpg",
"hasIcon": true
},
"backgroundColor": {
"colorHash": 0,
"red": 255,
"green": 255,
"blue": 255,
"alpha": 255
},
"screenshot": "/common/destiny2_content/screenshots/2505533224.jpg",
"itemTypeDisplayName": "Auto Rifle",
"itemTypeAndTierDisplayName": "Legendary Auto Rifle",
"displaySource": "",
"action": {
"verbName": "Dismantle",
"isPositive": false,
"requiredCooldownSeconds": 0,
"requiredItems": [],
"progressionRewards": [],
"actionTypeLabel": "shard",
"rewardSheetHash": 0,
"rewardItemHash": 0,
"rewardSiteHash": 0,
"requiredCooldownHash": 0,
"deleteOnAction": true,
"consumeEntireStack": false,
"useOnAcquire": false
},
"inventory": {
"maxStackSize": 1,
"bucketTypeHash": 1498876634,
"recoveryBucketTypeHash": 215593132,
"tierTypeHash": 4008398120,
"isInstanceItem": true,
"nonTransferrableOriginal": false,
"tierTypeName": "Legendary",
"tierType": 5
},
"stats": {
"statGroupHash": 3941551777,
"stats": {
"155624089": {
"statHash": 155624089,
"value": 42,
"minimum": 42,
"maximum": 42
},
"943549884": {
"statHash": 943549884,
"value": 64,
"minimum": 64,
"maximum": 64
},
"1240592695": {
"statHash": 1240592695,
"value": 53,
"minimum": 53,
"maximum": 53
},
"1345609583": {
"statHash": 1345609583,
"value": 70,
"minimum": 70,
"maximum": 70
},
"1480404414": {
"statHash": 1480404414,
"value": 300,
"minimum": 10,
"maximum": 300
},
"1885944937": {
"statHash": 1885944937,
"value": 42,
"minimum": 42,
"maximum": 42
},
"1931675084": {
"statHash": 1931675084,
"value": 40,
"minimum": 40,
"maximum": 40
},
"1935470627": {
"statHash": 1935470627,
"value": 42,
"minimum": 42,
"maximum": 42
},
"2715839340": {
"statHash": 2715839340,
"value": 60,
"minimum": 60,
"maximum": 60
},
"3555269338": {
"statHash": 3555269338,
"value": 16,
"minimum": 16,
"maximum": 16
},
"3871231066": {
"statHash": 3871231066,
"value": 44,
"minimum": 44,
"maximum": 44
},
"4043523819": {
"statHash": 4043523819,
"value": 21,
"minimum": 21,
"maximum": 21
},
"4188031367": {
"statHash": 4188031367,
"value": 55,
"minimum": 55,
"maximum": 55
},
"4284893193": {
"statHash": 4284893193,
"value": 600,
"minimum": 600,
"maximum": 600
}
},
"hasDisplayableStats": true,
"primaryBaseStatHash": 1480404414
},
"equippingBlock": {
"uniqueLabelHash": 0,
"equipmentSlotTypeHash": 1498876634,
"attributes": 0,
"equippingSoundHash": 0,
"hornSoundHash": 0,
"displayStrings": [
""
]
},
"translationBlock": {
"weaponPatternHash": 3405839742,
"defaultDyes": [
{
"channelHash": 1667433279,
"dyeHash": 2472504252
},
{
"channelHash": 1667433278,
"dyeHash": 1043672643
},
{
"channelHash": 1667433277,
"dyeHash": 669980114
}
],
"lockedDyes": [],
"customDyes": [],
"arrangements": [
{
"classHash": 0,
"artArrangementHash": 2505533224
}
],
"hasGeometry": true
},
"quality": {
"itemLevels": [],
"qualityLevel": 0,
"infusionCategoryName": "v300.auto_rifle",
"infusionCategoryHash": 522776512,
"progressionLevelRequirementHash": 3157915980
},
"sourceData": {
"sourceHashes": [],
"sources": [
{
"level": 30,
"minQuality": 0,
"maxQuality": 0,
"minLevelRequired": 0,
"maxLevelRequired": 0,
"exclusivity": 0,
"computedStats": {
"155624089": {
"statHash": 155624089,
"value": 42,
"minimum": 42,
"maximum": 42
},
"943549884": {
"statHash": 943549884,
"value": 64,
"minimum": 64,
"maximum": 64
},
"1240592695": {
"statHash": 1240592695,
"value": 53,
"minimum": 53,
"maximum": 53
},
"1345609583": {
"statHash": 1345609583,
"value": 70,
"minimum": 70,
"maximum": 70
},
"1480404414": {
"statHash": 1480404414,
"value": 300,
"minimum": 300,
"maximum": 300
},
"1885944937": {
"statHash": 1885944937,
"value": 42,
"minimum": 42,
"maximum": 42
},
"1931675084": {
"statHash": 1931675084,
"value": 40,
"minimum": 40,
"maximum": 40
},
"1935470627": {
"statHash": 1935470627,
"value": 42,
"minimum": 42,
"maximum": 42
},
"2715839340": {
"statHash": 2715839340,
"value": 60,
"minimum": 60,
"maximum": 60
},
"3555269338": {
"statHash": 3555269338,
"value": 16,
"minimum": 16,
"maximum": 16
},
"3871231066": {
"statHash": 3871231066,
"value": 44,
"minimum": 44,
"maximum": 44
},
"4043523819": {
"statHash": 4043523819,
"value": 21,
"minimum": 21,
"maximum": 21
},
"4188031367": {
"statHash": 4188031367,
"value": 55,
"minimum": 55,
"maximum": 55
},
"4284893193": {
"statHash": 4284893193,
"value": 600,
"minimum": 600,
"maximum": 600
}
},
"sourceHashes": []
},
{
"level": 1,
"minQuality": 0,
"maxQuality": 0,
"minLevelRequired": 0,
"maxLevelRequired": 0,
"exclusivity": 0,
"computedStats": {
"155624089": {
"statHash": 155624089,
"value": 42,
"minimum": 42,
"maximum": 42
},
"943549884": {
"statHash": 943549884,
"value": 64,
"minimum": 64,
"maximum": 64
},
"1240592695": {
"statHash": 1240592695,
"value": 53,
"minimum": 53,
"maximum": 53
},
"1345609583": {
"statHash": 1345609583,
"value": 70,
"minimum": 70,
"maximum": 70
},
"1480404414": {
"statHash": 1480404414,
"value": 10,
"minimum": 10,
"maximum": 10
},
"1885944937": {
"statHash": 1885944937,
"value": 1,
"minimum": 1,
"maximum": 1
},
"1931675084": {
"statHash": 1931675084,
"value": 40,
"minimum": 40,
"maximum": 40
},
"1935470627": {
"statHash": 1935470627,
"value": 1,
"minimum": 1,
"maximum": 1
},
"2715839340": {
"statHash": 2715839340,
"value": 60,
"minimum": 60,
"maximum": 60
},
"3555269338": {
"statHash": 3555269338,
"value": 16,
"minimum": 16,
"maximum": 16
},
"3871231066": {
"statHash": 3871231066,
"value": 44,
"minimum": 44,
"maximum": 44
},
"4043523819": {
"statHash": 4043523819,
"value": 21,
"minimum": 21,
"maximum": 21
},
"4188031367": {
"statHash": 4188031367,
"value": 55,
"minimum": 55,
"maximum": 55
},
"4284893193": {
"statHash": 4284893193,
"value": 600,
"minimum": 600,
"maximum": 600
}
},
"sourceHashes": []
}
],
"exclusive": 0
},
"sockets": {
"detail": "Details",
"socketEntries": [
{
"socketTypeHash": 3956125808,
"singleInitialItemHash": 1294026524,
"singleInitialRewardItemListHash": 0,
"reusablePlugItems": [
{
"plugItemHash": 1294026524
}
]
},
{
"socketTypeHash": 3362409147,
"singleInitialItemHash": 839105230,
"singleInitialRewardItemListHash": 0,
"reusablePlugItems": [
{
"plugItemHash": 839105230
},
{
"plugItemHash": 4090651448
},
{
"plugItemHash": 1840239774
}
]
},
{
"socketTypeHash": 2614797986,
"singleInitialItemHash": 2213355989,
"singleInitialRewardItemListHash": 0,
"reusablePlugItems": [
{
"plugItemHash": 2213355989
},
{
"plugItemHash": 2010801679
}
]
},
{
"socketTypeHash": 2614797986,
"singleInitialItemHash": 1645158859,
"singleInitialRewardItemListHash": 0,
"reusablePlugItems": [
{
"plugItemHash": 1645158859
}
]
},
{
"socketTypeHash": 405287501,
"singleInitialItemHash": 4160547565,
"singleInitialRewardItemListHash": 0,
"reusablePlugItems": []
},
{
"socketTypeHash": 0,
"singleInitialItemHash": 0,
"singleInitialRewardItemListHash": 0,
"reusablePlugItems": []
},
{
"socketTypeHash": 1288200359,
"singleInitialItemHash": 4248210736,
"singleInitialRewardItemListHash": 0,
"reusablePlugItems": [
{
"plugItemHash": 4248210736
}
]
}
],
"socketCategories": [
{
"socketCategoryHash": 4241085061,
"socketIndexes": [
0,
1,
2,
3
]
},
{
"socketCategoryHash": 2685412949,
"socketIndexes": [
4,
6
]
}
]
},
"talentGrid": {
"talentGridHash": 521135891,
"itemDetailString": "Details",
"hudDamageType": 1
},
"investmentStats": [
{
"statTypeHash": 1480404414,
"value": 0
},
{
"statTypeHash": 1935470627,
"value": 0
},
{
"statTypeHash": 1885944937,
"value": 0
},
{
"statTypeHash": 3555269338,
"value": 16
},
{
"statTypeHash": 4284893193,
"value": 80
},
{
"statTypeHash": 4043523819,
"value": 20
},
{
"statTypeHash": 1240592695,
"value": 48
},
{
"statTypeHash": 155624089,
"value": 35
},
{
"statTypeHash": 3871231066,
"value": 39
},
{
"statTypeHash": 4188031367,
"value": 50
},
{
"statTypeHash": 1931675084,
"value": 40
},
{
"statTypeHash": 943549884,
"value": 60
},
{
"statTypeHash": 1345609583,
"value": 70
},
{
"statTypeHash": 2715839340,
"value": 60
}
],
"perks": [],
"loreHash": 2505533224,
"allowActions": true,
"nonTransferrable": false,
"itemCategoryHashes": [
2,
5,
1
],
"specialItemType": 0,
"itemType": 3,
"itemSubType": 6,
"classType": 3,
"equippable": true,
"damageTypeHashes": [],
"damageTypes": [
1
],
"defaultDamageType": 1,
"defaultDamageTypeHash": 3373582085,
"hash": 2505533224,
"index": 1487,
"redacted": false
}
type Item {
hash: ID
displayProperties: DisplayProperties
screenshot: String
itemTypeDisplayName: String
itemTypeAndTierDisplayName: String
displaySource: String
action: ItemAction
inventory: ItemInventory
stats: ItemStats
equippingBlock: EquippingBlock
# translationBlock: TranslationBlock # TODO
quality: ItemQuality
sockets: ItemSocket
# Unsorted
lore: Lore
itemCategories: [ItemCategory]
redacted: Boolean
classType: Int # TODO: make this a reference?
}
type DisplayProperties {
displayUnitsName: String
description: String
name: String
icon: String
hasIcon: String
}
type ItemAction {
verbName: String
isPositive: Boolean
requiredCooldownSeconds: Int
actionTypeLabel: String
requiredCooldownHash: ID # cooldowns are not available
deleteOnAction: Boolean
consumeEntireStack: Boolean
useOnAcquire: Boolean
}
type ItemInventory {
maxStackSize: Int
bucketType: BucketType
recoveryBucketType: BucketType
tierType: TierType
isInstanceItem: Boolean
nonTransferrableOriginal: Boolean
tierTypeName: String
}
type TierType {
displayProperties: DisplayProperties
hash: ID
redacted: Boolean
infusionProcess: InfusionProcess
}
type InfusionProcess {
baseQualityTransferRatio: Int
minimumQualityIncrement: Int
}
type ItemStats {
statGroup: StatGroup
hashDisplayableStats: Boolean
primaryBaseStat: ItemStat
stats: [ItemStatValues]
}
type StatGroup {
maximumValue: Int
uiPosition: Int
scaledStats: [ScaledStat]
hash: ID
index: Int
redacted: Boolean
# overrides: {} # Always empty
}
type ScaledStat {
stat: ItemStat
maximumValue: Int
displayAsNumeric: Boolean
displayInterpolation: [ScaledStatDisplayInterpolation]
}
type ScaledStatDisplayInterpolation {
value: Int
weight: Int
}
type ItemStatValues {
stat: ItemStat
value: Int
minimum: Int
maximum: Int
}
type ItemStat {
displayProperties: DisplayProperties
aggregationType: Int # Enum DestinyStatAggregationType
hasComputedBlock: Boolean
interpolate: Boolean
hash: ID
index: Int
redacted: Boolean
}
type EquippingBlock {
uniqueLabelHash: ID # No public defs
equipmentSlotTypeHash: ID # No public defs YET
attributes: Int # Enum
displayStrings: [String]
# equippingSoundHash: ID # Not documented
# hornSoundHash: ID # Not documented
}
type ItemQuality {
itemLevels: [Int]
qualityLevel: Int
infusionCategoryName: String
infusionCategoryHash: ID # No public def
progressionLevelRequirement: ProgressionLevelRequirement
}
type ProgressionLevelRequirement {
requirementCurve: [ProgressionRequirementCurve]
progression: Progression
hash: ID
index: Int
redacted: Boolean
}
type Progression {
displayProperties: DisplayProperties
scope: Int # Enum DestinyProgressionScope
repeatLastStep: Boolean
steps: ProgressionStep
visible: Boolean
progressToNextStepScaling: Int
storageMappingIndex: Int
hash: ID
index: Int
redacted: Boolean
}
type ProgressionStep {
stepName: String
displayEffectType: Int
progressTotal: Int
rewardItems: [ID] # TODO
}
type ProgressionRequirementCurve {
value: Int
weight: Int
}
type ItemSocket {
detail: String
socketEntries: [ItemSocketEntry]
# socketCategories: []
}
type ItemSocketEntry {
socketType: SocketType # socketTypeHash
singleInitialItemHash: Item # singleInitialItemHash
# singleInitialRewardItemListHash # Not documented
# reusablePlugItems: [PlugItem]
}
type SocketType {
displayProperties: DisplayProperties
insertAction: SocketInsertAction
# plugWhitelist: [PlugWhitelistEntry]
}
type SocketInsertAction {
actionExecuteSeconds: Int
actionSoundHash: Int
isPositiveAction: Boolean
}
type ItemCategory {
displayProperties: DisplayProperties
shortTitle: String
groupedCategories: [ItemCategory]
}
type Lore {
displayProperties: DisplayProperties
subtitle: String
hash: ID
index: Int
redacted: Boolean
}
type BucketType {
displayProperties: DisplayProperties
scope: Int
category: Int
bucketOrder: Int
itemCount: Int
location: Int
hasTransferDestination: Boolean
enabled: Boolean
fifo: Boolean
hash: ID
index: Int
redacted: Boolean
}
type Query {
item(hash: ID): Item
items(hashes: [ID]): [Item]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment