Refactor: Abyss Locust descriptions

closes #803
This commit is contained in:
Wofsauge committed 2025-02-27 22:04:10 +01:00
1 parent 460eaeee01
commit 49be3838a0
8 files changed
+413 -290

No files matched your search

+4 -244
View File
@@ -72,253 +72,13 @@ EID:updateDescriptionsViaTable(cards, EID.descriptions[languageCode].cards)
---------- Conditions ----------
EID.descriptions[languageCode].ConditionalDescs["5.100.566"] = nil -- Dream Catcher (Greed) - In Rep+, the dream preview works in greed mode as well, so no changes needed
-- Table that contains commonly used descriptions for abyss synergies
local abyssPresets = {
noEffect = "No special effect",
normalTwo = "Two normal locusts",
smallFour = "Four small locusts",
blackFear = "Black locust that fears enemies",
blueConfuse = "Blue locust that knock back and confuse enemies.",
blueFreeze = "Blue locust that freezes enemies",
cyanDestroyProjectiles = "Cyan locust that destroys enemy projectiles",
cyanElectricity = "Cyan locust that creates arcs of electricity dealing 0.1 damage per tick",
grayConfuse = "Gray locust that confuse enemies",
grayPetrify = "Gray locust that petrifies enemies",
grayMagnetize = "Gray locust that magnetizes enemies",
graySlow = "Light gray locust that slows enemies",
grayBones = "Light gray locust that creates 1-3 bone shards upon hitting enemies",
greenPoison = "Green locust that poisons enemies",
pinkMimic = "Pink locust that randomly mimic the effects of other special locusts",
pinkCharm = "Pink locust that charms enemies",
purpleHoming = "Purple homing locust",
orangeBurn = "Orange burning locust that sets enemies on fire",
redBleed = "Dark red locust that inflict bleed on enemies",
redLarge = "Larger red locust",
whiteBeam = "White, glowing locust that can spawn beams of light that deal deal 3x Isaac's damage",
whiteGodhead = "White, glowing locust which has a Godhead aura which rapidly deals 2 damage per tick to enemies inside",
yellowExplode = "Yellow locust that explodes",
yellowPoisonExplode = "Yellow locust that poisons enemies and explode",
yellowMimicExplode = "Yellow locust that explodes and randomly mimic the effects of other special locusts",
}
-- Special Locust effects when Item was eaten by Abyss
-- Special Locust effects when Item was eaten by Abyss. Entries here will override the auto-generated descriptions
local abyssSynergies = {
[4] = abyssPresets.noEffect, -- Cricket's Head
[6] = "Fast locust that ticks damage slightly quicker", -- Number One
[7] = abyssPresets.noEffect, -- Blood of the Martyr
[10] = "Two cyan locusts that destroy enemy projectiles", -- Halo of Flies
[12] = abyssPresets.redLarge, -- Magic Mushroom
[19] = abyssPresets.yellowExplode, -- Boom!
[37] = abyssPresets.yellowExplode, -- Mr. Boom
[39] = abyssPresets.grayPetrify, -- Mom's Bra
[40] = abyssPresets.yellowExplode, -- Kamikaze!
[47] = abyssPresets.yellowExplode, -- Doctor's Remote
[52] = abyssPresets.yellowExplode, -- Dr. Fetus
[41] = abyssPresets.blackFear, -- Mom's Pad
[53] = abyssPresets.grayMagnetize, -- Magneto
[58] = abyssPresets.cyanDestroyProjectiles, -- Book of Shadows
[62] = abyssPresets.redBleed, -- Charm of the Vampire
[63] = abyssPresets.cyanElectricity, -- The Battery
[65] = abyssPresets.yellowExplode, -- Anarchist Cookbook
[66] = abyssPresets.graySlow, -- The Hourglass
[68] = abyssPresets.cyanElectricity, -- Technology
[69] = abyssPresets.redLarge, -- Chocolate Milk
[71] = "Smaller red locust", -- Mini Mush
[73] = abyssPresets.cyanDestroyProjectiles, -- Cube of Meat
[77] = abyssPresets.cyanDestroyProjectiles, -- My Little Unicorn
[89] = abyssPresets.graySlow, -- Spider Bite
[95] = abyssPresets.cyanElectricity, -- Robo Baby
[99] = abyssPresets.graySlow, -- Little Gish
[100] = abyssPresets.purpleHoming, -- Little Steven
[104] = "One normal red locust and two smaller red locusts", -- The Parasite
[106] = abyssPresets.yellowExplode, -- Mr. Mega
[108] = abyssPresets.cyanDestroyProjectiles, -- The Wafer
[110] = abyssPresets.grayPetrify, -- Mom's Contacts
[111] = abyssPresets.greenPoison, -- The Bean
[112] = abyssPresets.cyanDestroyProjectiles, -- Guardian Angel
[114] = "Larger red locust that attacks faster", -- Mom's Knife
[116] = abyssPresets.cyanElectricity, -- 9 Volt
[118] = "Larger black locust", -- Brimstone
[124] = abyssPresets.pinkMimic, -- Dead Sea Scrolls
[125] = abyssPresets.yellowExplode, -- Bobby-Bomb
[136] = abyssPresets.yellowExplode, -- Best Friend
[137] = abyssPresets.yellowExplode, -- Remote Detonator
[140] = abyssPresets.yellowExplode, -- Bob's Curse
[149] = abyssPresets.greenPoison, -- Ipecac
[153] = abyssPresets.smallFour, -- Mutant Spider
[160] = abyssPresets.whiteBeam, -- Crack the Sky
[162] = abyssPresets.cyanDestroyProjectiles, -- Celtic Cross
[164] = abyssPresets.orangeBurn, -- The Candle
[168] = abyssPresets.yellowExplode, -- Epic Fetus
[169] = abyssPresets.redLarge, -- Polyphemus
[171] = abyssPresets.graySlow, -- Spider Butt
[172] = abyssPresets.cyanDestroyProjectiles, -- Sacrificial Dagger
[178] = "White, glowing locust that petrifies enemies and can spawn beams of light that deal deal 3x Isaac's damage", -- Holy Water
[180] = abyssPresets.greenPoison, -- The Black Bean
[181] = abyssPresets.whiteBeam, -- White Pony
[182] = "White, slow, glowing and homing locust that can spawn beams of light that deal deal 3x Isaac's damage", -- Sacred Heart
[187] = abyssPresets.cyanDestroyProjectiles, -- Guppy's Hairball
[190] = abyssPresets.yellowExplode, -- Pyro
[191] = abyssPresets.pinkMimic, -- 3 Dollar Bill
[192] = abyssPresets.purpleHoming, -- Telepathy for Dummies
[200] = abyssPresets.pinkCharm, -- Mom's Eyeshadow
[201] = abyssPresets.grayConfuse, -- Iron Bar
[202] = abyssPresets.grayPetrify, -- Midas' Touch
[207] = abyssPresets.cyanDestroyProjectiles, -- Ball of Bandages
[209] = abyssPresets.yellowPoisonExplode, -- Butt Bombs
[210] = abyssPresets.cyanDestroyProjectiles, -- Gnawed Leaf
[213] = abyssPresets.cyanDestroyProjectiles, -- Lost Contact
[220] = abyssPresets.yellowExplode, -- Sad Bombs
[224] = abyssPresets.smallFour, -- Cricket's Body
[228] = abyssPresets.blackFear, -- Mom's Perfume
[230] = abyssPresets.blackFear, -- Abaddon
[231] = "Black locust that slows enemies", -- Ball of Tar
[232] = abyssPresets.graySlow, -- Stop Watch
[242] = abyssPresets.cyanDestroyProjectiles, -- Infamy
[243] = abyssPresets.cyanDestroyProjectiles, -- Trinity Shield
[244] = abyssPresets.cyanDestroyProjectiles, -- Tech.5
[245] = abyssPresets.normalTwo, -- 20/20
[248] = abyssPresets.redLarge, -- Hive Mind
[250] = abyssPresets.yellowExplode, -- BOGO Bombs
[256] = "Yellow burning locust that burn enemies and explode", -- Hot Bombs
[258] = abyssPresets.pinkMimic, -- Missing No.
[259] = abyssPresets.blackFear, -- Dark Matter
[264] = abyssPresets.purpleHoming, -- Smart Fly
[265] = abyssPresets.cyanDestroyProjectiles, -- Dry Baby
[266] = abyssPresets.graySlow, -- Juicy Sack
[267] = abyssPresets.cyanElectricity, -- Robo-Baby 2.0
[272] = abyssPresets.yellowExplode, -- BBF
[273] = abyssPresets.yellowPoisonExplode, -- Bob's Brain
[276] = abyssPresets.blueConfuse, -- Isaac's Heart
[277] = abyssPresets.blackFear, -- Lil Haunt
[279] = "Large, very slow, cyan locust that destroys enemy projectiles", -- Big Fan
[281] = abyssPresets.cyanDestroyProjectiles, -- Punching Bag
[289] = abyssPresets.orangeBurn, -- Red Candle
[294] = abyssPresets.blueConfuse, -- Butter Bean
[298] = abyssPresets.cyanDestroyProjectiles, -- Unicorn Stump
[300] = abyssPresets.blueConfuse, -- Aries
[303] = abyssPresets.cyanDestroyProjectiles, -- Virgo
[309] = abyssPresets.blueConfuse, -- Pisces
[310] = "Large, slow, black locust", -- Eve's Mascara
[313] = abyssPresets.cyanDestroyProjectiles, -- Holy Mantle
[315] = abyssPresets.grayMagnetize, -- Strange Attractor
[317] = abyssPresets.greenPoison, -- Mysterious Liquid
[326] = abyssPresets.cyanDestroyProjectiles, -- Breath of Life
[330] = "Tiny, extremely fast locust that ticks damage quicker", -- Soy Milk
[331] = abyssPresets.whiteGodhead, -- Godhead
[336] = "Slow red locust", -- Dead Onion
[337] = abyssPresets.graySlow, -- Broken Watch
[338] = abyssPresets.grayPetrify, -- Boomerang
[347] = abyssPresets.normalTwo, -- Diplopia
[350] = abyssPresets.greenPoison, -- Toxic Shock
[351] = "Green locust that poison, knock back and confuse enemies", -- Mega Bean
[353] = abyssPresets.yellowExplode, -- Bomber Boy
[356] = abyssPresets.cyanElectricity, -- Car Battery
[360] = abyssPresets.normalTwo, -- Incubus
[363] = abyssPresets.cyanDestroyProjectiles, -- Sworn Protector
[366] = "Two yellow locust that explode", -- Scatter Bombs
[367] = "Yellow locust that slows enemies and explodes", -- Sticky Bombs
[371] = abyssPresets.yellowExplode, -- Curse of the Tower
[372] = abyssPresets.cyanElectricity, -- Charged Baby
[374] = abyssPresets.whiteBeam, -- Holy Light
[375] = abyssPresets.cyanDestroyProjectiles, -- Host Hat
[378] = abyssPresets.yellowExplode, -- Number Two
[379] = abyssPresets.redLarge, -- Pupula Duplex
[387] = abyssPresets.graySlow, -- Censer
[391] = abyssPresets.pinkCharm, -- Betrayal
[393] = abyssPresets.greenPoison, -- Serpent's Kiss
[395] = abyssPresets.cyanElectricity, -- Tech X
[398] = "Blue locust that shrinks enemies", -- God's Flesh
[401] = abyssPresets.yellowExplode, -- Explosivo
[402] = abyssPresets.pinkMimic, -- Chaos
[403] = abyssPresets.pinkMimic, -- Spider Mod
[404] = "Cyan locust that poisons enemies and destroy enemy projectiles", -- Farting Baby
[405] = abyssPresets.pinkMimic, -- GB Bug
[415] = abyssPresets.whiteBeam, -- Crown of Light
[417] = abyssPresets.whiteGodhead, -- Succubus
[418] = abyssPresets.pinkMimic, -- Fruit Cake
[421] = abyssPresets.pinkCharm, -- Kidney Bean
[423] = abyssPresets.cyanDestroyProjectiles, -- Circle of Protection
[425] = abyssPresets.graySlow, -- Night Light
[427] = abyssPresets.yellowExplode, -- Mine Crafter
[432] = abyssPresets.yellowMimicExplode, -- Glitter Bombs
[441] = "Big black locust", -- Mega Blast
[446] = abyssPresets.greenPoison, -- Dead Tooth
[448] = abyssPresets.redBleed, -- Shard of Glass
[449] = abyssPresets.cyanDestroyProjectiles, -- Metal Plate
[453] = abyssPresets.grayBones, -- Compound Fracture
[457] = abyssPresets.cyanDestroyProjectiles, -- Cone Head
[459] = abyssPresets.greenPoison, -- Sinus Infection
[460] = abyssPresets.grayConfuse, -- Glaucoma
[466] = abyssPresets.greenPoison, -- Contagion
[473] = "Larger, slower red locust", -- Big Chubby
[478] = abyssPresets.grayPetrify, -- Pause
[483] = "Larger yellow locust that explodes", -- Mama Mega
[488] = abyssPresets.pinkMimic, -- Metronome
[495] = abyssPresets.orangeBurn, -- Ghost Pepper
[497] = abyssPresets.grayConfuse, -- Camo Undies
[502] = abyssPresets.graySlow, -- Large Zit
[506] = abyssPresets.redBleed, -- Backstabber
[508] = abyssPresets.redBleed, -- Mom's Razor
[510] = abyssPresets.pinkMimic, -- Delirious
[512] = abyssPresets.grayMagnetize, -- Black Hole
[514] = "Gray locust that petrifies and confuse enemies", -- Broken Modem
[517] = abyssPresets.yellowExplode, -- Fast Bombs
[519] = abyssPresets.pinkMimic, -- Lil Delirium
[520] = abyssPresets.cyanElectricity, -- Jumper Cables
[524] = abyssPresets.cyanElectricity, -- Technology Zero
[525] = abyssPresets.cyanDestroyProjectiles, -- Leprosy
[533] = abyssPresets.whiteBeam, -- Trisagion
[541] = abyssPresets.grayBones, -- Marrow
[542] = abyssPresets.grayBones, -- Slipped Rib
[544] = abyssPresets.grayBones, -- Pointy Rib
[545] = abyssPresets.grayBones, -- Book of the Dead
[546] = abyssPresets.grayPetrify, -- Dad's Ring
[548] = abyssPresets.grayBones, -- Jawbone
[549] = abyssPresets.grayBones, -- Brittle Bones
[553] = abyssPresets.greenPoison, -- Mucomycosis
[554] = abyssPresets.blackFear, -- 2Spooky
[561] = "Tiny, very fast locust that ticks damage quicker", -- Almond Milk
[563] = abyssPresets.yellowMimicExplode, -- Nancy Bombs
[568] = abyssPresets.cyanDestroyProjectiles, -- Divine Intervention
[570] = abyssPresets.pinkMimic, -- Playdough Cookie
[574] = abyssPresets.whiteGodhead, -- Monstrance
[575] = abyssPresets.graySlow, -- The Intruder
[577] = "Two cyan locusts that destroy enemy projectiles", -- Damocles
[581] = abyssPresets.cyanDestroyProjectiles, -- Psy Fly
[583] = abyssPresets.yellowExplode, -- Rocket in a Jar
[591] = abyssPresets.pinkCharm, -- Venus
[594] = abyssPresets.greenPoison, -- Jupiter
[596] = abyssPresets.blueFreeze, -- Uranus
[603] = abyssPresets.cyanElectricity, -- Battery Pack
[606] = abyssPresets.grayMagnetize, -- Ocular Rift
[608] = abyssPresets.blueFreeze, -- Freezer Baby
[615] = abyssPresets.cyanDestroyProjectiles, -- Lil Dumpy
[616] = abyssPresets.orangeBurn, -- Bird's Eye
[617] = abyssPresets.grayMagnetize, -- Lodestone
[618] = abyssPresets.pinkCharm, -- Rotten Tomato
[622] = abyssPresets.pinkMimic, -- Genesis
[625] = "Big red locust that attacks faster", -- Mega Mush
[629] = abyssPresets.cyanDestroyProjectiles, -- Bot Fly
[631] = "Two small red locusts", -- Meat Cleaver
[637] = abyssPresets.blueConfuse, -- Knockout Drops
[640] = abyssPresets.orangeBurn, -- Urn of Souls
[645] = abyssPresets.cyanDestroyProjectiles, -- Tinytoma
[646] = abyssPresets.yellowExplode, -- Brimstone Bombs
[647] = abyssPresets.cyanElectricity, -- 4.5 Volt
[652] = abyssPresets.blueFreeze, -- Cube Baby
[663] = abyssPresets.cyanDestroyProjectiles, -- Tooth and Nail
[683] = abyssPresets.grayBones, -- Bone Spurs
[689] = abyssPresets.pinkMimic, -- Glitched Crown
[690] = abyssPresets.blueConfuse, -- Belly Jelly
[693] = "Three cyan locusts that destroy enemy projectiles", -- The Swarm
[698] = abyssPresets.normalTwo, -- Twisted Pair
[721] = abyssPresets.pinkMimic, -- TMTRAINER
[727] = abyssPresets.yellowExplode, -- Ghost Bombs
[706] = "Spawns 16 locusts of different colors and effects", -- Abyss
[706] = "Spawns 16 locusts with different colors and effects", -- Abyss
}
-- Remove all entries from Repentance file, and only add special descriptions relevant to Repentance+
EID.descriptions[languageCode].abyssSynergies = {}
EID:updateDescriptionsViaTable(abyssSynergies, EID.descriptions[languageCode].abyssSynergies)