From 52df9f88318a2f8a63b5686aa8f27ec84a536137 Mon Sep 17 00:00:00 2001 From: raeleus Date: Tue, 13 May 2025 20:36:46 -0700 Subject: [PATCH] Fixed incorrect names for items in #itemshop --- Library.js | 12 ++++++------ story-cards.json | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Library.js b/Library.js index 2e55a4d..528b3bc 100644 --- a/Library.js +++ b/Library.js @@ -3,11 +3,11 @@ const armorList = ["Kevlar Vest", "Combat Armor", "Tech Armor", "Carbon Fiber Ar const toolsList = ["Chemistry Kit", "Water Sampling Kit", "Smartphone", "Metal Working Tools", "Geographer's Tools", "Clothing Fabricator", "Food Dispenser", "Plastics Kit", "Gadget Tools", "Repair Kit", "Ship's Tools", "Camera Kit", "Drafting Tools", "Gun Kit", "Laptop", "Farming Equipment", "Ceramics Kit", "Medical Supplies", "Holographics Kit", "Game Station", "Centrifuge", "Speaker", "Satellite Linkup", "Nanite Kit", "Cryptographic Sequencer"] const gearList = ["Acidic Vial", "Grenade", "Mag", "Antitoxin", "Flashdrive", "Hydraulic Backpack", "Trip Mine", "Crate", "Messenger Bag", "Sleeping Bag", "Tone Generator", "Blanket", "Hydraulic Winch", "Data Pad", "Vial", "Bucket", "Hacker's Pack", "Caltrops", "LED Nightlight", "Ammo Case", "GPS Kit", "PDA", "Chain", "Pod", "Climber's Kit", "Fine Clothes", "Traveler's Clothes", "Electronics Pouch", "Costume", "Crowbar", "Officer's Pack", "Tricorder", "Commando's Pack", "Breacher's Pack", "Pilot's Pack", "Flask", "Grapple Gun", "Medical Kit", "Data Core", "Purified Water", "Snare", "HUD", "Digipen", "Carton", "Ladder", "Flashlight", "Dazzler", "Spotlight", "Lock", "Scope", "Zip Ties", "GPS Data", "Webcam", "Net", "Fuel", "Byte", "Megabyte", "Pheremones", "Uranium Round", "Reacher Grabber", "Hot Plate", "Healing Syringe", "Satchel", "Analyst's Pack", "Ammo Belt", "Breaching Tool", "Rations", "Pajamas", "Rope", "Purse", "Academic's Pack", "Shovel", "Signal Whistle", "Spell Pad", "Iron Spikes", "Telescope", "String", "Shelter", "Matches", "Butane Torch", "Vial", "Water Bottle"] const commonList = ["Anti-Microbial Armor", "Meal Capsule", "Life Straw", "Soleless Shoes", "Deep Sea Lantern", "Compact Armor", "Charlatan's Dice", "Billowing Cape", "Holographic Tuxedo", "Metronome of Averages", "Healing Fabric Clothing", "Dark Flashdrive", "Dread Trooper Helmet", "Hearing Aids", "Enduring Omnitool", "Bionic Eye", "Rodent Wand", "Chip of Robotics", "Seasoning Salt", "Subsonic Alarm", "Light Bending Instrument", "Embossing Instrument", "Magnetic Lock", "Light Gun", "Cryptographic Key", "Compass", "Digital Watch", "Ambergris", "Magic Cigar", "Aluminum Fishing Pole", "Telescoping Pole", "Climbing Serum", "Brain Fluid", "Hydroponic Grow Chamber", "Prosthetic Limb", "Brain Tick", "Magnetic Fibre Rope", "Data Card", "Riot Shield of Emote", "Silver Bullet", "Exhaust Armor", "Bling Stack", "Birdwatching Box", "Flower Gloves", "Tickle Doll", "Alcohol Filter", "Veteran's Energy Cane", "Concussive Ammunition", "Finger Tracking Conductor", "Lava Lamp", "Healing Syringe"] -const uncommonList = ["Exo Armor", "Exo Weapon", "Liquid Replicator", "Mag +1", "Radio Jammer", "Roomba", "Flat Space Bag", "Magic Drone", "Noise Cancelling Boots", "Boots of Striding and Springing", "Ice Breaker Boots", "Compensator of Accuracy", "Brooch of Shielding", "Silver Surfboard", "Rebreather", "Laser Bracelet", "Stealth Suit", "Adaptive Armor Plating", "Scuba Suit", "Super Soaker", "Holographic Deck", "Hover Globe", "Chaff Grenade", "Hydrophilic Powder", "Cinnamon Powder", "Elemental Cointainment Field", "Digitized Armor Uncommon", "Uncommon Digitized Staff", "Digitized Weapon Uncommon", "Smoke Grenade", "Synaptic Lenses", "Telegraphic Goggles", "Binoculars", "Silver Raven Puck", "Hydraulic Arms", "Ultra Bright Flashlight", "Missile Dampening Field", "Robotic Exosuit", "Thievery Implant", "Night Vision Goggles", "Cyborg Eye", "Megamorphic Suit", "Intelligence Implant", "Closed Captioning HUD", "Psychic Implant", "Gravity Anchor", "Synthesizer Harp", "Digital Guitar", "Lightning Gun", "Javelin of Lightning", "Antidotic Lotion", "Black Light Flashlight", "Navy Armor", "Mind Reading Neutron", "Ghost Crystal", "Prosthetic Lung", "Graphite Ointment", "Lithium Battery", "Health Drip", "Antibiotics", "Purple Juice", "Audio Static", "Prefume of the Drones", "Nectar of Drone Friendship", "Underbarrel Flamethrower", "Strength Mod", "Growth Mod", "Compromised Syringe", "Boxing Simulator", "Damage Countermeasure", "Water Breathing Nanomachines", "Macro Uncommon", "Extradimensional Ammo Pouch", "Jetpack", "Tin Foil Hat", "Hydro-Adaptive Nanoband", "Thermo Resonance Band", "Aqua-Stabilizer Band", "Quantum Utility Belt", "Covenant Nexus +1", "Ascender Coil", "Synchron Mobility Plugin", "Quantum Relay Communicator", "Omni Tactical Barrier", "Riot Riot Shield +1", "Gecko Shoes", "Snake Cable", "Python for Dummies", "Memory Stick of Good Luck", "Revengerance Rifle", "SMG of Fish Sequencer", "Magic Wire", "Missile Pod", "Quantum Computer", "Reflex Sight", "Sticky Grenade", "Weapon +1", "Gun of Early Warning", "Fan Attachment", "Thruster Wings", "Striker Guantlets +1", "Greater Healing Syringe"] -const rareList = ["Mag +2", "Health Bar", "Armor +1", "Harmonic Defense Suit", "Cracked Harmonic Defense Suit", "Robotic Arm Shield", "Nano Beans", "Belt of Robotkind", "Belt of Cyborg Strength", "Berserker Shotgun", "Hover Boots", "Accelerator Suit", "Laptop of Commanding Water Drones", "Auto Blockers", "PDA of Commanding Fire Drones", "Red Cape", "Smartphone of Controlling Air Droids", "Memory Card of Opening", "Cloak of Holograms", "Bat Wing", "Cube of Force", "Cube of Summoning", "Fortress Builder", "Energy Energy Dagger of Venom", "Digital Shackles", "Dragon Slayer Sniper Rifle", "Supplement of Health", "Block-Chain Armor", "Digitized Armor Rare", "Rare Digitized Staff", "Digitized Weapon Rare", "Puck", "Combustion Weapon", "RC Boat", "Lens of Seeing", "Sabot Shotgun", "Hardened Undercover Armor", "Teleporter Badge", "Compression Backpack", "Klaxon Siren", "Silver Whistle", "Brass Whistle", "Rims of Speed", "Drop Tables", "Synthesizer Array", "Headphones Rare", "Sphero", "Datastack of Disruption", "Datastack of Smiting", "Datastack of Terror", "Warding Smartwatch", "Smartwatch of Fireballs", "Prayer Ebook", "Lumen Grease", "Toxic Nullification Nexus", "Flat Space Hole", "Clairvoyance Implant", "Shrink Ray", "Steam Download", "Serum of Frost Zombie Strength", "Serum of Stone Zombie Strength", "Serum of Fire Zombie Strength", "Hero Cookies", "Cloaking Formula", "Invulnerability Injection", "Mind Reading Formula", "Macro Rare", "Ring of Drone Influence", "Ring of Uncertainy Principle", "Booster Boots", "Nanoscopic Fiber Leggings", "On-Board Diagnostics", "Cybernetic Resistence Pellets", "Spell Battery", "Ram Projector", "X-ray Goggles", "Dashboard of Vision", "Command Module", "Covenant Nexus +2", "Cable of Entanglement", "Cease and Desist Letter", "Riot Riot Shield +2", "Shield of Null Emitter", "Tech Stack of Charming", "Conduit Rod of Swarming Insects", "Vegetation Conduit", "Tech Stack of Withering", "Memory Card of Controlling Earth Holograms", "Battle Rifle of the Crying Sun", "Energy Weapon of Life Stealing", "Robot Tentacle Rod", "Explosive Weapon", "Binding SD Card", "Sonar Scanner", "SD Card of Fear", "Rocket Pod", "Lightning Rod", "Paralysis Stick", "Portable Harddrive of Wonder", "Weapon +2", "Wing Suit", "Superior Healing Syringe"] +const uncommonList = ["Exo Armor", "Exo Weapon", "Liquid Replicator", "Mag +1", "Radio Jammer", "Roomba", "Flat Space Bag", "Magic Drone", "Noise Cancelling Boots", "Springbok Mechanical Legs", "Ice Breaker Boots", "Compensator of Accuracy", "Decoy Flares", "Silver Surfboard", "Rebreather", "Laser Bracelet", "Stealth Suit", "Adaptive Armor Plating", "Scuba Suit", "Super Soaker", "Holographic Deck", "Hover Globe", "Chaff Grenade", "Hydrophilic Powder", "Cinnamon Powder", "Elemental Cointainment Field", "Digitized Armor Uncommon", "Uncommon Digitized Staff", "Digitized Weapon Uncommon", "Smoke Grenade", "Synaptic Lenses", "Telegraphic Goggles", "Binoculars", "Silver Raven Puck", "Hydraulic Arms", "Ultra Bright Flashlight", "Missile Dampening Field", "Robotic Exosuit", "Thievery Implant", "Night Vision Goggles", "Cyborg Eye", "Megamorphic Suit", "Intelligence Implant", "Closed Captioning HUD", "Psychic Implant", "Gravity Anchor", "Synthesizer Harp", "Digital Guitar", "Lightning Gun", "Javelin of Lightning", "Antidotic Lotion", "Black Light Flashlight", "Navy Armor", "Mind Reading Neutron", "Ghost Crystal", "Prosthetic Lung", "Graphite Ointment", "Lithium Battery", "Health Drip", "Antibiotics", "Purple Juice", "Audio Static", "Prefume of the Drones", "Nectar of Drone Friendship", "Underbarrel Flamethrower", "Strength Mod", "Growth Mod", "Compromised Syringe", "Boxing Simulator", "Damage Countermeasure", "Water Breathing Nanomachines", "Macro Uncommon", "Extradimensional Ammo Pouch", "Jetpack", "Tin Foil Hat", "Hydro-Adaptive Nanoband", "Thermo Resonance Band", "Aqua-Stabilizer Band", "Quantum Utility Belt", "Covenant Nexus +1", "Ascender Coil", "Synchron Mobility Plugin", "Quantum Relay Communicator", "Omni Tactical Barrier", "Riot Shield +1", "Gecko Shoes", "Snake Cable", "Python for Dummies", "Memory Stick of Good Luck", "Revengerance Rifle", "SMG of Fish Sequencer", "Magic Wire", "Missile Pod", "Quantum Computer", "Reflex Sight", "Sticky Grenade", "Weapon +1", "Gun of Early Warning", "Fan Attachment", "Thruster Wings", "Striker Guantlets +1", "Greater Healing Syringe"] +const rareList = ["Mag +2", "Health Bar", "Armor +1", "Harmonic Defense Suit", "Cracked Harmonic Defense Suit", "Robotic Arm Shield", "Nano Beans", "Belt of Robotkind", "Belt of Cyborg Strength", "Berserker Shotgun", "Hover Boots", "Accelerator Suit", "Laptop of Commanding Water Drones", "Auto Blockers", "PDA of Commanding Fire Drones", "Red Cape", "Smartphone of Controlling Air Droids", "Memory Card of Opening", "Cloak of Holograms", "Bat Wing", "Cube of Force", "Cube of Summoning", "Fortress Builder", "Energy Dagger of Venom", "Digital Shackles", "Dragon Slayer Sniper Rifle", "Supplement of Health", "Block-Chain Armor", "Digitized Armor Rare", "Rare Digitized Staff", "Digitized Weapon Rare", "Puck", "Combustion Weapon", "RC Boat", "Lens of Seeing", "Sabot Shotgun", "Hardened Undercover Armor", "Teleporter Badge", "Compression Backpack", "Klaxon Siren", "Silver Whistle", "Brass Whistle", "Rims of Speed", "Drop Tables", "Synthesizer Array", "Headphones Rare", "Sphero", "Datastack of Disruption", "Datastack of Smiting", "Datastack of Terror", "Warding Smartwatch", "Smartwatch of Fireballs", "Prayer Ebook", "Lumen Grease", "Toxic Nullification Nexus", "Flat Space Hole", "Clairvoyance Implant", "Shrink Ray", "Steam Download", "Serum of Frost Zombie Strength", "Serum of Stone Zombie Strength", "Serum of Fire Zombie Strength", "Hero Cookies", "Cloaking Formula", "Invulnerability Injection", "Mind Reading Formula", "Macro Rare", "Ring of Drone Influence", "Ring of Uncertainy Principle", "Booster Boots", "Nanoscopic Fiber Leggings", "On-Board Diagnostics", "Cybernetic Resistence Pellets", "Spell Battery", "Ram Projector", "X-ray Goggles", "Dashboard of Vision", "Command Module", "Covenant Nexus +2", "Cable of Entanglement", "Cease and Desist Letter", "Riot Shield +2", "Shield of Null Emitter", "Tech Stack of Charming", "Conduit Rod of Swarming Insects", "Vegetation Conduit", "Tech Stack of Withering", "Memory Card of Controlling Earth Holograms", "Battle Rifle of the Crying Sun", "Energy Weapon of Life Stealing", "Robot Tentacle Rod", "Explosive Weapon", "Binding SD Card", "Sonar Scanner", "SD Card of Fear", "Rocket Pod", "Lightning Rod", "Paralysis Stick", "Portable Harddrive of Wonder", "Weapon +2", "Wing Suit", "Superior Healing Syringe"] const phenomenalList = ["Mag +3", "Mag of Slaying", "3D Scanner", "Motion Graphic Shield", "Armor +2", "Junk Shredder", "Utility Belt of Frost Zombie Strength", "Utility Belt of Stone Zombie Strength", "Utility Belt of Fire Zombie Strength", "LED of Invocation", "Hovering Pallet", "Sleep Capsule of Rebirth", "Web Shooters", "Influencer Starter Kit", "Auto Turret", "Alien Armor", "Dragon Scale Mail", "Soldier Plate", "M4A1", "Hologram Cage", "AK-47", "G36", "Digitized Armor Very Rare", "Digitized Armor Very Rare", "Desert Eagle", "Obsidian Steed Puck", "Cold Gun", "Combat Helmet of Many Spells", "Helm of Brilliance", "Bronze Whistle", "Horseshoes of a Zephyr", "Headphones Very Rare", "Thunderous MP5", "PDF of Bodily Health", "PDF of Gainful Exercise", "PDF of Golems", "PDF of Quickness of Action", "Selfie Camera of Life Trapping", "FN Five-Seven", "Pantone Paints", "Glock 18", "Oil of Accuracy", "Serum of Gravity", "Serum of Cloud Zombie Strength", "Serum of Null Zero Cloak", "Serum of Longevity", "Syringe of Speed", "Syringe of Vitality", "Quartenion Baton of the Acrobat", "USB of Regeneration", "Dazzler Attachment", "Mind Mover Implant", "Bandana of Scintillating Colors", "Bandana of Stars", "Thumb Drive of Absorption", "Thumb Drive of Alertness", "Thumb Drive of Security", "Covenant Nexus +3", "Uzi of Speed", "Riot Shield +3", "Riot Shield of the Cavalier", "Virus Protection Shield", "Digital 8 Ball", "Rocket Launcher of Firewall", "Cryonics Staff", "Power Armor Weapons Platform", "Steyr Aug", "M60 Lightning", "Critical Mass Gun", "Mossberg 500", "PDF of Clear Thought", "PDF of Leadership and Influence", "PDF of Understanding", "Watch of Nanomorph", "Weapon +3", "Supreme Healing Syringe"] const legendaryList = ["Mecha Walker", "Armor +3", "Deathproof Ballistic Armor", "Belt of Cloud Zombie Strength", "Belt of Cloud Zombie Strength", "Enigma Generator", "Tablet of Spying", "Tablet of Telepathy", "Tablet of Thermal Imaging", "Rift Gate", "TCG of Many Things", "Super Shotgun", "Linked List Chain", "Digitized Armor Legendary", "Legendary Digitized Staff", "Digitized Weapon Legendary", "AWP of Thunderbolts", "Holy Colt 1911", "Headphones of Greater Absorption", "Headphones of Mastery", "Headphones of Regeneration", "Digital Hand Trap", "Luck Gun", "Colt Carbine", "Ceramic Armor of Etherealness", "Ceramic Armor of Etherealness", "Gamepad of Cyborg Summoning", "Gamepad of Hologram Command", "Gamepad of Cloak", "Gamepad of Counter Hack", "Gamepad of AI Wishes", "Robotic Shield Motivator", "Megamorphic Gun", "USB Stick of Resurrection", "Communicator Badge of Protection", "PDA of Titan Summoning", "JB Bond", "Black Hole", "USB Stick of the Sys Admin", "Die Katana", "Fidget of Pure Good", "Fidget of the Sphere", "Fidget of Ultimate Evil", "PDF of the Stilled Tongue", "Goo Be Gone", "Well of the Metaverse"] -const artifactList = ["Accelerator Rifle", "Killer P90", "PDF of Exalted Deeds", "PDF of Vile Darkness", "Close Encounters PDF", "Efreeti Chain", "Eye of Echelon Zero", "Hand of Echelon Zero", "Dragon Battery", "Beretta 92FS", "Antenna of Hex Machina", "Glock 20C Marine", "AA-12 Shotgun"] +const artifactList = ["Accelerator Rifle", "Killer P90", "PDF of Exalted Deeds", "PDF of Vile Darkness", "Close Encounters PDF", "Eye of Echelon Zero", "Hand of Echelon Zero", "Dragon Battery", "Beretta 92FS", "Antenna of Hex Machina", "Glock 20C Marine", "AA-12 Shotgun"] function getRandomInteger(min, max) { return Math.floor(Math.random() * (max - min + 1)) + min; @@ -3647,7 +3647,7 @@ const martialRangedWeapons = ["Shuriken", "Power Gauntlets", "Modular Gun", "Sil const lightArmor = ["Kevlar Vest", "Combat Armor", "Tech Armor"] const mediumArmor = ["Carbon Fiber Armor", "Deflection Suit", "Charge Armor", "Riot Gear", "Nexus Armor"] const heavyArmor = ["Nanotube Armor", "Biotic Mail", "Energetic Armor", "Power Armor"] -const ammunition = ["Mag", "Shells"] +const ammunition = ["Mag", "Shells", "Batteries"] function itemShopConvertGenericName(name) { switch (name) { @@ -3679,8 +3679,8 @@ function itemShopConvertGenericName(name) { case "Exo Weapon": name = itemShopNameAddSuffix("Exo", ...martialMeleeWeapons.concat(ammunition, simpleMeleeWeapons)) break - case "Ammunition +1": - name = itemShopNameAddPrefix("+1", ...Mag) + case "Mag +1": + name = itemShopNameAddPrefix("+1", ...ammunition) break case "Digitized Armor Uncommon": name = itemShopNameAddSuffix("Uncommon Enspelled", ...lightArmor.concat(mediumArmor, heavyArmor)) diff --git a/story-cards.json b/story-cards.json index 9d464f0..1c7028b 100644 --- a/story-cards.json +++ b/story-cards.json @@ -1712,10 +1712,10 @@ "useForCharacterCreation": false }, { - "keys": "Ammunition +1", + "keys": "Mag +1", "value": "Additional bonus damage and accuracy.", "type": "item", - "title": "Ammunition +1", + "title": "Mag +1", "description": "400", "useForCharacterCreation": false }, @@ -2512,10 +2512,10 @@ "useForCharacterCreation": false }, { - "keys": "Ammunition +2", + "keys": "Mag +2", "value": "Ten mags of enhanced ammunition. Has greater accuracy and deals additional damage.", "type": "item", - "title": "Ammunition +2", + "title": "Mag +2", "description": "4000", "useForCharacterCreation": false },