Files
d2go/pkg/nip/typealiases.go
crazywh1t3 802393def0 Move typeAliases var in its own file.
+ new item types.
2026-02-16 22:22:47 +01:00

113 lines
4.5 KiB
Go

package nip
import "github.com/hectorgimenez/d2go/pkg/data/item"
var TypeAliases = typeAliases
var typeAliases = map[string]string{
"amazonbow": item.TypeAmazonBow,
"amazonitem": item.TypeAmazonItem,
"amazonjavelin": item.TypeAmazonJavelin,
"amazonspear": item.TypeAmazonSpear,
"amethyst": item.TypeAmethyst,
"amulet": item.TypeAmulet,
"antidotepotion": item.TypeAntidotePotion,
"anyarmor": item.TypeAnyArmor,
"anyshield": item.TypeAnyShield,
"armor": item.TypeArmor,
"assassinclaw": item.TypeHandtoHand2,
"assassinitem": item.TypeAssassinItem,
"auricshields": item.TypeAuricShields,
"axe": item.TypeAxe,
"barbarianitem": item.TypeBarbarianItem,
"belt": item.TypeBelt,
"blunt": item.TypeBlunt,
"bodypart": item.TypeBodyPart,
"book": item.TypeBook,
"boots": item.TypeBoots,
"bow": item.TypeBow,
"bowquiver": item.TypeBowQuiver,
"charm": item.TypeCharm,
"chippedgem": item.TypeChippedGem,
"circlet": item.TypeCirclet,
"classspecific": item.TypeClassSpecific,
"cloak": item.TypeCloak,
"club": item.TypeClub,
"colossaljewel": item.TypeColossalJewel,
"comboweapon": item.TypeComboWeapon,
"craftedsundercharm": item.TypeCraftedSunderCharm,
"crossbow": item.TypeCrossbow,
"crossbowquiver": item.TypeCrossbowQuiver,
"diamond": item.TypeDiamond,
"druiditem": item.TypeDruidItem,
"elixir": item.TypeElixir,
"emerald": item.TypeEmerald,
"flawedgem": item.TypeFlawedGem,
"flawlessgem": item.TypeFlawlessGem,
"gem": item.TypeGem,
"gloves": item.TypeGloves,
"gold": item.TypeGold,
"grimoire": item.TypeGrimoire,
"hammer": item.TypeHammer,
"handtohand": item.TypeHandtoHand,
"handtohand2": item.TypeHandtoHand2,
"healingpotion": item.TypeHealingPotion,
"helm": item.TypeHelm,
"herb": item.TypeHerb,
"javelin": item.TypeJavelin,
"jewel": item.TypeJewel,
"key": item.TypeKey,
"knife": item.TypeKnife,
"largecharm": item.TypeLargeCharm,
"mace": item.TypeMace,
"magicbowquiv": item.TypeMagicBowQuiv,
"magicxbowquiv": item.TypeMagicXbowQuiv,
"manapotion": item.TypeManaPotion,
"mediumcharm": item.TypeMediumCharm,
"meleeweapon": item.TypeMeleeWeapon,
"miscellaneous": item.TypeMiscellaneous,
"missile": item.TypeMissile,
"missilepotion": item.TypeMissilePotion,
"missileweapon": item.TypeMissileWeapon,
"necromanceritem": item.TypeNecromancerItem,
"orb": item.TypeOrb,
"paladinitem": item.TypePaladinItem,
"pelt": item.TypePelt,
"perfectgem": item.TypePerfectGem,
"playerbodypart": item.TypePlayerBodyPart,
"polearm": item.TypePolearm,
"potion": item.TypePotion,
"primalhelm": item.TypePrimalHelm,
"quest": item.TypeQuest,
"rejuvpotion": item.TypeRejuvPotion,
"ring": item.TypeRing,
"ruby": item.TypeRuby,
"rune": item.TypeRune,
"sapphire": item.TypeSapphire,
"scepter": item.TypeScepter,
"scroll": item.TypeScroll,
"secondhand": item.TypeSecondHand,
"shield": item.TypeShield,
"skull": item.TypeSkull,
"smallcharm": item.TypeSmallCharm,
"socketfiller": item.TypeSocketFiller,
"sorceressitem": item.TypeSorceressItem,
"spear": item.TypeSpear,
"spearsandpolearms": item.TypeSpearsandPolearms,
"staff": item.TypeStaff,
"staminapotion": item.TypeStaminaPotion,
"standardgem": item.TypeStandardGem,
"stavesandrods": item.TypeStavesAndRods,
"sword": item.TypeSword,
"swordsandknives": item.TypeSwordsandKnives,
"thawingpotion": item.TypeThawingPotion,
"throwingaxe": item.TypeThrowingAxe,
"throwingknife": item.TypeThrowingKnife,
"thrownweapon": item.TypeThrownWeapon,
"topaz": item.TypeTopaz,
"torch": item.TypeTorch,
"voodooheads": item.TypeVoodooHeads,
"wand": item.TypeWand,
"warlockitem": item.TypeWarlockItem,
"weapon": item.TypeWeapon,
}