Skip to content

Instantly share code, notes, and snippets.

@namrog84
Created April 7, 2023 00:53
Show Gist options
  • Save namrog84/4a25572b3c7be17f6e4f2c838a8a7803 to your computer and use it in GitHub Desktop.
Save namrog84/4a25572b3c7be17f6e4f2c838a8a7803 to your computer and use it in GitHub Desktop.
darker-market misc data things
export enum SlotType {
None = 'None',
PrimaryWeapon = 'Primary Weapon',
SecondaryWeapon = 'Secondary Weapon',
Head = 'Head',
Necklace = 'Necklace',
Hands = 'Hands',
Ring = 'Ring',
Chest = 'Chest',
Legs = 'Legs',
Foot = 'Foot',
Treasure = 'Treasure',
Utility = 'Utility', // Throwing Knife
Other = 'Other',
Invalid = 'Invalid', // Gold Coin shows up as this
}
export enum WeaponType {
None = 'None', // for non weapons
Axe = 'Axe',
Bow = 'Bow',
Crossbow = 'Crossbow',
Dagger = 'Dagger',
Mace = 'Mace',
Polearm = 'Polearm', // Halberd
Spear = 'Spear', // On a spear it is classified as BOTH a 'Polearm, Spear'
Sword = 'Sword',
MagicStuff = 'MagicStuff',
Invalid = 'Invalid', // spellbooks show up as this for now
Other = 'Other',
}
export enum ArmorType {
None = 'None',
Cloth = 'Cloth',
Leather = 'Leather',
Plate = 'Plate',
Other = 'Other',
}
export enum HandType {
None = 'None',
OneHanded = 'One-Handed',
TwoHanded = 'Two-Handed',
Other = 'Other',
}
export enum UtilityType {
None = 'None',
Throwable = 'Throwable',
Consumable = 'Consumable',
Drink = 'Drink', // e.g. Potion.
Installable = 'Installable', // Hunting Trap
LightSource = 'Light Source', // e.g. Torch
}
export enum RequiredClass {
AllClass = 'AllClass',
Barbarian = 'Barbarian',
Cleric = 'Cleric',
Fighter = 'Fighter',
Ranger = 'Ranger',
Rogue = 'Rogue',
Wizard = 'Wizard',
// Not yet added, but initial speculation by devs during Q&A
// Bard = 'Bard',
// Artificer = 'Artificer',
// Druid = 'Druid',
// Monk = 'Monk',
// Paladin = 'Paladin',
// Sorcerer = 'Sorcerer',
// Warlock = 'Warlock',
None = 'None', // Use this if unknown or unspecified.
}
export enum Monsters {
DeathBeetle = 'DeathBeetle',
DeathSkull = 'DeathSkull',
DemonDog = 'DemonDog',
GhostKing = 'GhostKing',
GiantDragonFly = 'GiantDragonFly',
LavaMonster = 'LavaMonster',
Lich = 'Lich',
ManBat = 'ManBat',
Mimic = 'Mimic',
Mummy = 'Mummy',
SkeletonArcher = 'SkeletonArcher',
SkeletonChampion = 'SkeletonChampion',
SkeletonFootman = 'SkeletonFootman',
SkeletonGuardman = 'SkeletonGuardman',
SkeletonMage = 'SkeletonMage',
Spidermummy = 'Spidermummy',
Wraith = 'Wraith',
Zombie = 'Zombie',
}
export enum UtilityType {
None = 'None',
Throwable = 'Throwable',
Consumable = 'Consumable',
Drink = 'Drink', // e.g. Potion.
Installable = 'Installable', // Hunting Trap
LightSource = 'Light Source', // e.g. Torch
}
export enum MiddleFlavorText {
HuntingTrap = 'Set a bear trap.',
Campfire = 'Build a campfire.',
Bandage10 = 'Heals 10 HP.',
PotionOfProtection = 'Creates a shield that blocks 15 physical damage for 25 seconds.',
}
export enum BottomFlavorText {
Bandage = 'Bandages used to fix a wound.',
GoldCoin = 'Gold Coin',
Diamond = 'A beautiful rock that scatters light in a vibrant ray of dancing colors.',
Emerald = 'A radiant rock of mesmerizing green.',
GoldCandleHolder = 'A fancy holder for expensive wax candles.',
GoldCandelabra = 'A splendid method to display your wealth and light up the room.',
GoldGoblet = 'A wonderful container for some well balanced wine.',
GoldBowl = 'A dazzling work of goldsmithing.',
HeavyCrown = 'Heavy is the head that wears this crown.',
LeafGoldBangle = 'An elaborate and ornamented golden band.',
CandyCorn = 'We heard a fella named Jack would give a treat in exchange for these.',
}
export enum ItemCoreModifiers {
WeaponDamage = 'Weapon Damage',
ArmorRating = 'Armor Rating',
MoveSpeed = 'Move Speed',
Strength = 'Strength',
Agility = 'Agility',
Will = 'Will',
Other = 'Other',
// playtest 3
MagicWeaponDamage = 'Magic Weapon Damage',
MagicalDamage = 'Magical Damage',
ProjectileReduction = 'Projectile Reduction',
MagicResistance = 'Magic Resistance',
HeadshotReduction = 'Headshot Reduction',
}
export enum ItemMagicalModifiers {
ActionSpeed = 'Action Speed', // float
Agility = 'Agility', //int
AdditionalMoveSpeed = 'Additional Move Speed',
AdditionalPhysicalDamage = 'Additional Physical Damage', // int
AdditionalMagicalDamage = 'Additional Magical Damage', // int
AllAttributes = 'All Attributes',
ArmorPenetration = 'Armor Penetration', // float
BuffDurationBonus = 'Buff Duration Bonus',
DebuffDurationBonus = 'Debuff Duration Bonus',
ItemEquipSpeed = 'Item Equip Speed', // float
Knowledge = 'Knowledge', // int
MagicalInteractionSpeed = 'Magical Interaction Speed', // float
MagicalHealing = 'Magical Healing', // int
MagicalDamageBonus = 'Magical Damage Bonus', //float
MagicalDamageReduction = 'Magical Damage reduction', // float
MagicalPower = 'Magical Power', // int
MagicalResistance = 'Magical Resistance', // Not sure if this is different then one below?
MagicResistance = 'Magic Resistance', // int
MagicPenetration = 'Magic Penetration', // float
MaxHealth = 'Max Health', // int
MaxHealthBonus = 'Max Health Bonus', // float
MoveSpeedBonus = 'Move Speed Bonus', // float
Resourcefulness = 'Resourcefulness', //int
RegularInteractionSpeed = 'Regular Interaction Speed', //float
PhysicalDamageReduction = 'Physical Damage Reduction', // float
PhysicalDamageBonus = 'Physical Damage Bonus', // float
PhysicalPower = 'Physical Power', //int
PhysicalHealing = 'Physical Healing', // int
SpellCapacity = 'Spell Capacity', // int
SpellCapacityBonus = 'Spell Capacity Bonus', // float
SpellCastingSpeed = 'Spell Casting Speed', // float
Strength = 'Strength', // int
TruePhysicalDamage = 'True Physical Damage', // int
TrueMagicalDamage = 'True Magical Damage', // int
Will = 'Will', // int
WeaponDamage = 'Weapon Damage',
Other = 'Other',
// Playtest 3
ProjectileReduction = 'Projectile Reduction',
ArmorRating = 'Armor Rating',
}
export const KnownUniqueItems = [
'RingOfCourage',
'RingOfQuickness',
'RingOfResolve',
'RingOfSurvival',
'FrostAmulet',
'NecklaceOfPeace',
'PhoenixChoker',
'SoulTorq',
'WindLocket',
'FrostAmulet',
'NecklaceOfPeace',
'PhoenixChoker',
'SoulTorq',
'WindLocket',
];
export enum KnownItemIds {
AdventurerBoots = 'AdventurerBoots',
Ale = 'Ale',
Armet = 'Armet',
ArmingSword = 'ArmingSword',
Bandage = 'Bandage',
Bardiche = 'Bardiche',
BareHandRight = 'BareHandRight',
BareHands = 'BareHands',
BattleAxe = 'BattleAxe',
BlueSapphire = 'BlueSapphire',
Buckler = 'Buckler',
CampfireKit = 'CampfireKit',
CandyCorns = 'CandyCorns',
CastillonDagger = 'CastillonDagger',
CeremonialDagger = 'CeremonialDagger',
Chaperon = 'Chaperon',
ClothPants = 'ClothPants',
CoinPurse = 'CoinPurse',
Crossbow = 'Crossbow',
MagicStuff = 'MagicStuff',
CrystalBall = 'CrystalBall',
CrystalSword = 'CrystalSword',
DarkPlateArmor = 'DarkPlateArmor',
Diamond = 'Diamond',
DoubleAxe = 'DoubleAxe',
Doublet = 'Doublet',
Emerald = 'Emerald',
ExplosionBottle = 'ExplosionBottle',
Falchion = 'Falchion',
FellingAxe = 'FellingAxe',
FineCuirass = 'FineCuirass',
FlangedMace = 'FlangedMace',
FranciscaAxe = 'FranciscaAxe',
Frock = 'Frock',
GemNecklace = 'GemNecklace',
GemRing = 'GemRing',
GemRing2 = 'GemRing2', // Manually added, might be wrong.
GemRing3 = 'GemRing3', // Manually added, might be wrong.
GemRing4 = 'GemRing4', // Manually added, might be wrong.
GemRing5 = 'GemRing5', // Manually added, might be wrong.
Gjermundbu = 'Gjermundbu',
GoldBand = 'GoldBand',
GoldBangle1B = 'GoldBangle1B',
GoldBangle1C = 'GoldBangle1C',
GoldBangle1D = 'GoldBangle1D',
GoldBangle1E = 'GoldBangle1E',
GoldBangle1H = 'GoldBangle1H',
GoldBangle1I = 'GoldBangle1I',
GoldBangle1J = 'GoldBangle1J',
GoldBangle2D = 'GoldBangle2D',
GoldBangle2G = 'GoldBangle2G',
GoldBangle2H = 'GoldBangle2H',
GoldBowl = 'GoldBowl',
GoldCandelabra = 'GoldCandelabra',
GoldCandleHolder = 'GoldCandleHolder',
GoldCandlePlatter = 'GoldCandlePlatter',
GoldChaliceA = 'GoldChaliceA',
GoldChaliceB = 'GoldChaliceB',
GoldCoinBag = 'GoldCoinBag',
GoldCoinChest = 'GoldCoinChest',
GoldCoinPurse = 'GoldCoinPurse',
GoldCoins = 'GoldCoins',
GoldCrown = 'GoldCrown',
GoldenKey = 'GoldenKey',
GoldWaterpot = 'GoldWaterpot',
Halberd = 'Halberd',
Hatchet = 'Hatchet',
HealingPotion = 'HealingPotion',
HeaterShield = 'HeaterShield',
HeavyBoots = 'HeavyBoots',
HeavyGauntlet = 'HeavyGauntlet',
HeavyLeatherLeggings = 'HeavyLeatherLeggings',
HorsemansAxe = 'HorsemansAxe',
HuntingTrap = 'HuntingTrap',
InvisibilityPotion = 'InvisibilityPotion',
KettleHat = 'KettleHat',
LacedTurnshoe = 'LacedTurnshoe',
LargeScroll = 'LargeScroll',
LeatherCap = 'LeatherCap',
LeatherGloves = 'LeatherGloves',
LeatherLeggings = 'LeatherLeggings',
LightfootBoots = 'LightfootBoots',
Lockpick = 'Lockpick',
Longbow = 'Longbow',
Longsword = 'Longsword',
LooseTrousers = 'LooseTrousers',
MagicWand = 'MagicWand',
MarauderOutfit = 'MarauderOutfit',
MetalCup = 'MetalCup',
MorningStar = 'MorningStar',
MysticVestments = 'MysticVestments',
NorthernFullTunic = 'NorthernFullTunic',
OilLantern = 'OilLantern',
OldShoes = 'OldShoes',
OracleRobe = 'OracleRobe',
PaddedLeggings = 'PaddedLeggings',
PaddedTunic = 'PaddedTunic',
Pavise = 'Pavise',
PearlNecklace = 'PearlNecklace',
PlateBoots = 'PlateBoots',
PlatePants = 'PlatePants',
ProtectionPotion = 'ProtectionPotion',
RaggedBoots = 'RaggedBoots',
RaggedCowl = 'RaggedCowl',
RaggedDoublet = 'RaggedDoublet',
RaggedFrock = 'RaggedFrock',
RaggedPants = 'RaggedPants',
RaggedTunic = 'RaggedTunic',
RaggedWizardHat = 'RaggedWizardHat',
RaggedWizardShoes = 'RaggedWizardShoes',
RangerHood = 'RangerHood',
Rapier = 'Rapier',
RawhideGloves = 'RawhideGloves',
RecurveBow = 'RecurveBow',
RegalGambeson = 'RegalGambeson',
ReinforcedGloves = 'ReinforcedGloves',
RivetedGloves = 'RivetedGloves',
RogueCowl = 'RogueCowl',
RondelDagger = 'RondelDagger',
RottedRecurveBow = 'RottedRecurveBow',
RottedRoundShield = 'RottedRoundShield',
RottedWizardStaff = 'RottedWizardStaff',
RoundShield = 'RoundShield',
Ruby = 'Ruby',
RuggedBoots = 'RuggedBoots',
RustedArmingSword = 'RustedArmingSword',
RustedBattleAxe = 'RustedBattleAxe',
RustedBuckler = 'RustedBuckler',
RustedFlangedMace = 'RustedFlangedMace',
RustedGjermundbu = 'RustedGjermundbu',
RustedRondelDagger = 'RustedRondelDagger',
SilverChalice = 'SilverChalice',
SilverCoin = 'SilverCoin',
Skullkey = 'Skullkey',
Spear = 'Spear',
Spellbook = 'Spellbook',
SurgicalKit = 'SurgicalKit',
SurvivalBow = 'SurvivalBow',
TemplarArmor = 'TemplarArmor',
ThrowingKnife = 'ThrowingKnife',
Torch = 'Torch',
VisoredBarbutaHelm = 'VisoredBarbutaHelm',
WardenOutfit = 'WardenOutfit',
WarMaul = 'WarMaul',
WindlassCrossbow = 'WindlassCrossbow',
WizardHat = 'WizardHat',
WizardShoes = 'WizardShoes',
WizardStaff = 'WizardStaff',
Zweihander = 'Zweihander',
}
export const ItemImagesUrl = {
[KnownItemIds.AdventurerBoots]: 'icons/AdventurerBoots_0001.PNG',
[KnownItemIds.ArmingSword]: 'icons/ArmingSword_0001.PNG',
[KnownItemIds.Bandage]: 'icons/Bandage_0001.PNG',
[KnownItemIds.ClothPants]: 'icons/ClothPants_0001.PNG',
[KnownItemIds.CrystalSword]: 'icons/CrystalSword_0001.PNG',
[KnownItemIds.DoubleAxe]: 'icons/DoubleAxe_0001.PNG',
[KnownItemIds.Doublet]: 'icons/Doublet_0001.PNG',
[KnownItemIds.ExplosionBottle]: 'icons/ExplosionBottle_0001.PNG',
[KnownItemIds.Falchion]: 'icons/Falchion_0001.PNG',
[KnownItemIds.GemNecklace]: 'icons/GemNecklace_0001.PNG',
[KnownItemIds.GemRing]: 'icons/GemRing_0001.PNG',
[KnownItemIds.HealingPotion]: 'icons/HealingPotion.PNG',
[KnownItemIds.HeavyBoots]: 'icons/HeavyBoots_0001.PNG',
[KnownItemIds.HeavyLeatherLeggings]: 'icons/HeavyLeatherLeggings_0001.PNG',
[KnownItemIds.HorsemansAxe]: 'icons/HorsemansAxe_0001.PNG',
[KnownItemIds.KettleHat]: 'icons/KettleHat_0001.PNG',
[KnownItemIds.LacedTurnshoe]: 'icons/LacedTurnshoe_0001.PNG',
[KnownItemIds.LeatherCap]: 'icons/LeatherCap_0001.PNG',
[KnownItemIds.LeatherGloves]: 'icons/LeatherGloves_0001.PNG',
[KnownItemIds.LeatherLeggings]: 'icons/LeatherLeggings_0001.PNG',
[KnownItemIds.LightfootBoots]: 'icons/LightfootBoots_0001.PNG',
[KnownItemIds.Longbow]: 'icons/Longbow_0001.PNG',
[KnownItemIds.LooseTrousers]: 'icons/LooseTrousers_0001.PNG',
[KnownItemIds.MarauderOutfit]: 'icons/MarauderOutfit_0001.PNG',
[KnownItemIds.OilLantern]: 'icons/OilLantern_0001.PNG',
[KnownItemIds.OldShoes]: 'icons/OldShoes_0001.PNG',
[KnownItemIds.OracleRobe]: 'icons/OracleRobe_0001.PNG',
[KnownItemIds.PaddedLeggings]: 'icons/PaddedLeggings_0001.PNG',
[KnownItemIds.PaddedTunic]: 'icons/PaddedTunic_0001.PNG',
[KnownItemIds.PlateBoots]: 'icons/PlateBoots_0001.PNG',
[KnownItemIds.PlatePants]: 'icons/PlatePants_0001.PNG',
[KnownItemIds.ProtectionPotion]: 'icons/ProtectionPotion_0001.PNG',
[KnownItemIds.RaggedDoublet]: 'icons/RaggedDoublet_0000.PNG',
[KnownItemIds.RangerHood]: 'icons/RangerHood_0001.PNG',
[KnownItemIds.Rapier]: 'icons/Rapier_0001.PNG',
[KnownItemIds.RawhideGloves]: 'icons/RawhideGloves_0001.PNG',
[KnownItemIds.RecurveBow]: 'icons/RecurveBow_0001.PNG',
[KnownItemIds.ReinforcedGloves]: 'icons/ReinforcedGloves_0001.PNG',
[KnownItemIds.GemRing]: 'icons/RingOfResolve.PNG',
[KnownItemIds.RogueCowl]: 'icons/RogueCowl_0001.PNG',
[KnownItemIds.WardenOutfit]: 'icons/WardenOutfit_0001.PNG',
[KnownItemIds.WizardStaff]: 'icons/WizardStaff_0001.PNG',
// Low quality effort, REDO these!
[KnownItemIds.CeremonialDagger]: 'icons/ceremonial_dagger.png',
[KnownItemIds.GoldBangle1B]: 'icons/leaf_gold_bangle.png',
[KnownItemIds.GemRing2]: 'icons/SomeRing_001.png',
[KnownItemIds.GemRing3]: 'icons/ringUnknown_003.png',
[KnownItemIds.GemRing4]: 'icons/ringUnknown_002.png',
[KnownItemIds.GemRing5]: 'icons/ringUnknown_001.png',
[KnownItemIds.GoldCandlePlatter]: 'icons/goldCandlePlatterMaybe.png',
[KnownItemIds.GoldCoins]: 'icons/goldCoins.png',
[KnownItemIds.GoldChaliceA]: 'icons/GOLD_CHALICE.png',
[KnownItemIds.GoldWaterpot]: 'icons/GOLD_WATERPOT.png',
[KnownItemIds.LargeScroll]: 'icons/AncientScroll_001.png',
[KnownItemIds.PearlNecklace]: 'icons/PearlNecklace_001.png',
[KnownItemIds.SilverChalice]: 'icons/SilverChalice_001.png',
[KnownItemIds.GoldBand]: 'icons/GOLD_BAND.png',
[KnownItemIds.GoldBangle1D]: 'icons/SIMPLE_GOLDEN_BANGLE.png',
[KnownItemIds.GoldCandelabra]: 'icons/Candle_001.png',
[KnownItemIds.GoldBangle1E]: 'icons/SLIM_BANGLE.png',
[KnownItemIds.GoldBangle1D]: 'icons/PATTERNED_GOLD_BANGLE.png',
[KnownItemIds.BlueSapphire]: 'icons/BLUE_sapphire_001.png',
[KnownItemIds.Ruby]: 'icons/Ruby_001.png',
[KnownItemIds.Emerald]: 'icons/Emerald_001.png',
[KnownItemIds.Diamond]: 'icons/Diamond_0001.png',
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment