isaacscript-common 1.0.600 → 1.0.604

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/dist/callbacks/postFlip.lua +1 -2
  2. package/dist/callbacks/postPurchase.lua +7 -6
  3. package/dist/callbacks/preNewLevel.lua +7 -5
  4. package/dist/callbacks/subscriptions/{PreNewLevel.d.ts → preNewLevel.d.ts} +0 -0
  5. package/dist/callbacks/subscriptions/{PreNewLevel.lua → preNewLevel.lua} +0 -0
  6. package/dist/features/getCollectibleItemPoolType.d.ts +2 -2
  7. package/dist/features/saveDataManager/exports.lua +5 -0
  8. package/dist/features/sirenHelpers.lua +3 -1
  9. package/dist/functions/array.d.ts +5 -2
  10. package/dist/functions/array.lua +26 -31
  11. package/dist/functions/collectibles.d.ts +5 -0
  12. package/dist/functions/collectibles.lua +11 -11
  13. package/dist/functions/entity.d.ts +10 -10
  14. package/dist/functions/entity.lua +29 -31
  15. package/dist/functions/globals.d.ts +14 -0
  16. package/dist/functions/globals.lua +205 -0
  17. package/dist/functions/gridEntity.lua +7 -6
  18. package/dist/functions/input.d.ts +2 -2
  19. package/dist/functions/jsonRoom.lua +36 -27
  20. package/dist/functions/log.d.ts +4 -4
  21. package/dist/functions/log.lua +15 -18
  22. package/dist/functions/npc.lua +17 -23
  23. package/dist/functions/player.d.ts +3 -1
  24. package/dist/functions/player.lua +59 -54
  25. package/dist/functions/pocketItems.lua +4 -6
  26. package/dist/functions/rooms.lua +26 -33
  27. package/dist/functions/transformations.lua +3 -1
  28. package/dist/functions/trinkets.lua +4 -12
  29. package/dist/functions/util.d.ts +1 -0
  30. package/dist/functions/util.lua +10 -0
  31. package/dist/index.d.ts +1 -0
  32. package/dist/index.lua +8 -0
  33. package/dist/types/CallbackParametersCustom.d.ts +1 -1
  34. package/dist/types/ModUpgraded.lua +3 -5
  35. package/package.json +2 -2
  36. package/dist/callbacks/postSlot.d.ts +0 -2
  37. package/dist/callbacks/postSlot.lua +0 -48
  38. package/dist/callbacks/postSlotRender.d.ts +0 -2
  39. package/dist/callbacks/postSlotRender.lua +0 -20
  40. package/dist/callbacks/subscriptions/postPlayerUpdateReordered - Copy.d.ts +0 -5
  41. package/dist/callbacks/subscriptions/postPlayerUpdateReordered - Copy.lua +0 -26
  42. package/dist/cardNameMap.d.ts +0 -2
  43. package/dist/cardNameMap.lua +0 -5
  44. package/dist/collectibleNameMap.d.ts +0 -2
  45. package/dist/collectibleNameMap.lua +0 -5
  46. package/dist/collectibleSet.d.ts +0 -1
  47. package/dist/collectibleSet.lua +0 -22
  48. package/dist/functions/card.d.ts +0 -25
  49. package/dist/functions/card.lua +0 -41
  50. package/dist/functions/items.d.ts +0 -9
  51. package/dist/functions/items.lua +0 -9
  52. package/dist/functions/localization.d.ts +0 -2
  53. package/dist/functions/localization.lua +0 -8
  54. package/dist/functions/sound.d.ts +0 -7
  55. package/dist/functions/sound.lua +0 -7
  56. package/dist/gridEntityMap.d.ts +0 -2
  57. package/dist/gridEntityMap.lua +0 -5
  58. package/dist/maps/roomTypeToItemPoolMap.d.ts +0 -2
  59. package/dist/maps/roomTypeToItemPoolMap.lua +0 -19
  60. package/dist/maps/transformationMap.d.ts +0 -5
  61. package/dist/maps/transformationMap.lua +0 -56
  62. package/dist/patchPrintFunction.d.ts +0 -1
  63. package/dist/patchPrintFunction.lua +0 -45
  64. package/dist/pillEffectNameMap.d.ts +0 -2
  65. package/dist/pillEffectNameMap.lua +0 -5
  66. package/dist/transformationMap.d.ts +0 -5
  67. package/dist/transformationMap.lua +0 -56
  68. package/dist/trinketNameMap.d.ts +0 -2
  69. package/dist/trinketNameMap.lua +0 -5
@@ -1,5 +0,0 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
3
- local ____exports = {}
4
- ____exports.COLLECTIBLE_NAME_MAP = __TS__New(Map, {{1, "The Sad Onion"}, {2, "The Inner Eye"}, {3, "Spoon Bender"}, {4, "Cricket's Head"}, {5, "My Reflection"}, {6, "Number One"}, {7, "Blood of the Martyr"}, {8, "Brother Bobby"}, {9, "Skatole"}, {10, "Halo of Flies"}, {11, "1up!"}, {12, "Magic Mushroom"}, {13, "The Virus"}, {14, "Roid Rage"}, {15, "<3"}, {16, "Raw Liver"}, {17, "Skeleton Key"}, {18, "A Dollar"}, {19, "Boom!"}, {20, "Transcendence"}, {21, "The Compass"}, {22, "Lunch"}, {23, "Dinner"}, {24, "Dessert"}, {25, "Breakfast"}, {26, "Rotten Meat"}, {27, "Wooden Spoon"}, {28, "The Belt"}, {29, "Mom's Underwear"}, {30, "Mom's Heels"}, {31, "Mom's Lipstick"}, {32, "Wire Coat Hanger"}, {33, "The Bible"}, {34, "The Book of Belial"}, {35, "The Necronomicon"}, {36, "The Poop"}, {37, "Mr. Boom"}, {38, "Tammy's Head"}, {39, "Mom's Bra"}, {40, "Kamikaze!"}, {41, "Mom's Pad"}, {42, "Bob's Rotten Head"}, {44, "Teleport!"}, {45, "Yum Heart"}, {46, "Lucky Foot"}, {47, "Doctor's Remote"}, {48, "Cupid's Arrow"}, {49, "Shoop da Whoop!"}, {50, "Steven"}, {51, "Pentagram"}, {52, "Dr. Fetus"}, {53, "Magneto"}, {54, "Treasure Map"}, {55, "Mom's Eye"}, {56, "Lemon Mishap"}, {57, "Distant Admiration"}, {58, "Book of Shadows"}, {60, "The Ladder"}, {62, "Charm of the Vampire"}, {63, "The Battery"}, {64, "Steam Sale"}, {65, "Anarchist Cookbook"}, {66, "The Hourglass"}, {67, "Sister Maggy"}, {68, "Technology"}, {69, "Chocolate Milk"}, {70, "Growth Hormones"}, {71, "Mini Mush"}, {72, "Rosary"}, {73, "Cube of Meat"}, {74, "A Quarter"}, {75, "PHD"}, {76, "X-Ray Vision"}, {77, "My Little Unicorn"}, {78, "Book of Revelations"}, {79, "The Mark"}, {80, "The Pact"}, {81, "Dead Cat"}, {82, "Lord of the Pit"}, {83, "The Nail"}, {84, "We Need To Go Deeper!"}, {85, "Deck of Cards"}, {86, "Monstro's Tooth"}, {87, "Loki's Horns"}, {88, "Little Chubby"}, {89, "Spider Bite"}, {90, "The Small Rock"}, {91, "Spelunker Hat"}, {92, "Super Bandage"}, {93, "The Gamekid"}, {94, "Sack of Pennies"}, {95, "Robo-Baby"}, {96, "Little C.H.A.D."}, {97, "The Book of Sin"}, {98, "The Relic"}, {99, "Little Gish"}, {100, "Little Steven"}, {101, "The Halo"}, {102, "Mom's Bottle of Pills"}, {103, "The Common Cold"}, {104, "The Parasite"}, {105, "The D6"}, {106, "Mr. Mega"}, {107, "The Pinking Shears"}, {108, "The Wafer"}, {109, "Money = Power"}, {110, "Mom's Contacts"}, {111, "The Bean"}, {112, "Guardian Angel"}, {113, "Demon Baby"}, {114, "Mom's Knife"}, {115, "Ouija Board"}, {116, "9 Volt"}, {117, "Dead Bird"}, {118, "Brimstone"}, {119, "Blood Bag"}, {120, "Odd Mushroom"}, {121, "Odd Mushroom"}, {122, "Whore of Babylon"}, {123, "Monster Manual"}, {124, "Dead Sea Scrolls"}, {125, "Bobby-Bomb"}, {126, "Razor Blade"}, {127, "Forget Me Now"}, {128, "Forever Alone"}, {129, "Bucket of Lard"}, {130, "A Pony"}, {131, "Bomb Bag"}, {132, "A Lump of Coal"}, {133, "Guppy's Paw"}, {134, "Guppy's Tail"}, {135, "IV Bag"}, {136, "Best Friend"}, {137, "Remote Detonator"}, {138, "Stigmata"}, {139, "Mom's Purse"}, {140, "Bob's Curse"}, {141, "Pageant Boy"}, {142, "Scapular"}, {143, "Speed Ball"}, {144, "Bum Friend"}, {145, "Guppy's Head"}, {146, "Prayer Card"}, {147, "Notched Axe"}, {148, "Infestation"}, {149, "Ipecac"}, {150, "Tough Love"}, {151, "The Mulligan"}, {152, "Technology 2"}, {153, "Mutant Spider"}, {154, "Chemical Peel"}, {155, "The Peeper"}, {156, "Habit"}, {157, "Bloody Lust"}, {158, "Crystal Ball"}, {159, "Spirit of the Night"}, {160, "Crack the Sky"}, {161, "Ankh"}, {162, "Celtic Cross"}, {163, "Ghost Baby"}, {164, "The Candle"}, {165, "Cat-o-nine-tails"}, {166, "D20"}, {167, "Harlequin Baby"}, {168, "Epic Fetus"}, {169, "Polyphemus"}, {170, "Daddy Longlegs"}, {171, "Spider Butt"}, {172, "Sacrificial Dagger"}, {173, "Mitre"}, {174, "Rainbow Baby"}, {175, "Dad's Key"}, {176, "Stem Cells"}, {177, "Portable Slot"}, {178, "Holy Water"}, {179, "Fate"}, {180, "The Black Bean"}, {181, "White Pony"}, {182, "Sacred Heart"}, {183, "Tooth Picks"}, {184, "Holy Grail"}, {185, "Dead Dove"}, {186, "Blood Rights"}, {187, "Guppy's Hairball"}, {188, "Abel"}, {189, "SMB Super Fan"}, {190, "Pyro"}, {191, "3 Dollar Bill"}, {192, "Telepathy For Dummies"}, {193, "MEAT!"}, {194, "Magic 8 Ball"}, {195, "Mom's Coin Purse"}, {196, "Squeezy"}, {197, "Jesus Juice"}, {198, "Box"}, {199, "Mom's Key"}, {200, "Mom's Eyeshadow"}, {201, "Iron Bar"}, {202, "Midas' Touch"}, {203, "Humbleing Bundle"}, {204, "Fanny Pack"}, {205, "Sharp Plug"}, {206, "Guillotine"}, {207, "Ball of Bandages"}, {208, "Champion Belt"}, {209, "Butt Bombs"}, {210, "Gnawed Leaf"}, {211, "Spiderbaby"}, {212, "Guppy's Collar"}, {213, "Lost Contact"}, {214, "Anemic"}, {215, "Goat Head"}, {216, "Ceremonial Robes"}, {217, "Mom's Wig"}, {218, "Placenta"}, {219, "Old Bandage"}, {220, "Sad Bombs"}, {221, "Rubber Cement"}, {222, "Anti-Gravity"}, {223, "Pyromaniac"}, {224, "Cricket's Body"}, {225, "Gimpy"}, {226, "Black Lotus"}, {227, "Piggy Bank"}, {228, "Mom's Perfume"}, {229, "Monstro's Lung"}, {230, "Abaddon"}, {231, "Ball of Tar"}, {232, "Stop Watch"}, {233, "Tiny Planet"}, {234, "Infestation 2"}, {236, "E. Coli"}, {237, "Death's Touch"}, {238, "Key Piece 1"}, {239, "Key Piece 2"}, {240, "Experimental Treatment"}, {241, "Contract from Below"}, {242, "Infamy"}, {243, "Trinity Shield"}, {244, "Tech.5"}, {245, "20/20"}, {246, "Blue Map"}, {247, "BFFS!"}, {248, "Hive Mind"}, {249, "There's Options"}, {250, "BOGO Bombs"}, {251, "Starter Deck"}, {252, "Little Baggy"}, {253, "Magic Scab"}, {254, "Blood Clot"}, {255, "Screw"}, {256, "Hot Bombs"}, {257, "Fire Mind"}, {258, "Missing No."}, {259, "Dark Matter"}, {260, "Black Candle"}, {261, "Proptosis"}, {262, "Missing Page 2"}, {263, "Clear Rune"}, {264, "Smart Fly"}, {265, "Dry Baby"}, {266, "Juicy Sack"}, {267, "Robo-Baby 2.0"}, {268, "Rotten Baby"}, {269, "Headless Baby"}, {270, "Leech"}, {271, "Mystery Sack"}, {272, "BBF"}, {273, "Bob's Brain"}, {274, "Best Bud"}, {275, "Lil Brimstone"}, {276, "Isaac's Heart"}, {277, "Lil Haunt"}, {278, "Dark Bum"}, {279, "Big Fan"}, {280, "Sissy Longlegs"}, {281, "Punching Bag"}, {282, "How to Jump"}, {283, "D100"}, {284, "D4"}, {285, "D10"}, {286, "Blank Card"}, {287, "Book of Secrets"}, {288, "Box of Spiders"}, {289, "Red Candle"}, {290, "The Jar"}, {291, "Flush!"}, {292, "Satanic Bible"}, {293, "Head of Krampus"}, {294, "Butter Bean"}, {295, "Magic Fingers"}, {296, "Converter"}, {297, "Pandora's Box"}, {298, "Unicorn Stump"}, {299, "Taurus"}, {300, "Aries"}, {301, "Cancer"}, {302, "Leo"}, {303, "Virgo"}, {304, "Libra"}, {305, "Scorpio"}, {306, "Sagittarius"}, {307, "Capricorn"}, {308, "Aquarius"}, {309, "Pisces"}, {310, "Eve's Mascara"}, {311, "Judas' Shadow"}, {312, "Maggy's Bow"}, {313, "Holy Mantle"}, {314, "Thunder Thighs"}, {315, "Strange Attractor"}, {316, "Cursed Eye"}, {317, "Mysterious Liquid"}, {318, "Gemini"}, {319, "Cain's Other Eye"}, {320, "???'s Only Friend"}, {321, "Samson's Chains"}, {322, "Mongo Baby"}, {323, "Isaac's Tears"}, {324, "Undefined"}, {325, "Scissors"}, {326, "Breath of Life"}, {327, "The Polaroid"}, {328, "The Negative"}, {329, "The Ludovico Technique"}, {330, "Soy Milk"}, {331, "Godhead"}, {332, "Lazarus' Rags"}, {333, "The Mind"}, {334, "The Body"}, {335, "The Soul"}, {336, "Dead Onion"}, {337, "Broken Watch"}, {338, "The Boomerang"}, {339, "Safety Pin"}, {340, "Caffeine Pill"}, {341, "Torn Photo"}, {342, "Blue Cap"}, {343, "Latch Key"}, {344, "Match Book"}, {345, "Synthoil"}, {346, "A Snack"}, {347, "Diplopia"}, {348, "Placebo"}, {349, "Wooden Nickel"}, {350, "Toxic Shock"}, {351, "Mega Bean"}, {352, "Glass Cannon"}, {353, "Bomber Boy"}, {354, "Crack Jacks"}, {355, "Mom's Pearls"}, {356, "Car Battery"}, {357, "Box of Friends"}, {358, "The Wiz"}, {359, "8 Inch Nails"}, {360, "Incubus"}, {361, "Fate's Reward"}, {362, "Lil Chest"}, {363, "Sworn Protector"}, {364, "Friend Zone"}, {365, "Lost Fly"}, {366, "Scatter Bombs"}, {367, "Sticky Bombs"}, {368, "Epiphora"}, {369, "Continuum"}, {370, "Mr. Dolly"}, {371, "Curse of the Tower"}, {372, "Charged Baby"}, {373, "Dead Eye"}, {374, "Holy Light"}, {375, "Host Hat"}, {376, "Restock"}, {377, "Bursting Sack"}, {378, "Number Two"}, {379, "Pupula Duplex"}, {380, "Pay To Play"}, {381, "Eden's Blessing"}, {382, "Friendly Ball"}, {383, "Tear Detonator"}, {384, "Lil Gurdy"}, {385, "Bumbo"}, {386, "D12"}, {387, "Censer"}, {388, "Key Bum"}, {389, "Rune Bag"}, {390, "Seraphim"}, {391, "Betrayal"}, {392, "Zodiac"}, {393, "Serpent's Kiss"}, {394, "Marked"}, {395, "Tech X"}, {396, "Ventricle Razor"}, {397, "Tractor Beam"}, {398, "God's Flesh"}, {399, "Maw of the Void"}, {400, "Spear of Destiny"}, {401, "Explosivo"}, {402, "Chaos"}, {403, "Spider Mod"}, {404, "Farting Baby"}, {405, "GB Bug"}, {406, "D8"}, {407, "Purity"}, {408, "Athame"}, {409, "Empty Vessel"}, {410, "Evil Eye"}, {411, "Lusty Blood"}, {412, "Cambion Conception"}, {413, "Immaculate Conception"}, {414, "More Options"}, {415, "Crown of Light"}, {416, "Deep Pockets"}, {417, "Succubus"}, {418, "Fruit Cake"}, {419, "Teleport 2.0"}, {420, "Black Powder"}, {421, "Kidney Bean"}, {422, "Glowing Hour Glass"}, {423, "Circle of Protection"}, {424, "Sack Head"}, {425, "Night Light"}, {426, "Obsessed Fan"}, {427, "Mine Crafter"}, {428, "PJs"}, {429, "Head of the Keeper"}, {430, "Papa Fly"}, {431, "Multidimensional Baby"}, {432, "Glitter Bombs"}, {433, "My Shadow"}, {434, "Jar of Flies"}, {435, "Lil Loki"}, {436, "Milk!"}, {437, "D7"}, {438, "Binky"}, {439, "Mom's Box"}, {440, "Kidney Stone"}, {441, "Mega Blast"}, {442, "Dark Prince's Crown"}, {443, "Apple!"}, {444, "Lead Pencil"}, {445, "Dog Tooth"}, {446, "Dead Tooth"}, {447, "Linger Bean"}, {448, "Shard of Glass"}, {449, "Metal Plate"}, {450, "Eye of Greed"}, {451, "Tarot Cloth"}, {452, "Varicose Veins"}, {453, "Compound Fracture"}, {454, "Polydactyly"}, {455, "Dad's Lost Coin"}, {456, "Midnight Snack"}, {457, "Cone Head"}, {458, "Belly Button"}, {459, "Sinus Infection"}, {460, "Glaucoma"}, {461, "Parasitoid"}, {462, "Eye of Belial"}, {463, "Sulfuric Acid"}, {464, "Glyph of Balance"}, {465, "Analog Stick"}, {466, "Contagion"}, {467, "Finger!"}, {468, "Shade"}, {469, "Depression"}, {470, "Hushy"}, {471, "Lil Monstro"}, {472, "King Baby"}, {473, "Big Chubby"}, {474, "Broken Glass Cannon"}, {475, "Plan C"}, {476, "D1"}, {477, "Void"}, {478, "Pause"}, {479, "Smelter"}, {480, "Compost"}, {481, "Dataminer"}, {482, "Clicker"}, {483, "Mama Mega!"}, {484, "Wait What?"}, {485, "Crooked Penny"}, {486, "Dull Razor"}, {487, "Potato Peeler"}, {488, "Metronome"}, {489, "D infinity"}, {490, "Eden's Soul"}, {491, "Acid Baby"}, {492, "YO LISTEN!"}, {493, "Adrenaline"}, {494, "Jacob's Ladder"}, {495, "Ghost Pepper"}, {496, "Euthanasia"}, {497, "Camo Undies"}, {498, "Duality"}, {499, "Eucharist"}, {500, "Sack of Sacks"}, {501, "Greed's Gullet"}, {502, "Large Zit"}, {503, "Little Horn"}, {504, "Brown Nugget"}, {505, "Poke Go"}, {506, "Backstabber"}, {507, "Sharp Straw"}, {508, "Mom's Razor"}, {509, "Bloodshot Eye"}, {510, "Delirious"}, {511, "Angry Fly"}, {512, "Black Hole"}, {513, "Bozo"}, {514, "Broken Modem"}, {515, "Mystery Gift"}, {516, "Sprinkler"}, {517, "Fast Bombs"}, {518, "Buddy in a Box"}, {519, "Lil Delirium"}, {520, "Jumper Cables"}, {521, "Coupon"}, {522, "Telekinesis"}, {523, "Moving Box"}, {524, "Technology Zero"}, {525, "Leprosy"}, {526, "7 Seals"}, {527, "Mr. ME!"}, {528, "Angelic Prism"}, {529, "Pop!"}, {530, "Death's List"}, {531, "Haemolacria"}, {532, "Lachryphagy"}, {533, "Trisagion"}, {534, "Schoolbag"}, {535, "Blanket"}, {536, "Sacrificial Altar"}, {537, "Lil Spewer"}, {538, "Marbles"}, {539, "Mystery Egg"}, {540, "Flat Stone"}, {541, "Marrow"}, {542, "Slipped Rib"}, {543, "Hallowed Ground"}, {544, "Pointy Rib"}, {545, "Book of the Dead"}, {546, "Dad's Ring"}, {547, "Divorce Papers"}, {548, "Jaw Bone"}, {549, "Brittle Bones"}, {550, "Broken Shovel"}, {551, "Broken Shovel"}, {552, "Mom's Shovel"}, {553, "Mucormycosis"}, {554, "2Spooky"}, {555, "Golden Razor"}, {556, "Sulfur"}, {557, "Fortune Cookie"}, {558, "Eye Sore"}, {559, "120 Volt"}, {560, "It Hurts"}, {561, "Almond Milk"}, {562, "Rock Bottom"}, {563, "Nancy Bombs"}, {564, "A Bar of Soap"}, {565, "Blood Puppy"}, {566, "Dream Catcher"}, {567, "Paschal Candle"}, {568, "Divine Intervention"}, {569, "Blood Oath"}, {570, "Playdough Cookie"}, {571, "Orphan Socks"}, {572, "Eye of the Occult"}, {573, "Immaculate Heart"}, {574, "Monstrance"}, {575, "The Intruder"}, {576, "Dirty Mind"}, {577, "Damocles"}, {578, "Free Lemonade"}, {579, "Spirit Sword"}, {580, "Red Key"}, {581, "Psy Fly"}, {582, "Wavy Cap"}, {583, "Rocket in a Jar"}, {584, "Book of Virtues"}, {585, "Alabaster Box"}, {586, "The Stairway"}, {588, "Sol"}, {589, "Luna"}, {590, "Mercurius"}, {591, "Venus"}, {592, "Terra"}, {593, "Mars"}, {594, "Jupiter"}, {595, "Saturnus"}, {596, "Uranus"}, {597, "Neptunus"}, {598, "Pluto"}, {599, "Voodoo Head"}, {600, "Eye Drops"}, {601, "Act of Contrition"}, {602, "Member Card"}, {603, "Battery Pack"}, {604, "Mom's Bracelet"}, {605, "The Scooper"}, {606, "Ocular Rift"}, {607, "Boiled Baby"}, {608, "Freezer Baby"}, {609, "Eternal D6"}, {610, "Bird Cage"}, {611, "Larynx"}, {612, "Lost Soul"}, {614, "Blood Bombs"}, {615, "Lil Dumpy"}, {616, "Bird's Eye"}, {617, "Lodestone"}, {618, "Rotten Tomato"}, {619, "Birthright"}, {621, "Red Stew"}, {622, "Genesis"}, {623, "Sharp Key"}, {624, "Booster Pack"}, {625, "Mega Mush"}, {626, "Knife Piece 1"}, {627, "Knife Piece 2"}, {628, "Death Certificate"}, {629, "Bot Fly"}, {631, "Meat Cleaver"}, {632, "Evil Charm"}, {633, "Dogma"}, {634, "Purgatory"}, {635, "Stitches"}, {636, "R Key"}, {637, "Knockout Drops"}, {638, "Eraser"}, {639, "Yuck Heart"}, {640, "Urn of Souls"}, {641, "Akeldama"}, {642, "Magic Skin"}, {643, "Revelation"}, {644, "Consolation Prize"}, {645, "Tinytoma"}, {646, "Brimstone Bombs"}, {647, "4.5 Volt"}, {649, "Fruity Plum"}, {650, "Plum Flute"}, {651, "Star of Bethlehem"}, {652, "Cube Baby"}, {653, "Vade Retro"}, {654, "False PHD"}, {655, "Spin to Win"}, {656, "Damocles"}, {657, "Vasculitis"}, {658, "Giant Cell"}, {659, "Tropicamide"}, {660, "Card Reading"}, {661, "Quints"}, {663, "Tooth and Nail"}, {664, "Binge Eater"}, {665, "Guppy's Eye"}, {667, "Strawman"}, {668, "Dad's Note"}, {669, "Sausage"}, {670, "Options?"}, {671, "Candy Heart"}, {672, "A Pound of Flesh"}, {673, "Redemption"}, {674, "Spirit Shackles"}, {675, "Cracked Orb"}, {676, "Empty Heart"}, {677, "Astral Projection"}, {678, "C Section"}, {679, "Lil Abaddon"}, {680, "Montezuma's Revenge"}, {681, "Lil Portal"}, {682, "Worm Friend"}, {683, "Bone Spurs"}, {684, "Hungry Soul"}, {685, "Jar of Wisps"}, {686, "Soul Locket"}, {687, "Friend Finder"}, {688, "Inner Child"}, {689, "Glitched Crown"}, {690, "Belly Jelly"}, {691, "Sacred Orb"}, {692, "Sanguine Bond"}, {693, "The Swarm"}, {694, "Heartbreak"}, {695, "Bloody Gust"}, {696, "Salvation"}, {697, "Vanishing Twin"}, {698, "Twisted Pair"}, {699, "Azazel's Rage"}, {700, "Echo Chamber"}, {701, "Isaac's Tomb"}, {702, "Vengeful Spirit"}, {703, "Esau Jr."}, {704, "Berserk!"}, {705, "Dark Arts"}, {706, "Abyss"}, {707, "Supper"}, {708, "Stapler"}, {709, "Suplex!"}, {710, "Bag of Crafting"}, {711, "Flip"}, {712, "Lemegeton"}, {713, "Sumptorium"}, {714, "Recall"}, {715, "Hold"}, {716, "Keeper's Sack"}, {717, "Keeper's Kin"}, {719, "Keeper's Box"}, {720, "Everything Jar"}, {721, "TMTRAINER"}, {722, "Anima Sola"}, {723, "Spindown Dice"}, {724, "Hypercoagulation"}, {725, "IBS"}, {726, "Hemoptysis"}, {727, "Ghost Bombs"}, {728, "Gello"}, {729, "Decap Attack"}, {730, "Glass Eye"}, {731, "Stye"}, {732, "Mom's Ring"}})
5
- return ____exports
@@ -1 +0,0 @@
1
- export declare const COLLECTIBLE_SET: Set<number>;
@@ -1,22 +0,0 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
3
- local ____exports = {}
4
- local ____collectibles = require("functions.collectibles")
5
- local getMaxCollectibleID = ____collectibles.getMaxCollectibleID
6
- local initSet
7
- function initSet(self)
8
- local itemConfig = Isaac.GetItemConfig()
9
- do
10
- local collectibleType = 1
11
- while collectibleType <= getMaxCollectibleID(nil) do
12
- local itemConfigItem = itemConfig:GetCollectible(collectibleType)
13
- if itemConfigItem ~= nil then
14
- ____exports.COLLECTIBLE_SET:add(collectibleType)
15
- end
16
- collectibleType = collectibleType + 1
17
- end
18
- end
19
- end
20
- ____exports.COLLECTIBLE_SET = __TS__New(Set)
21
- initSet(nil)
22
- return ____exports
@@ -1,25 +0,0 @@
1
- /// <reference types="isaac-typescript-definitions" />
2
- /**
3
- * Has an equal chance of returning any card (e.g. Fool, Reverse Fool, Wild Card, etc.). This will
4
- * not return any runes or objects.
5
- */
6
- export declare function getRandomCard(seed?: number): Card;
7
- /**
8
- * Has an equal chance of returning any rune (e.g. Rune of Hagalaz, Blank Rune, Black Rune, Soul of
9
- * Isaac, etc.). This will never return a Rune Shard.
10
- */
11
- export declare function getRandomRune(seed?: number): Card;
12
- /**
13
- * Returns true for entries in the Card enum that are not a rune or an object (e.g. Fool, Reverse
14
- * Fool, Wild Card, etc.).
15
- */
16
- export declare function isCard(card: Card): boolean;
17
- /**
18
- * Returns true for entries in the Card enum that are not a card and not a rune (like Dice Shard).
19
- */
20
- export declare function isNotCardOrRune(card: Card): boolean;
21
- /**
22
- * Returns true for entries in the Card enum that are a rune. (e.g. Rune of Hagalaz, Blank Rune,
23
- * Black Rune, Rune Shard, Soul of Isaac, etc.)
24
- */
25
- export declare function isRune(card: Card): boolean;
@@ -1,41 +0,0 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____exports = {}
3
- local ____random = require("functions.random")
4
- local getRandomInt = ____random.getRandomInt
5
- local nextSeed = ____random.nextSeed
6
- function ____exports.isCard(self, card)
7
- return ____exports.isNotCardOrRune(nil, card) and (not ____exports.isRune(nil, card))
8
- end
9
- function ____exports.isNotCardOrRune(self, card)
10
- return ((card == Card.CARD_DICE_SHARD) or (card == Card.CARD_EMERGENCY_CONTACT)) or (card == Card.CARD_CRACKED_KEY)
11
- end
12
- function ____exports.isRune(self, card)
13
- return (((card >= Card.RUNE_HAGALAZ) and (card <= Card.RUNE_BLACK)) or (card == Card.RUNE_SHARD)) or ((card >= Card.CARD_SOUL_ISAAC) and (card <= Card.CARD_SOUL_JACOB))
14
- end
15
- function ____exports.getRandomCard(self, seed)
16
- if seed == nil then
17
- seed = Random()
18
- end
19
- local card
20
- repeat
21
- do
22
- seed = nextSeed(nil, seed)
23
- card = getRandomInt(nil, 1, Card.NUM_CARDS - 1)
24
- end
25
- until ____exports.isCard(nil, card)
26
- return card
27
- end
28
- function ____exports.getRandomRune(self, seed)
29
- if seed == nil then
30
- seed = Random()
31
- end
32
- local card
33
- repeat
34
- do
35
- seed = nextSeed(nil, seed)
36
- card = getRandomInt(nil, 1, Card.NUM_CARDS - 1)
37
- end
38
- until not ((not ____exports.isRune(nil, card)) or (card == Card.RUNE_SHARD))
39
- return card
40
- end
41
- return ____exports
@@ -1,9 +0,0 @@
1
- /// <reference types="isaac-typescript-definitions" />
2
- /**
3
- * Helper function to put a message in the log.txt file to let the Rebirth Item Tracker know that it
4
- * should remove an item.
5
- *
6
- * The "item tracker" in this function does not refer to the in-game item tracker, but rather to the
7
- * Python program located at: https://github.com/Rchardon/RebirthItemTracker
8
- */
9
- export declare function removeItemFromItemTracker(collectibleType: CollectibleType | int): void;
@@ -1,9 +0,0 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____exports = {}
3
- function ____exports.removeItemFromItemTracker(self, collectibleType)
4
- local itemName = getItemName(nil, collectibleType)
5
- Isaac.DebugString(
6
- ((("Removing voided collectible " .. tostring(collectibleType)) .. " (") .. tostring(itemName)) .. ") from player 0 (Player)"
7
- )
8
- end
9
- return ____exports
@@ -1,2 +0,0 @@
1
- /** Returns a 3-tuple of Language enum value, language name and resource folder suffix. */
2
- export declare function getLanguageName(): string;
@@ -1,8 +0,0 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____exports = {}
3
- local LANGUAGE_NAMES = {en = "English", jp = "Japanese", kr = "Korean", zh = "Chinese (Simple)", ru = "Russian", de = "German", es = "Spanish"}
4
- function ____exports.getLanguageName(self)
5
- local languageAbbreviation = Options.Language
6
- return LANGUAGE_NAMES[languageAbbreviation]
7
- end
8
- return ____exports
@@ -1,7 +0,0 @@
1
- /// <reference types="isaac-typescript-definitions" />
2
- /**
3
- * Helper function to play a sound using the correct volume (with respect to the user's volume
4
- * setting). Use this function over calling `SFXManager().Play()` directly because calling it
5
- * directly will not respect the current volume setting.
6
- */
7
- export declare function playSound(soundEffect: SoundEffect | int): void;
@@ -1,7 +0,0 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____exports = {}
3
- function ____exports.playSound(self, soundEffect)
4
- local sfx = SFXManager()
5
- sfx:Play(soundEffect, Options.SFXVolume)
6
- end
7
- return ____exports
@@ -1,2 +0,0 @@
1
- /// <reference types="isaac-typescript-definitions" />
2
- export declare const GRID_ENTITY_MAP: Map<number, [GridEntityType, number]>;
@@ -1,5 +0,0 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
3
- local ____exports = {}
4
- ____exports.GRID_ENTITY_MAP = __TS__New(Map, {{1000, {GridEntityType.GRID_ROCK, 0}}, {1001, {GridEntityType.GRID_ROCK_BOMB, 0}}, {1002, {GridEntityType.GRID_ROCK_ALT, 0}}, {1008, {GridEntityType.GRID_ROCK_ALT2, 0}}, {1010, {GridEntityType.GRID_ROCK_SPIKED, 0}}, {1011, {GridEntityType.GRID_ROCK_GOLD, 0}}, {1300, {GridEntityType.GRID_TNT, 0}}, {1490, {GridEntityType.GRID_POOP, 1}}, {1494, {GridEntityType.GRID_POOP, 4}}, {1495, {GridEntityType.GRID_POOP, 2}}, {1496, {GridEntityType.GRID_POOP, 3}}, {1497, {GridEntityType.GRID_POOP, 5}}, {1498, {GridEntityType.GRID_POOP, 6}}, {1499, {GridEntityType.GRID_POOP, 7}}, {1500, {GridEntityType.GRID_POOP, 0}}, {1501, {GridEntityType.GRID_POOP, 11}}, {1900, {GridEntityType.GRID_ROCKB, 0}}, {1901, {GridEntityType.GRID_PILLAR, 0}}, {1930, {GridEntityType.GRID_SPIKES, 0}}, {1931, {GridEntityType.GRID_SPIKES_ONOFF, 0}}, {1940, {GridEntityType.GRID_SPIDERWEB, 0}}, {1999, {GridEntityType.GRID_WALL, 0}}, {3000, {GridEntityType.GRID_PIT, 0}}, {3009, {GridEntityType.GRID_PIT, 0}}, {4000, {GridEntityType.GRID_LOCK, 0}}, {4500, {GridEntityType.GRID_PRESSURE_PLATE, 0}}, {5000, {GridEntityType.GRID_STATUE, 0}}, {5001, {GridEntityType.GRID_STATUE, 1}}, {6100, {GridEntityType.GRID_TELEPORTER, 0}}, {9000, {GridEntityType.GRID_TRAPDOOR, 0}}, {9100, {GridEntityType.GRID_STAIRS, 0}}, {10000, {GridEntityType.GRID_GRAVITY, 0}}})
5
- return ____exports
@@ -1,2 +0,0 @@
1
- /// <reference types="isaac-typescript-definitions" />
2
- export declare const ROOM_TYPE_TO_ITEM_POOL_TYPE_MAP: Map<RoomType, ItemPoolType>;
@@ -1,19 +0,0 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
3
- local ____exports = {}
4
- ____exports.ROOM_TYPE_TO_ITEM_POOL_TYPE_MAP = __TS__New(Map, {
5
- {RoomType.ROOM_SHOP, ItemPoolType.POOL_SHOP},
6
- {RoomType.ROOM_TREASURE, ItemPoolType.POOL_TREASURE},
7
- {RoomType.ROOM_BOSS, ItemPoolType.POOL_BOSS},
8
- {RoomType.ROOM_SECRET, ItemPoolType.POOL_SECRET},
9
- {RoomType.ROOM_CURSE, ItemPoolType.POOL_CURSE},
10
- {RoomType.ROOM_CHALLENGE, ItemPoolType.POOL_BOSS},
11
- {RoomType.ROOM_LIBRARY, ItemPoolType.POOL_LIBRARY},
12
- {RoomType.ROOM_DEVIL, ItemPoolType.POOL_DEVIL},
13
- {RoomType.ROOM_ANGEL, ItemPoolType.POOL_ANGEL},
14
- {RoomType.ROOM_CHEST, ItemPoolType.POOL_GOLDEN_CHEST},
15
- {RoomType.ROOM_BLACK_MARKET, ItemPoolType.POOL_SHOP},
16
- {RoomType.ROOM_PLANETARIUM, ItemPoolType.POOL_PLANETARIUM},
17
- {RoomType.ROOM_ULTRASECRET, ItemPoolType.POOL_ULTRA_SECRET}
18
- })
19
- return ____exports
@@ -1,5 +0,0 @@
1
- /// <reference types="isaac-typescript-definitions" />
2
- export declare const TRANSFORMATION_TO_TAG_MAP: Map<PlayerForm, ItemConfigTag>;
3
- export declare const TRANSFORMATIONS_NOT_BASED_ON_ITEMS: Set<PlayerForm>;
4
- export declare const TRANSFORMATION_TO_ITEMS_MAP: Map<PlayerForm, Set<number>>;
5
- export declare const ITEM_TO_TRANSFORMATION_MAP: Map<number, Set<PlayerForm>>;
@@ -1,56 +0,0 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
3
- local ____exports = {}
4
- local initMaps
5
- local ____collectibles = require("functions.collectibles")
6
- local collectibleHasTag = ____collectibles.collectibleHasTag
7
- local getMaxCollectibleID = ____collectibles.getMaxCollectibleID
8
- function initMaps(self)
9
- for ____, playerForm in __TS__Iterator(
10
- ____exports.TRANSFORMATION_TO_TAG_MAP:keys()
11
- ) do
12
- ____exports.TRANSFORMATION_TO_ITEMS_MAP:set(
13
- playerForm,
14
- __TS__New(Set)
15
- )
16
- end
17
- do
18
- local collectibleType = 1
19
- while collectibleType <= getMaxCollectibleID(nil) do
20
- for ____, ____value in __TS__Iterator(
21
- ____exports.TRANSFORMATION_TO_TAG_MAP:entries()
22
- ) do
23
- local playerForm
24
- playerForm = ____value[1]
25
- local tag
26
- tag = ____value[2]
27
- do
28
- if not collectibleHasTag(nil, collectibleType, tag) then
29
- goto __continue5
30
- end
31
- local items = ____exports.TRANSFORMATION_TO_ITEMS_MAP:get(playerForm)
32
- if items == nil then
33
- error(
34
- "Failed to get the items for transformation: " .. tostring(playerForm)
35
- )
36
- end
37
- items:add(collectibleType)
38
- local transformations = ____exports.ITEM_TO_TRANSFORMATION_MAP:get(collectibleType)
39
- if transformations == nil then
40
- transformations = __TS__New(Set)
41
- ____exports.ITEM_TO_TRANSFORMATION_MAP:set(collectibleType, transformations)
42
- end
43
- transformations:add(playerForm)
44
- end
45
- ::__continue5::
46
- end
47
- collectibleType = collectibleType + 1
48
- end
49
- end
50
- end
51
- ____exports.TRANSFORMATION_TO_TAG_MAP = __TS__New(Map, {{PlayerForm.PLAYERFORM_GUPPY, 32}, {PlayerForm.PLAYERFORM_LORD_OF_THE_FLIES, 64}, {PlayerForm.PLAYERFORM_MUSHROOM, 256}, {PlayerForm.PLAYERFORM_ANGEL, 1024}, {PlayerForm.PLAYERFORM_BOB, 128}, {PlayerForm.PLAYERFORM_DRUGS, 2}, {PlayerForm.PLAYERFORM_MOM, 4}, {PlayerForm.PLAYERFORM_BABY, 512}, {PlayerForm.PLAYERFORM_EVIL_ANGEL, 2048}, {PlayerForm.PLAYERFORM_POOP, 4096}, {PlayerForm.PLAYERFORM_BOOK_WORM, 8192}, {PlayerForm.PLAYERFORM_SPIDERBABY, 16384}})
52
- ____exports.TRANSFORMATIONS_NOT_BASED_ON_ITEMS = __TS__New(Set, {PlayerForm.PLAYERFORM_ADULTHOOD, PlayerForm.PLAYERFORM_STOMPY, PlayerForm.PLAYERFORM_FLIGHT})
53
- ____exports.TRANSFORMATION_TO_ITEMS_MAP = __TS__New(Map)
54
- ____exports.ITEM_TO_TRANSFORMATION_MAP = __TS__New(Map)
55
- initMaps(nil)
56
- return ____exports
@@ -1 +0,0 @@
1
- export {};
@@ -1,45 +0,0 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____exports = {}
3
- local printForLuaDebug, getPrintMsg, getValueToPrint
4
- local ____util = require("functions.util")
5
- local isLuaDebugEnabled = ____util.isLuaDebugEnabled
6
- local ____vector = require("functions.vector")
7
- local isVector = ____vector.isVector
8
- function printForLuaDebug(...)
9
- local args = {...}
10
- local msg = getPrintMsg(nil, args)
11
- Isaac.DebugString(msg)
12
- local msgWithNewline = msg .. "\n"
13
- Isaac.ConsoleOutput(msgWithNewline)
14
- end
15
- function getPrintMsg(self, args)
16
- if #args == 0 then
17
- return tostring(nil)
18
- end
19
- local msg = ""
20
- for ____, arg in ipairs(args) do
21
- if msg ~= "" then
22
- msg = msg .. " "
23
- end
24
- msg = msg .. getValueToPrint(nil, arg)
25
- end
26
- return msg
27
- end
28
- function getValueToPrint(self, arg)
29
- if isVector(nil, arg) then
30
- local vector = arg
31
- return ((("Vector(" .. tostring(vector.X)) .. ", ") .. tostring(vector.Y)) .. ")"
32
- end
33
- return tostring(arg)
34
- end
35
- function ____exports.patchPrintFunction(self)
36
- if not isLuaDebugEnabled(nil) then
37
- return
38
- end
39
- if __PATCHED_PRINT ~= nil then
40
- return
41
- end
42
- __PATCHED_PRINT = true
43
- print = printForLuaDebug
44
- end
45
- return ____exports
@@ -1,2 +0,0 @@
1
- /// <reference types="isaac-typescript-definitions" />
2
- export declare const PILL_EFFECT_NAME_MAP: Map<PillEffect, string>;
@@ -1,5 +0,0 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
3
- local ____exports = {}
4
- ____exports.PILL_EFFECT_NAME_MAP = __TS__New(Map, {{PillEffect.PILLEFFECT_BAD_GAS, "Bad Gas"}, {PillEffect.PILLEFFECT_BAD_TRIP, "Bad Trip"}, {PillEffect.PILLEFFECT_BALLS_OF_STEEL, "Balls of Steel"}, {PillEffect.PILLEFFECT_BOMBS_ARE_KEYS, "Bombs Are Key"}, {PillEffect.PILLEFFECT_EXPLOSIVE_DIARRHEA, "Explosive Diarrhea"}, {PillEffect.PILLEFFECT_FULL_HEALTH, "Full Health"}, {PillEffect.PILLEFFECT_HEALTH_DOWN, "Health Down"}, {PillEffect.PILLEFFECT_HEALTH_UP, "Health Up"}, {PillEffect.PILLEFFECT_I_FOUND_PILLS, "I Found Pills"}, {PillEffect.PILLEFFECT_PUBERTY, "Puberty"}, {PillEffect.PILLEFFECT_PRETTY_FLY, "Pretty Fly"}, {PillEffect.PILLEFFECT_RANGE_DOWN, "Range Down"}, {PillEffect.PILLEFFECT_RANGE_UP, "Range Up"}, {PillEffect.PILLEFFECT_SPEED_DOWN, "Speed Down"}, {PillEffect.PILLEFFECT_SPEED_UP, "Speed Up"}, {PillEffect.PILLEFFECT_TEARS_DOWN, "Tears Down"}, {PillEffect.PILLEFFECT_TEARS_UP, "Tears Up"}, {PillEffect.PILLEFFECT_LUCK_DOWN, "Luck Down"}, {PillEffect.PILLEFFECT_LUCK_UP, "Luck Up"}, {PillEffect.PILLEFFECT_TELEPILLS, "Telepills"}, {PillEffect.PILLEFFECT_48HOUR_ENERGY, "48 Hour Energy"}, {PillEffect.PILLEFFECT_HEMATEMESIS, "Hematemesis"}, {PillEffect.PILLEFFECT_PARALYSIS, "Paralysis"}, {PillEffect.PILLEFFECT_SEE_FOREVER, "I can see forever!"}, {PillEffect.PILLEFFECT_PHEROMONES, "Pheromones"}, {PillEffect.PILLEFFECT_AMNESIA, "Amnesia"}, {PillEffect.PILLEFFECT_LEMON_PARTY, "Lemon Party"}, {PillEffect.PILLEFFECT_WIZARD, "R U a Wizard?"}, {PillEffect.PILLEFFECT_PERCS, "Percs!"}, {PillEffect.PILLEFFECT_ADDICTED, "Addicted!"}, {PillEffect.PILLEFFECT_RELAX, "Re-Lax"}, {PillEffect.PILLEFFECT_QUESTIONMARK, "???"}, {PillEffect.PILLEFFECT_LARGER, "One makes you larger"}, {PillEffect.PILLEFFECT_SMALLER, "One makes you small"}, {PillEffect.PILLEFFECT_INFESTED_EXCLAMATION, "Infested!"}, {PillEffect.PILLEFFECT_INFESTED_QUESTION, "Infested?"}, {PillEffect.PILLEFFECT_POWER, "Power Pill!"}, {PillEffect.PILLEFFECT_RETRO_VISION, "Retro Vision"}, {PillEffect.PILLEFFECT_FRIENDS_TILL_THE_END, "Friends Till The End!"}, {PillEffect.PILLEFFECT_X_LAX, "X-Lax"}, {PillEffect.PILLEFFECT_SOMETHINGS_WRONG, "Something's wrong..."}, {PillEffect.PILLEFFECT_IM_DROWSY, "I'm Drowsy..."}, {PillEffect.PILLEFFECT_IM_EXCITED, "I'm Excited!!!"}, {PillEffect.PILLEFFECT_GULP, "Gulp!"}, {PillEffect.PILLEFFECT_HORF, "Horf!"}, {PillEffect.PILLEFFECT_SUNSHINE, "Feels like I'm walking on sunshine!"}, {PillEffect.PILLEFFECT_VURP, "Vurp!"}, {PillEffect.PILLEFFECT_SHOT_SPEED_DOWN, "Shot Speed Down"}, {PillEffect.PILLEFFECT_SHOT_SPEED_UP, "Shot Speed Up"}, {PillEffect.PILLEFFECT_EXPERIMENTAL, "Experimental Pill"}})
5
- return ____exports
@@ -1,5 +0,0 @@
1
- /// <reference types="isaac-typescript-definitions" />
2
- export declare const TRANSFORMATION_TO_TAG_MAP: Map<PlayerForm, ItemConfigTag>;
3
- export declare const TRANSFORMATIONS_NOT_BASED_ON_ITEMS: Set<PlayerForm>;
4
- export declare const TRANSFORMATION_TO_ITEMS_MAP: Map<PlayerForm, Set<number>>;
5
- export declare const ITEM_TO_TRANSFORMATION_MAP: Map<number, Set<PlayerForm>>;
@@ -1,56 +0,0 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
3
- local ____exports = {}
4
- local initMaps
5
- local ____collectibles = require("functions.collectibles")
6
- local collectibleHasTag = ____collectibles.collectibleHasTag
7
- local getMaxCollectibleID = ____collectibles.getMaxCollectibleID
8
- function initMaps(self)
9
- for ____, playerForm in __TS__Iterator(
10
- ____exports.TRANSFORMATION_TO_TAG_MAP:keys()
11
- ) do
12
- ____exports.TRANSFORMATION_TO_ITEMS_MAP:set(
13
- playerForm,
14
- __TS__New(Set)
15
- )
16
- end
17
- do
18
- local collectibleType = 1
19
- while collectibleType <= getMaxCollectibleID(nil) do
20
- for ____, ____value in __TS__Iterator(
21
- ____exports.TRANSFORMATION_TO_TAG_MAP:entries()
22
- ) do
23
- local playerForm
24
- playerForm = ____value[1]
25
- local tag
26
- tag = ____value[2]
27
- do
28
- if not collectibleHasTag(nil, collectibleType, tag) then
29
- goto __continue5
30
- end
31
- local items = ____exports.TRANSFORMATION_TO_ITEMS_MAP:get(playerForm)
32
- if items == nil then
33
- error(
34
- "Failed to get the items for transformation: " .. tostring(playerForm)
35
- )
36
- end
37
- items:add(collectibleType)
38
- local transformations = ____exports.ITEM_TO_TRANSFORMATION_MAP:get(collectibleType)
39
- if transformations == nil then
40
- transformations = __TS__New(Set)
41
- ____exports.ITEM_TO_TRANSFORMATION_MAP:set(collectibleType, transformations)
42
- end
43
- transformations:add(playerForm)
44
- end
45
- ::__continue5::
46
- end
47
- collectibleType = collectibleType + 1
48
- end
49
- end
50
- end
51
- ____exports.TRANSFORMATION_TO_TAG_MAP = __TS__New(Map, {{PlayerForm.PLAYERFORM_GUPPY, 32}, {PlayerForm.PLAYERFORM_LORD_OF_THE_FLIES, 64}, {PlayerForm.PLAYERFORM_MUSHROOM, 256}, {PlayerForm.PLAYERFORM_ANGEL, 1024}, {PlayerForm.PLAYERFORM_BOB, 128}, {PlayerForm.PLAYERFORM_DRUGS, 2}, {PlayerForm.PLAYERFORM_MOM, 4}, {PlayerForm.PLAYERFORM_BABY, 512}, {PlayerForm.PLAYERFORM_EVIL_ANGEL, 2048}, {PlayerForm.PLAYERFORM_POOP, 4096}, {PlayerForm.PLAYERFORM_BOOK_WORM, 8192}, {PlayerForm.PLAYERFORM_SPIDERBABY, 16384}})
52
- ____exports.TRANSFORMATIONS_NOT_BASED_ON_ITEMS = __TS__New(Set, {PlayerForm.PLAYERFORM_ADULTHOOD, PlayerForm.PLAYERFORM_STOMPY, PlayerForm.PLAYERFORM_FLIGHT})
53
- ____exports.TRANSFORMATION_TO_ITEMS_MAP = __TS__New(Map)
54
- ____exports.ITEM_TO_TRANSFORMATION_MAP = __TS__New(Map)
55
- initMaps(nil)
56
- return ____exports
@@ -1,2 +0,0 @@
1
- /// <reference types="isaac-typescript-definitions" />
2
- export declare const TRINKET_NAME_MAP: Map<TrinketType, string>;
@@ -1,5 +0,0 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
3
- local ____exports = {}
4
- ____exports.TRINKET_NAME_MAP = __TS__New(Map, {{1, "Swallowed Penny"}, {2, "Petrified Poop"}, {3, "AAA Battery"}, {4, "Broken Remote"}, {5, "Purple Heart"}, {6, "Broken Magnet"}, {7, "Rosary Bead"}, {8, "Cartridge"}, {9, "Pulse Worm"}, {10, "Wiggle Worm"}, {11, "Ring Worm"}, {12, "Flat Worm"}, {13, "Store Credit"}, {14, "Callus"}, {15, "Lucky Rock"}, {16, "Mom's Toenail"}, {17, "Black Lipstick"}, {18, "Bible Tract"}, {19, "Paper Clip"}, {20, "Monkey Paw"}, {21, "Mysterious Paper"}, {22, "Daemon's Tail"}, {23, "Missing Poster"}, {24, "Butt Penny"}, {25, "Mysterious Candy"}, {26, "Hook Worm"}, {27, "Whip Worm"}, {28, "Broken Ankh"}, {29, "Fish Head"}, {30, "Pinky Eye"}, {31, "Push Pin"}, {32, "Liberty Cap"}, {33, "Umbilical Cord"}, {34, "Child's Heart"}, {35, "Curved Horn"}, {36, "Rusted Key"}, {37, "Goat Hoof"}, {38, "Mom's Pearl"}, {39, "Cancer"}, {40, "Red Patch"}, {41, "Match Stick"}, {42, "Lucky Toe"}, {43, "Cursed Skull"}, {44, "Safety Cap"}, {45, "Ace of Spades"}, {46, "Isaac's Fork"}, {48, "A Missing Page"}, {49, "Bloody Penny"}, {50, "Burnt Penny"}, {51, "Flat Penny"}, {52, "Counterfeit Penny"}, {53, "Tick"}, {54, "Isaac's Head"}, {55, "Maggy's Faith"}, {56, "Judas' Tongue"}, {57, "???'s Soul"}, {58, "Samson's Lock"}, {59, "Cain's Eye"}, {60, "Eve's Bird Foot"}, {61, "The Left Hand"}, {62, "Shiny Rock"}, {63, "Safety Scissors"}, {64, "Rainbow Worm"}, {65, "Tape Worm"}, {66, "Lazy Worm"}, {67, "Cracked Dice"}, {68, "Super Magnet"}, {69, "Faded Polaroid"}, {70, "Louse"}, {71, "Bob's Bladder"}, {72, "Watch Battery"}, {73, "Blasting Cap"}, {74, "Stud Finder"}, {75, "Error"}, {76, "Poker Chip"}, {77, "Blister"}, {78, "Second Hand"}, {79, "Endless Nameless"}, {80, "Black Feather"}, {81, "Blind Rage"}, {82, "Golden Horse Shoe"}, {83, "Store Key"}, {84, "Rib of Greed"}, {85, "Karma"}, {86, "Lil Larva"}, {87, "Mom's Locket"}, {88, "NO!"}, {89, "Child Leash"}, {90, "Brown Cap"}, {91, "Meconium"}, {92, "Cracked Crown"}, {93, "Used Diaper"}, {94, "Fish Tail"}, {95, "Black Tooth"}, {96, "Ouroboros Worm"}, {97, "Tonsil"}, {98, "Nose Goblin"}, {99, "Super Ball"}, {100, "Vibrant Bulb"}, {101, "Dim Bulb"}, {102, "Fragmented Card"}, {103, "Equality!"}, {104, "Wish Bone"}, {105, "Bag Lunch"}, {106, "Lost Cork"}, {107, "Crow Heart"}, {108, "Walnut"}, {109, "Duct Tape"}, {110, "Silver Dollar"}, {111, "Bloody Crown"}, {112, "Pay To Win"}, {113, "Locust of War"}, {114, "Locust of Pestilence"}, {115, "Locust of Famine"}, {116, "Locust of Death"}, {117, "Locust of Conquest"}, {118, "Bat Wing"}, {119, "Stem Cell"}, {120, "Hairpin"}, {121, "Wooden Cross"}, {122, "Butter!"}, {123, "Filigree Feather"}, {124, "Door Stop"}, {125, "Extension Cord"}, {126, "Rotten Penny"}, {127, "Baby-Bender"}, {128, "Finger Bone"}, {129, "Jawbreaker"}, {130, "Chewed Pen"}, {131, "Blessed Penny"}, {132, "Broken Syringe"}, {133, "Short Fuse"}, {134, "Gigante Bean"}, {135, "A Lighter"}, {136, "Broken Padlock"}, {137, "Myosotis"}, {138, " 'M"}, {139, "Teardrop Charm"}, {140, "Apple of Sodom"}, {141, "Forgotten Lullaby"}, {142, "Beth's Faith"}, {143, "Old Capacitor"}, {144, "Brain Worm"}, {145, "Perfection"}, {146, "Devil's Crown"}, {147, "Charged Penny"}, {148, "Friendship Necklace"}, {149, "Panic Button"}, {150, "Blue Key"}, {151, "Flat File"}, {152, "Telescope Lens"}, {153, "Mom's Lock"}, {154, "Dice Bag"}, {155, "Holy Crown"}, {156, "Mother's Kiss"}, {157, "Torn Card"}, {158, "Torn Pocket"}, {159, "Gilded Key"}, {160, "Lucky Sack"}, {161, "Wicked Crown"}, {162, "Azazel's Stump"}, {163, "Dingle Berry"}, {164, "Ring Cap"}, {165, "Nuh Uh!"}, {166, "Modeling Clay"}, {167, "Polished Bone"}, {168, "Hollow Heart"}, {169, "Kid's Drawing"}, {170, "Crystal Key"}, {171, "Keeper's Bargain"}, {172, "Cursed Penny"}, {173, "Your Soul"}, {174, "Number Magnet"}, {175, "Strange Key"}, {176, "Lil Clot"}, {177, "Temporary Tattoo"}, {178, "Swallowed M80"}, {179, "RC Remote"}, {180, "Found Soul"}, {181, "Expansion Pack"}, {182, "Beth's Essence"}, {183, "The Twins"}, {184, "Adoption Papers"}, {185, "Cricket Leg"}, {186, "Apollyon's Best Friend"}, {187, "Broken Glasses"}, {188, "Ice Cube"}, {189, "Sigil of Baphomet"}})
5
- return ____exports