From 864273dee492ede31492c502eb4626530f6f8639 Mon Sep 17 00:00:00 2001 From: MartinFierroWasTaken Date: Sat, 27 Sep 2025 07:05:16 -0300 Subject: [PATCH] en_us: v1.9.7.13's golden trinket effects (#917) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * en_us: added v1.9.7.13's golden trinket effects Changes to the Rep+ File: * Added trinket description for: - "A Lighter" * Updated the descriptions of: - "Purple Heart" - "Louse" - "Karma" - "Tonsil" * Updated the "goldTrinketEffects" description of: - "A Lighter" * Added "goldenTrinketEffect" descriptions for: - "Purple Heart" - "Callus" - "Paper Clip" - "Mysterious Paper" - "Daemon's Tail" - "Broken Ankh" - "Pinky Eye" - "Push Pin" - "Umbilical Cord" - "Child's Heart" - "Rusted Key" - "Mom's Pearl" - "Red Patch" - "Match Stick" - "Cursed Skull" - "Safety Cap" - "Ace of Spades" - "Bloddy Penny" - "Burnt Penny" - "Flat Penny" - "Counterfeit Penny" - "Isaac's Head" - "Judas' Tongue" - "???'s Soul" - "Samson's Lock" - "Eve's Bird Foot" - "The Left Hand" - "Shiny Rock" - "Safety Scissors" - "Cracked Dice" - "Super Magnet" - "Louse" - "Bob's Bladder" - "Poker Chip" - "Endless Nameless" - "Store Key" - "Rib of Greed" - "Karma" - "Mom's Locket" - "Child Leash" - "Meconium" - "Used Diaper" - "Fish Tail" - "Black Tooth" - "Tonsil" - "Nose Goblin" - "Super Ball" - "Fragmented Card" - "Equality!" - "Wish Bone" - "Bag Lunch" - "Crow Heart" - "Wallnut" - "Duct Tape" - "Silver Dollar" - "Bloody Crown" - "Pay To Win" - "Locust of War" - "Locust of Pestilence" - "Locust of Famine" - "Locust of Death" - "Locust of Conquest" - "Bat Wing" - "Stem Cell" - "Hairpin" - "Wooden Cross" - "Butter!" - "Filigree Feather" - "Door Stop" - "Extension Cord" - "Rotten Penny" - "Baby-Bender" - "Finger Bone" - "Jawbreaker" - "Chewed Pen" - "Blessed Penny" - "Short Fuse" - "Gigante Bean" - "A Lighter" - "Broken Padlock" - "Myosotis" - "'M" - "Apple of Sodom" - "Forgotten Lullaby" - "Brain Worm" - "Devil’s Crown" - "Charged Penny" - "Friendship Necklace" - "Panic Button" - "Blue Key" - "Flat File" - "Telescope Lens" - "Holy Crown" - "Torn Card" - "Torn Pocket" - "Gilded Key" - "Wicked Crown" - "Nuh Uh!" - "Polished Bone" - "Keeper’s Bargain" - "Cursed Penny" - "Your Soul" - "Number Magnet" - "Strange Key" - "Temporary Tattoo" - "RC Remote" - "Found Soul" - "Expansion Pack" - "Beth’s Essence" - "Adoption Papers" - "Ice Cube" - "Sigil of Baphomet" * en_us: expanded descriptions and minor corrections Changes to the AB+ File: * Updated the trinket descriptions of: - "Samson's Lock" - "Tonsil" - "Nose Goblin" - "Wooden Cross" * en_us: Trinkets expanded info and minor corrections Changes to the Rep File: * Updated the trinket descriptions of: - "Nose Goblin" - "Crow Heart" - "Forgotten Lullaby" * en_us: Match Stick fix * en_us: minor corrections * Update eid_modifiers.lua * remove s * lowercase c, update gilded key icons * Black Lipstick chance 5% * Many changes to new golden trinket info * Move Bulb info here * Black Lipstick chance 10% * Black Lipstick chance 10% * Update eid_data.lua * Toenail update, Samson's Lock update * markup + minor tweaks * Mom's Toenail: replaced"stomp" with "location" * allow findReplace to be 2 entries * these can be 2 entries again * azazel stump 33% * azazel stump 33 50 100 * added Rep+ GoldenTrinketData for some trinkets + organized rep GoldenTrinketData * added "Super Ball" luck changes + moved some numerical trinket values to eid_data file --------- Co-authored-by: Buurazu --- descriptions/ab+/en_us.lua | 10 +- descriptions/rep+/en_us.lua | 334 ++++++++++++++++++++++++++++++++++-- descriptions/rep/en_us.lua | 10 +- features/eid_data.lua | 138 ++++++++++++--- features/eid_modifiers.lua | 21 ++- 5 files changed, 462 insertions(+), 51 deletions(-) diff --git a/descriptions/ab+/en_us.lua b/descriptions/ab+/en_us.lua index 20115dc9..8c280c0f 100644 --- a/descriptions/ab+/en_us.lua +++ b/descriptions/ab+/en_us.lua @@ -754,7 +754,7 @@ EID.descriptions[languageCode].trinkets={ {"14", "Callus", "Immune to creep and floor spikes"}, -- Callus {"15", "Lucky Rock", "{{Coin}} Destroying rocks spawns coins"}, -- Lucky Rock {"16", "Mom's Toenail", "Mom's Foot stomps a random spot in the room every 60 seconds"}, -- Mom's Toenail - {"17", "Black Lipstick", "{{BlackHeart}} +5% chance for random Soul Hearts to spawn as Black Hearts"}, -- Black Lipstick + {"17", "Black Lipstick", "{{BlackHeart}} +10% chance for random Soul Hearts to spawn as Black Hearts"}, -- Black Lipstick {"18", "Bible Tract", "{{EternalHeart}} +3% chance for Eternal Hearts"}, -- Bible Tract {"19", "Paper Clip", "{{GoldenChest}} Gold chests can be opened for free"}, -- Paper Clip {"20", "Monkey Paw", "{{BlackHeart}} Spawns 1 Black Heart when Isaac's health is reduced to half a heart#{{Warning}} Disappears after spawning 3 Black Hearts"}, -- Monkey Paw @@ -795,7 +795,7 @@ EID.descriptions[languageCode].trinkets={ {"55", "Maggy's Faith", "{{EternalHeart}} Entering a new floor grants +1 Eternal Heart"}, -- Maggy's Faith {"56", "Judas' Tongue", "{{DevilRoom}} Reduces all devil deal prices to 1 heart container#Doesn't reduce 3 Soul Heart prices"}, -- Judas' Tongue {"57", "???'s Soul", "Familiar that bounces around the room#Shoots in the same direction as Isaac#Deals 3.5 damage per tear"}, -- ???'s Soul - {"58", "Samson's Lock", "{{Timer}} Killing an enemy has a 1/15 chance to grant ↑ {{Damage}} +0.5 damage for the room#{{Luck}} 100% chance at 10 luck"}, -- Samson's Lock + {"58", "Samson's Lock", "{{Timer}} Killing an enemy has a 6.66% chance to grant ↑ {{Damage}} +0.5 damage for the room#{{Luck}} 100% chance at 10 luck"}, -- Samson's Lock {"59", "Cain's Eye", "Entering a new floor has a 25% chance to reveal map icons#{{Luck}} 100% chance at 3 luck"}, -- Cain's Eye {"60", "Eve's Bird Foot", "{{Collectible117}} Killing an enemy has a 5% chance to spawn a Dead Bird#{{Luck}} 100% chance at 8 luck"}, -- Eve's Bird Foot {"61", "The Left Hand", "{{RedChest}} Turns all chests into Red Chests"}, -- The Left Hand @@ -834,8 +834,8 @@ EID.descriptions[languageCode].trinkets={ {"94", "Fish Tail", "Doubles all blue fly / spider spawns"}, -- Fish Tail {"95", "Black Tooth", "{{Poison}} 3% chance to shoot poison tooth tears#The tooth deals 2x Isaac's damage"}, -- Black Tooth {"96", "Ouroboros Worm", "↑ {{Range}} +4 Range#↑ +2 Tear height#Spectral tears#Chance for homing tears#{{Luck}} 100% chance at 9 luck#Isaac's tears move quickly in a spiral pattern"}, -- Ouroboros Worm - {"97", "Tonsil", "Taking damage 12-20 times spawns a projectile blocking familiar#Caps at 2 familiars"}, -- Tonsil - {"98", "Nose Goblin", "10% chance to shoot homing sticky tears#{{Damage}} Boogers deal Isaac's damage once per second#Boogers stick for 60 seconds"}, -- Nose Goblin + {"97", "Tonsil", "Taking damage 12-20 times spawns a projectile blocking familiar#Disappears after spawning 2 familiars"}, -- Tonsil + {"98", "Nose Goblin", "10% chance to shoot a sticky tear#50% chance for it to be homing#{{Damage}} Boogers deal Isaac's damage once per second#Boogers stick for 60 seconds"}, -- Nose Goblin {"99", "Super Ball", "10% chance to shoot bouncing tears"}, -- Super Ball {"100", "Vibrant Bulb", "Holding a fully charged active item grants:#↑ {{Speed}} +0.25 Speed#↑ {{Tears}} +0.2 Tears#↑ {{Damage}} +0.5 Damage#↑ {{Range}} +0.75 Range#↑ {{Shotspeed}} +0.1 Shot speed#↑ {{Luck}} +1 Luck"}, -- Vibrant Bulb {"101", "Dim Bulb", "Holding a completely uncharged active item grants:#↑ {{Speed}} +0.5 Speed#↑ {{Tears}} +0.4 Tears#↑ {{Damage}} +1.5 Damage#↑ {{Range}} +1.5 Range#↑ {{Shotspeed}} +0.3 Shot speed#↑ {{Luck}} +2 Luck"}, -- Dim Bulb @@ -858,7 +858,7 @@ EID.descriptions[languageCode].trinkets={ {"118", "Bat Wing", "{{Timer}} Killing an enemy has a 5% chance to grant flight for the room"}, -- Bat Wing {"119", "Stem Cell", "{{HealingRed}} Entering a new floor heals half a heart"}, -- Stem Cell {"120", "Hairpin", "{{Battery}} Entering an uncleared boss room fully recharges active items"}, -- Hairpin - {"121", "Wooden Cross", "{{Collectible313}} Negates the first damage taken on the floor"}, -- Wooden Cross + {"121", "Wooden Cross", "{{Collectible313}} Grants a Holy shield that prevents damage once per floor"}, -- Wooden Cross {"122", "Butter!", "Using an active item drops it on a pedestal on the ground#Taking damage has a 2% chance to drop one of Isaac's passive items"}, -- Butter! {"123", "Filigree Feather", "Angel bosses drop angel items instead of Key Pieces"}, -- Filigree Feather {"124", "Door Stop", "The last door used stays open"}, -- Door Stop diff --git a/descriptions/rep+/en_us.lua b/descriptions/rep+/en_us.lua index a0b69063..9c71a20e 100644 --- a/descriptions/rep+/en_us.lua +++ b/descriptions/rep+/en_us.lua @@ -72,11 +72,11 @@ EID:updateDescriptionsViaTable(collectibles, EID.descriptions[languageCode].coll local trinkets = { -- Change: Added champion loot information - [5] = {"5", "Purple Heart", "2x chance for champion enemies#Champion enemies drop more loot"}, -- Purple Heart + [5] = {"5", "Purple Heart", "2x chance for champion enemies#50% chance for champion enemies to drop loot#Doubles champion enemy loot"}, -- Purple Heart -- Change: Added info about devil deals [7] = { "7", "Rosary Bead", "{{AngelChance}} 50% higher Angel Room chance#{{Collectible33}} Higher chance to find The Bible in {{Shop}} Shops and {{Library}} Libraries#Forces {{DevilChance}}Devil Deals to be {{AngelChance}}Angel Deals"}, -- Rosary Bead -- Change: added info about dropping the item - [16] = {"16", "Mom's Toenail", "Mom's Foot stomps a random spot in the room every 20 seconds#Dropping the trinket in combat will cause Mom's Foot to stomp its location"}, -- Mom's Toenail + [16] = {"16", "Mom's Toenail", "{{MomBoss}} Dropping the trinket in hostile rooms will cause Mom's Foot to stomp its location"}, -- Mom's Toenail -- Change: added Super Secret Room info [23] = { "23", "Missing Poster", "{{Player10}} Respawn as The Lost on death#{{SuperSecretRoom}} 33% chance to reveal Super Secret Room on new floor"}, -- Missing Poster -- Change: added ", {{Trinket135}} A Lighter" @@ -84,25 +84,29 @@ local trinkets = { -- Change: added +0.5 damage [66] = {"66", "Lazy Worm", "↑ {{Damage}} +0.5 Damage#↓ {{Shotspeed}} -0.5 Shot speed"}, -- Lazy Worm -- Change: Complete rewrite - [70] = {"70", "Louse", "Spawns a blue spider on room clear"}, -- Louse + [70] = {"70", "Louse", "Spawns a blue spider every 30 seconds in hostile rooms#Spawns a blue spider on room clear"}, -- Louse -- Change: Added more loot information [76] = {"76", "Poker Chip", "↑ 50% chance for chests to spawn extra pickups#↓ 50% chance for chests to contain a single fly#Increases payout odds of slots and other machines#If chest contains an item, its forced to be quality 3 or higher#Chest content can occasionally be items outside the golden chest item pool"}, -- Poker Chip -- Change: Added additional effects - [85] = {"85", "Karma", "{{DonationMachine}} Using any type of Donation Machine has a 33% chance to:#{{HealingRed}} Heal 1 heart (40%)#{{Coin}} Give 1 coin (40%)#{{Luck}} Grant +1 luck (15%)#{{Beggar}} Spawn a Beggar (5%)#Also affects Beggar donations and Restock machines"}, -- Karma + [85] = {"85", "Karma", "{{DonationMachine}} Using any type of Donation Machine has a 33% chance to:#{{HealingRed}} Heal 1 heart (40%)#{{Coin}} Give 1 coin (40%)#{{Luck}} Grant +1 luck (15%)#{{Beggar}} Spawn a Beggar (5%)#{{DonationMachine}} Donation machines are less likely to jam#Also affects Beggar donations and Restock machines"}, -- Karma -- Change: Added damage up information - [89] = {"89", "Child Leash", "Familiars stay closer to Isaac#{{Damage}} Familiars gain small damage multiplier"}, -- Child Leash + [89] = {"89", "Child Leash", "Familiars stay closer to Isaac#{{Damage}} 25% Increased familiar damage"}, -- Child Leash -- Change: 33% chance, Spawns blue fly on new room [93] = { "93", "Used Diaper", "33% chance per room for all fly enemies to become friendly#Spawns 1 blue fly when entering a new room"}, -- Used Diaper -- Change: Changed "12-20 times" to "6-12 times" - [97] = { "97", "Tonsil", "Taking damage 6-12 times spawns a projectile blocking familiar#Caps at 2 familiars" }, -- Tonsil + [97] = { "97", "Tonsil", "Taking damage 6-12 times spawns a projectile blocking familiar#Disappears after spawning 2 familiars" }, -- Tonsil + -- Change: now affected by luck, maxing at 18 luck + [99] = { "99", "Super Ball", "10% chance to shoot bouncing tears#{{Luck}} 100% chance at 18 luck" }, -- Super Ball -- Change: Added +2 Tears [103] = {"103", "Equality!", "When Isaac's {{Coin}} coin, {{Bomb}} bomb and {{Key}} key counts are equal:#↑ {{Tears}} +2 Tears#Turns single pickups into double pickups"}, -- Equality! - -- Change: added "Bombs deal 15% more damage" - [133] = { "133", "Short Fuse", "Isaac's bombs explode faster#Bombs deal 15% more damage" }, -- Short Fuse -- Change: "2%" to "5%" [104] = { "104", "Wish Bone", "5% chance to get destroyed and spawn a pedestal item when hit" }, -- Wish Bone -- Change: "2%" to "5%" [105] = { "105", "Bag Lunch", "{{Collectible22}} 5% chance to get destroyed and spawn Lunch when hit" }, -- Bag Lunch + -- Change: added "Bombs deal 15% more damage" + [133] = { "133", "Short Fuse", "Isaac's bombs explode faster#Bombs deal 15% more damage" }, -- Short Fuse + -- Change: added "Removes Tick" + [135] = {"135", "A Lighter", "{{Burning}} Entering a room has a 20% chance to burn random enemies#{{Warning}} Removes {{Trinket53}} Tick"}, -- A Lighter -- Change: Added coin type based information [172] = {"172", "Cursed Penny", "Picking up a coin teleports Isaac to a random room#Can teleport to secret rooms#The type of coin affects the selected room type"}, -- Cursed Penny @@ -112,15 +116,323 @@ EID:updateDescriptionsViaTable(trinkets, EID.descriptions[languageCode].trinkets ------- Golden Trinkets ------- local goldenTrinketEffects = { + -- Purple Heart (find replace): + [5] = { 2, 3, 4, 50, 66, 75 }, + -- Callus (append): + [14] = { "{{SacrificeRoom}} Reduces the damage of sacrifice room spikes to half a heart", "{{Collectible108}} Reduces most damage taken to half a heart" }, + -- Mom's Toenail (find replace): + [16] = {"location", "{{CR}}location {{ColorGold}}twice", "{{CR}}location {{ColorGold}}3 times"}, + -- Paper Clip (find replace): + [19] = {"Gold chests", "{{CR}}Gold chests {{ColorGold}}and Locked Blocks", "{{CR}}Gold chests, {{ColorGold}}Locked Blocks and Locked Doors"}, + -- Mysterious Paper (find replace): + [21] = {"the effect of", "{{ColorGold}}two{{CR}} of the following effects", "{{ColorGold}}two{{CR}} of the following effects"}, + -- Daemon's Tail (append): + [22] = {"{{BlackHeart}} Blue and Purple Fireplaces will now drop black hearts"}, + -- Broken Ankh (find replace): + [28] = { 22, 33, 50 }, + -- Umbilical Cord (find replace): + [33] = {"half a Red Heart", "a heart", "one and a half hearts"}, + -- Child's Heart (find replace): + [34] = { 10, 20, 50, 33, 66, 100 }, + -- Rusted Key (find replace): + [36] = { 10, 20, 50, 33, 66, 100 }, + -- Match Stick (find replace): + [41] = { 10, 20, 50, 33, 66, 100 }, + -- Cursed Skull (replace): + [43] = { + "When damaged down to half a heart or less, Isaac is teleported to a {{ColorGold}}special{{CR}} room", + "When damaged down to {{ColorGold}}one heart{{CR}} or less, Isaac is teleported to a {{ColorGold}}special{{CR}} room", + }, + -- Safety Cap (find replace): + [44] = { 10, 20, 50, 33, 66, 100 }, + -- Ace of Spades (find replace): + [45] = { 10, 20, 50, 33, 66, 100 }, + -- Counterfeit Penny (find replace): + [52] = {"another coin", "{{ColorGold}}2{{CR}} coins", "{{ColorGold}}3{{CR}} coins"}, -- Tick (replace): added ", {{Trinket135}} A Lighter" [53] = { - "{{HealingRed}} Heals {{ColorGold}}2{{CR}} hearts when entering a {{BossRoom}}Boss Room#-{{ColorGold}}30{{CR}}% boss health#{{ColorGold}}Removable!", - "{{HealingRed}} Heals {{ColorGold}}2{{CR}} hearts when entering a {{BossRoom}}Boss Room#-{{ColorGold}}30{{CR}}% boss health#{{Warning}} Once picked up, it can't be removed#Only removeable with {{Trinket41}} Match Stick, {{Trinket135}} A Lighter or gulping", - "{{HealingRed}} Heals {{ColorGold}}3{{CR}} hearts when entering a {{BossRoom}}Boss Room#-{{ColorGold}}30{{CR}}% boss health#{{ColorGold}}Removable!", + "{{HealingRed}} Heals {{ColorGold}}2{{CR}} hearts when entering a {{BossRoom}} Boss Room#-{{ColorGold}}30{{CR}}% boss health#{{ColorGold}}Removable!", + "{{HealingRed}} Heals {{ColorGold}}2{{CR}} hearts when entering a {{BossRoom}} Boss Room#-{{ColorGold}}30{{CR}}% boss health#{{Warning}} Once picked up, it can't be removed#Only removeable with {{Trinket41}} Match Stick, {{Trinket135}} A Lighter or gulping", + "{{HealingRed}} Heals {{ColorGold}}3{{CR}} hearts when entering a {{BossRoom}} Boss Room#-{{ColorGold}}30{{CR}}% boss health#{{ColorGold}}Removable!", }, + -- Isaac's Head (find replace): + [54] = {"3.5 damage", "Isaac's damage", "1.5x Isaac's damage"}, + -- Judas' Tongue (replace): + [56] = { + "{{DevilRoom}} Reduces {{ColorGold}}all{{CR}} devil deal prices to 1 heart container", + "{{DevilRoom}} Reduces {{ColorGold}}all{{CR}} devil deal prices to 1 heart container#{{ColorGold}}Forces sacrifice spike deals to pay out on the first attempt" + }, + -- ???'s Soul (find replace): + [57] = {"Familiar that bounces", "{{CR}}Grants {{ColorGold}}2 {{CR}}familiars that bounce", "{{CR}}Grants {{ColorGold}}3 {{CR}}familiars that bounce"}, + -- Samson's Lock (find replace): + [58] = { 6.66, 13, 25 }, + -- The Left Hand (append): + [61] = { + "{{RedChest}} Red Chests will now contain extra loot", + "{{RedChest}} Red Chests will now contain extra loot#{{ColorGold}}Red Chests will no longer spawn Red Spiders", + }, + -- Shiny Rock (replace): + [62] = { + "Crawlspace rocks, tinted rocks {{ColorGold}}and secret/super secret room doors{{CR}} blink every 10 seconds", + "Crawlspace rocks, tinted rocks {{ColorGold}}and secret/super secret room doors{{CR}} blink every {{ColorGold}}5{{CR}} seconds", + }, + -- Safety Scissors (append): + [63] = { + "Reduces enemy explosion radius", + "Greatly reduces enemy explosion radius", + }, + -- Super Magnet (find replace): + [68] = {"pickups and enemies", "{{CR}}pickups, enemies, {{ColorGold}}sacks and trinkets", "{{CR}}pickups, enemies, {{ColorGold}}sacks, trinkets and chests"}, + -- Louse (find replace): + [70] = {"a blue spider", "2{{CR}} blue spiders", "3{{CR}} blue spiders"}, + -- Bob's Bladder (appendix): + [71] = {"Increased creep size", "Increased creep size and duration"}, + -- Poker Chip (append): + [76] = {"{{Slotmachine}} Doubles payouts from gambling", "{{Slotmachine}} Triples payouts from gambling"}, + -- Store Key (append): + [83] = {"{{Shop}} Prevents shops from using low-quality layouts", "{{Shop}} Upgrades shop layouts"}, + -- Rib of Greed (append): + [84] = {"{{Coin}} Increased chance of double pennies, nickels, dimes, lucky pennies, and golden pennies"}, + -- Karma (find replace): + [85] = {"1 luck", "2{{CR}} luck", "3{{CR}} luck"}, + -- Mom's Locket (find replace): + [87] = {"half a heart", "a heart", "one and a half hearts"}, + -- Meconium (find replace): + [91] = { 33, 66, 100, 5, 7, 10 }, + -- Used Diaper (find replace): + [93] = {"1 blue fly", "2{{CR}} blue flies", "3{{CR}} blue flies"}, + -- Fish Tail (append): + [94] = {"20% chance to spawn 3 blue flies / spiders", "20% chance to spawn 4 blue flies / spiders"}, + -- Tonsil (find replace): + [97] = {"2 familiars", "3{{CR}} familiars", "4{{CR}} familiars"}, + -- Nose Goblin (replace): + [98] = { + "{{ColorGold}}20{{CR}}% chance to shoot a sticky tear#{{ColorGold}}75{{CR}}% chance for it to be homing#{{Damage}} Boogers deal Isaac's damage once per second#Boogers stick for 10 seconds", + "{{ColorGold}}30{{CR}}% chance to shoot a sticky {{ColorGold}}homing{{CR}} tear#{{Damage}} Boogers deal Isaac's damage once per second#Boogers stick for 10 seconds", + }, + -- Fragmented Card (append): + [102] = {"{{SecretRoom}} Reveals the location of one secret room", "{{SecretRoom}} Reveals the location of both secret rooms"}, + -- Lost Cork + [106] = {"Increases", "Greatly{{CR}} increases"}, + -- Crow Heart (append): + [107] = { + "{{AngelDevilChance}} 25% chance of not reducing Devil/Angel Room chance after taking Red Heart damage", + "{{AngelDevilChance}} 50% chance of not reducing Devil/Angel Room chance after taking Red Heart damage", + }, + -- Walnut (find replace): + [108] = { + "a random {{UnknownHeart}} heart, {{Coin}} coin, {{Key}} key and {{Trinket}} trinket", + "2{{CR}} random {{UnknownHeart}} hearts, {{Coin}} coins, {{Key}} keys and {{Trinket}} trinkets", + "3{{CR}} random {{UnknownHeart}} hearts, {{Coin}} coins, {{Key}} keys and {{Trinket}} trinkets", + }, + -- Duct Tape (append): + [109] = {"Tapping the drop button will cycle trough various familiar formations"}, + -- Silver Dollar (find replace): + [110] = {"Shops", "Upgraded shops"}, + -- Bloody Crown (append): + [111] = {"They will contain 2 Items for Isaac to choose from"}, + -- Pay To Win (append): + [112] = {"{{RestockMachine}} Restock boxes are less likely to blow up"}, + -- Locust of War (find replace): + [113] = {"an exploding attack fly", "2{{CR}} exploding attack flies", "3{{CR}} exploding attack flies"}, + -- Locust of Pestilence (find replace): + [114] = {"a poison attack fly", "2{{CR}} poison attack flies", "3{{CR}} poison attack flies"}, + -- Locust of Famine (find replace): + [115] = {"a slowing attack fly", "2{{CR}} slowing attack flies", "3{{CR}} slowing attack flies"}, + -- Locust of Death (find replace): + [116] = {"an attack fly", "2{{CR}} attack flies", "3{{CR}} attack flies"}, + -- Locust of Conquest (full replace): + [117] = { + "{{CR}}Entering a hostile room spawns {{ColorGold}}2-5{{CR}} attack flies#Each fly deals 2x Isaac's damage", + "{{CR}}Entering a hostile room spawns {{ColorGold}}3-7{{CR}} attack flies#Each fly deals 2x Isaac's damage", + }, + -- Stem Cell (find replace): + [119] = {"half", "all"}, + -- Hairpin (find replace): + [120] = {"fully recharges", "overcharges"}, + -- Wooden Cross (find replace): + [121] = {"a Holy shield", "2{{CR}} Holy shields"}, + -- Filigree Feather (append): + [123] = {"Angel bosses will also drop a half soul heart", "Angel bosses will also drop a soul heart"}, + -- Door Stop (append): + [124] = {"Also keeps Boss Rush doors open", "Also keeps Boss Rush / Challenge Room doors open"}, + -- Rotten Penny (find replace): + [126] = {"a blue fly", "2{{CR}} blue flies", "3{{CR}} blue flies"}, + -- Baby-Bender (append): + [127] = {"Also grants them the {{Trinket144}} Brain Worm effect", "Also grants them the {{Trinket144}} Brain Worm and {{Trinket65}} Tape Worm effects"}, + -- Blessed Penny (find replace): + [131] = { 17, 25, 30 }, + -- Short Fuse (find replace): + [133] = { 15, 30, 50 }, + -- Gigante Bean (append) + [134] = {"Increases fart knockback", "Increases fart knockback#{{ColorGold}}Farts confuses enemies for 3 seconds"}, + -- Broken Padlock (find replace): + [136] = {"Doors, key blocks and golden chests", "{{CR}}Doors, key blocks, golden chests, {{ColorGold}}Arcades and Challenge rooms", "{{CR}}Doors, key blocks, golden chests, {{ColorGold}}Arcades, Challenge and Boss rooms"}, + -- 'M (append): + [138] = {"10% chance of fully charging the rolled item", "20% chance of fully charging the rolled item"}, + -- Apple of Sodom (find replace): + [140] = {"picked up Red Hearts", "any {{CR}}picked up Hearts"}, + -- Brain Worm (append): + [144] = {"25% chance to shoot piercing tears", "50% chance to shoot piercing tears"}, + -- Devil’s Crown (append): + [146] = {"{{Trinket174}} 25% chance for the Red Treasure room to be upgraded", "{{Trinket174}} 33% chance for the Red Treasure room to be upgraded"}, + -- Charged Penny (find replace): + [147] = {"1 charge", "2{{CR}} charges", "3{{CR}} charges"}, + -- Friendship Necklace (append): + [148] = {"Increases familiar orbit speed", "Greatly increases familiar orbit speed"}, + -- Panic Button (append): + [149] = {"10% chance to use the active item for free", "20% chance to use the active item for free"}, + -- Blue Key (append): + [150] = {"Doubles rewards from clearing blue rooms", "Triples rewards from clearing blue rooms"}, + -- Flat File (append): + [151] = {"Also affects Bosses, Grudges, and Ball & Chain"}, + -- Telescope Lens (full replace): + [152] = { + "{{PlanetariumChance}} +18{{CR}}% Planetarium chance#Additional +15% chance if a Planetarium hasn't been entered yet#Planetariums can spawn in the Womb and Corpse", + "{{PlanetariumChance}} +33{{CR}}% Planetarium chance#Additional +15% chance if a Planetarium hasn't been entered yet#Planetariums can spawn in the Womb, Corpse, {{ColorGold}}Sheol and the Cathedral", + }, + -- Holy Crown (full replace): + [155] = { + "{{CR}}Spawns a {{TreasureRoom}} Treasure Room and a {{ColorGold}}upgraded{{CR}} {{Shop}} Shop in Cathedral#{{ColorGold}}Cathedral treasure rooms will contain 2 Items for Isaac to choose from", + "{{CR}}Spawns a {{TreasureRoom}} Treasure Room and a {{ColorGold}}upgraded{{CR}} {{Shop}} Shop in Cathedral#{{ColorGold}}Cathedral treasure rooms will contain 2 Items for Isaac to choose from#{{ColorGold}}Reveals the location of the Treasure Room and Shop in Cathedral", + }, + -- Torn Card (find replace): + [157] = { 15, 10, 5 }, + -- Gilded Key (full replace copying the entire original description, because the Golden version doesn't give a key on pickup): + [159] = { + "{{GoldenChest}} Replaces all chests (except Old/Mega) with golden chests#{{GoldenChest}} Golden chests can contain extra cards, pills or trinkets#{{GoldenChest}} {{ColorGold}}+10% chance to get a chest after clearing a room", + "{{Key}} +1 Key on pickup#{{GoldenChest}} Replaces all chests (except Old/Mega) with golden chests#{{GoldenChest}} Golden chests can contain extra cards, pills or trinkets#{{GoldenChest}} {{ColorGold}}+10% chance to get a chest after clearing a room", + "{{GoldenChest}} Replaces all chests (except Old/Mega) with golden chests#{{GoldenChest}} Golden chests can contain extra cards, pills or trinkets#{{GoldenChest}} {{ColorGold}}+20% chance to get a chest after clearing a room" + }, + -- Wicked Crown (full replace): + [161] = { + "{{CR}}Spawns a {{TreasureRoom}} Treasure Room and a {{ColorGold}}upgraded{{CR}} {{Shop}} Shop in Sheol#{{ColorGold}}Sheol treasure rooms will contain 2 Items for Isaac to choose from", + "{{CR}}Spawns a {{TreasureRoom}} Treasure Room and a {{ColorGold}}upgraded{{CR}} {{Shop}} Shop in Sheol#{{ColorGold}}Sheol treasure rooms will contain 2 Items for Isaac to choose from#{{ColorGold}}Reveals the location of the Treasure Room and Shop in Sheol", + }, + -- Nuh Uh! (append): + [165] = {"+10% chance for double pickups to spawn", "+20% chance for double pickups to spawn"}, + -- Keeper’s Bargain (full replace): + [171] = { + "{{DevilRoom}} 100{{CR}}% chance for devil deals to cost coins instead of hearts", + "{{DevilRoom}} 100{{CR}}% chance for devil deals to cost coins instead of hearts#{{ColorGold}}Increases chance of Devil deals being on sale", + }, + -- Cursed Penny (append): + [172] = {"Increased chance of being teleported into a special room"}, + -- Your Soul (append): + [173] = {"10% chance to not consume the trinket", "20% chance to not consume the trinket"}, + -- Strange Key (full replace): + [175] = { + "Opens the door to the Hush floor regardless of the timer#Using {{Collectible297}} Pandora's Box consumes the key and spawns {{ColorGold}}8{{CR}} items from random pools#{{ColorGold}}Allows to open all doors and chests on the Hush floor for free", + "Opens the door to the Hush floor regardless of the timer#Using {{Collectible297}} Pandora's Box consumes the key and spawns {{ColorGold}}10{{CR}} items from random pools#{{ColorGold}}Allows to open all doors and chests on the Hush floor for free", + }, + -- Temporary Tattoo (append): + [177] = {"Permanently increases a random stat upon completing a Challenge room", "Permanently increases 2 random stats upon completing a Challenge room"}, + -- RC Remote (append): + [179] = {"Familiars will deal 2 contact damage per tick", "Familiars will deal 5 contact damage per tick"}, + -- Expansion Pack (full replace): + [181] = { + "Using an active item triggers the effect of {{ColorGold}}2{{CR}} additional 1-2 charge active items", + "Using an active item triggers the effect of {{ColorGold}}2{{CR}} additional 1-2 charge active items#{{ColorGold}}Also triggers the effect of a 3 charge active item", + }, + -- Beth’s Essence (append): + [182] = {"50% chance for Angel room wisps to be special#{{ColorGold}}Beggars will spawn special wisps", "100% chance for Angel room wisps to be special#{{ColorGold}}Beggars will spawn special wisps"}, + -- Adoption Papers (append): + [184] = {"Familiars will always be on sale", "Familiars will always be on sale#{{Card92}} {{ColorGold}}Shops will be able to sell \"Soul of Lilith\""}, + -- Sigil of Baphomet (find replace): + [189] = {"1 second", "1.5 {{CR}}seconds", "2 {{CR}}seconds"}, } EID:updateDescriptionsViaTable(goldenTrinketEffects, EID.descriptions[languageCode].goldenTrinketEffects) +----- Golden Trinkets Data ----- + +local goldenTrinketData = { + [5] = {findReplace = true}, -- Purple Heart + [14] = {append = true}, -- Callus + [16] = {findReplace = true}, -- Mom's Toenail + [19] = {findReplace = true}, -- Paper Clip + [21] = {findReplace = true}, -- Mysterious Paper + [22] = {append = true}, -- Daemon's Tail + [28] = {findReplace = true}, -- Broken Ankh + [33] = {findReplace = true}, -- Umbilical Cord + [34] = {findReplace = true}, -- Child's Heart + [36] = {findReplace = true}, -- Rusted Key + [41] = {findReplace = true}, -- Match Stick + [43] = {fullReplace = true}, -- Cursed Skull + [44] = {findReplace = true}, -- Safety Cap + [45] = {findReplace = true}, -- Ace of Spades + [52] = {findReplace = true}, -- Counterfeit Penny + [54] = {findReplace = true}, -- Isaac's Head + [56] = {fullReplace = true}, -- Judas' Tongue + [57] = {findReplace = true}, -- ???'s Soul + [58] = {findReplace = true}, -- Samson's Lock + [61] = {append = true}, -- The Left Hand + [62] = {fullReplace = true}, -- Shiny Rock + [63] = {append = true}, -- Safety Scissors + [68] = {findReplace = true}, -- Super Magnet + [70] = {findReplace = true}, -- Louse + [71] = {append = true}, -- Bob's Bladder + [76] = {append = true}, -- Poker Chip + [83] = {append = true}, -- Store Key + [84] = {append = true}, -- Rib of Greed + [85] = {findReplace = true}, -- Karma + [87] = {findReplace = true}, -- Mom's Locket + [91] = {findReplace = true}, -- Meconium + [93] = {findReplace = true}, -- Used Diaper + [94] = {append = true}, -- Fish Tail + [97] = {findReplace = true}, -- Tonsil + [98] = {fullReplace = true}, -- Nose Goblin + [102] = {append = true}, -- Fragmented Card + [106] = {append = true}, -- Lost Cork + [107] = {append = true}, -- Crow Heart + [108] = {findReplace = true}, -- Wallnut + [109] = {append = true}, -- Duct Tape + [110] = {findReplace = true}, -- Silver Dollar + [111] = {append = true}, -- Bloody Crown + [112] = {append = true}, -- Pay To Win + [113] = {findReplace = true}, -- Locust of War + [114] = {findReplace = true}, -- Locust of Pestilence + [115] = {findReplace = true}, -- Locust of Famine + [116] = {findReplace = true}, -- Locust of Death + [117] = {fullReplace = true}, -- Locust of Conquest + [119] = {findReplace = true}, -- Stem Cell + [120] = {findReplace = true}, -- Hairpin + [121] = {findReplace = true}, -- Wooden Cross + [123] = {append = true}, -- Filigree Feather + [124] = {append = true}, -- Door Stop + [126] = {findReplace = true}, -- Rotten Penny + [127] = {append = true}, -- Baby-Bender + [131] = {findReplace = true}, -- Blessed Penny + [133] = {findReplace = true}, -- Short Fuse + [134] = {append = true}, -- Gigante Bean + [136] = {findReplace = true}, -- Broken Padlock + [138] = {append = true}, -- 'M + [140] = {findReplace = true}, -- Apple of Sodom + [144] = {append = true}, -- Brain Worm + [146] = {append = true}, -- Devil’s Crown + [147] = {findReplace = true}, -- Charged Penny + [148] = {append = true}, -- Friendship Necklace + [149] = {append = true}, -- Panic Button + [150] = {append = true}, -- Blue Key + [151] = {append = true}, -- Flat File + [152] = {fullReplace = true}, -- Telescope Lens + [155] = {fullReplace = true}, -- Holy Crown + [157] = {findReplace = true}, -- Torn Card + [159] = {fullReplace = true}, -- Gilded Key + [161] = {fullReplace = true}, -- Wicked Crown + [165] = {append = true}, -- Nuh Uh! + [171] = {fullReplace = true}, -- Keeper’s Bargain + [172] = {append = true}, -- Cursed Penny + [173] = {append = true}, -- Your Soul + [175] = {fullReplace = true}, -- Strange Key + [177] = {append = true}, -- Temporary Tattoo + [179] = {append = true}, -- RC Remote + [181] = {fullReplace = true}, -- Expansion Pack + [182] = {append = true}, -- Beth’s Essence + [184] = {append = true}, -- Adoption Papers + [189] = {findReplace = true}, -- Sigil of Baphomet +} +EID:updateDescriptionsViaTable(goldenTrinketData, EID.descriptions[languageCode].goldenTrinketData) + ---------- Cards ---------- local cards = { diff --git a/descriptions/rep/en_us.lua b/descriptions/rep/en_us.lua index f56e3ae6..653823da 100644 --- a/descriptions/rep/en_us.lua +++ b/descriptions/rep/en_us.lua @@ -881,9 +881,9 @@ local repTrinkets={ [80] = {"80", "Black Feather", "↑ {{Damage}} +0.5 Damage for each \"Evil up\" item held"}, -- Black Feather [92] = {"92", "Cracked Crown", "↑ x1.33 Stat multiplier (except fire rate) for the stats that are above 1 {{Speed}} speed, 2.73 {{Tears}} tears, 3.5 {{Damage}} damage, 6.5 {{Range}} range, 1 {{Shotspeed}} shot speed"}, -- Cracked Crown [96] = {"96", "Ouroboros Worm", "↑ +0.4 Tears#↑ {{Range}} +1.5 Range#Spectral tears#Chance for homing tears#{{Luck}} 100% chance at 9 luck#Isaac's tears move quickly in a spiral pattern"}, -- Ouroboros Worm - [98] = {"98", "Nose Goblin", "5% chance to shoot homing sticky tears#{{Damage}} Boogers deal Isaac's damage once per second#Boogers stick for 10 seconds"}, -- Nose Goblin + [98] = {"98", "Nose Goblin", "10% chance to shoot a sticky tear#50% chance for it to be homing#{{Damage}} Boogers deal Isaac's damage once per second#Boogers stick for 10 seconds"}, -- Nose Goblin [101] = {"101", "Dim Bulb", "Holding a completely uncharged active item grants:#↑ {{Speed}} +0.5 Speed#↑ {{Tears}} +0.5 Tears#↑ {{Damage}} +1.5 Damage#↑ {{Range}} +1.5 Range#↑ {{Shotspeed}} +0.3 Shot speed#↑ {{Luck}} +2 Luck"}, -- Dim Bulb - [107] = {"107", "Crow Heart", "Taking damage depletes Red Hearts before Soul/Black Hearts#{{Warning}} The Red Heart damage can lower your Devil/Angel Room chance"}, -- Crow Heart + [107] = {"107", "Crow Heart", "Taking damage depletes Red Hearts before Soul/Black Hearts#{{Warning}} Taking Red Heart damage will reduce Devil/Angel Room chance"}, -- Crow Heart [110] = {"110", "Silver Dollar", "{{Shop}} Shops appear in the Womb and Corpse"}, -- Silver Dollar [111] = {"111", "Bloody Crown", "{{TreasureRoom}} Treasure Rooms appear in the Womb and Corpse"}, -- Bloody Crown [119] = {"119", "Stem Cell", "{{HealingRed}} Entering a new floor heals half of Isaac's empty Red/Bone Hearts#{{HealingRed}} Heals half a heart minimum"}, -- Stem Cell @@ -900,7 +900,7 @@ local repTrinkets={ [138] = {"138", "'M", "Using an active item rerolls it"}, -- 'M [139] = {"139", "Teardrop Charm", "{{Luck}} +4 Luck towards luck-based tear effects"}, -- Teardrop Charm [140] = {"140", "Apple of Sodom", "Picking up Red Hearts can convert them into blue spiders#Works even while at full health#Effect may consume hearts needed for healing"}, -- Apple of Sodom - [141] = {"141", "Forgotten Lullaby", "Doubles the fire rate of familiars"}, -- Forgotten Lullaby + [141] = {"141", "Forgotten Lullaby", "2x Fire rate for familiars"}, -- Forgotten Lullaby [142] = {"142", "Beth's Faith", "{{Collectible584}} Entering a new floor spawns 4 Book of Virtues wisps"}, -- Beth's Faith [143] = {"143", "Old Capacitor", "{{Battery}} Prevents active item from charging by clearing a room#{{Battery}} Clearing a room has a 20% chance to spawn a battery#{{Luck}} 33% chance at 5 luck"}, -- Old Capacitor [144] = {"144", "Brain Worm", "Tears turn 90 degrees to target enemies that they may have missed"}, -- Brain Worm @@ -921,7 +921,7 @@ local repTrinkets={ [159] = {"159", "Gilded Key", "{{Key}} +1 Key on pickup#{{GoldenChest}} Replaces all chests (except Old/Mega) with golden chests#{{GoldenChest}} Golden chests can contain extra cards, pills or trinkets"}, -- Gilded Key [160] = {"160", "Lucky Sack", "{{GrabBag}} Entering a new floor spawns a sack"}, -- Lucky Sack [161] = {"161", "Wicked Crown", "Spawns a {{TreasureRoom}} Treasure Room and {{Shop}} Shop in Sheol"}, -- Wicked Crown - [162] = {"162", "Azazel's Stump", "{{Player7}} Clearing a room has a 50% chance to turn the player into Azazel#{{Timer}} Effect lasts until clearing and leaving another room"}, -- Azazel's Stump + [162] = {"162", "Azazel's Stump", "{{Player7}} Clearing a room has a 33% chance to turn the player into Azazel#{{Timer}} Effect lasts until clearing and leaving another room"}, -- Azazel's Stump [163] = {"163", "Dingle Berry", "All Dip (small poop) enemies are friendly#Clearing a room spawns 1 random Dip"}, -- Dingle Berry [164] = {"164", "Ring Cap", "{{Bomb}} Spawns 1 extra bomb for each bomb placed"}, -- Ring Cap [165] = {"165", "Nuh Uh!", "On Womb and beyond, replaces all coin and key spawns with a bomb, heart, pill, card, trinket, battery, or enemy fly"}, -- Nuh Uh! @@ -986,7 +986,7 @@ EID.descriptions[languageCode].goldenTrinketEffects = { -- NO! [88] = { "Prevents Quality {{Quality0}} items from spawning" }, -- Gilded Key (Golden version only): it doesn't give a key. bug that might get fixed (maybe it'll give a Golden Key?) - [159] = { "Replaces all chests (except Old/Mega) with golden chests#Golden chests can contain extra cards, pills or trinkets" }, + [159] = { "{{GoldenChest}} Replaces all chests (except Old/Mega) with golden chests#{{GoldenChest}} Golden chests can contain extra cards, pills or trinkets" }, -- The Twins [183] = { "May copy/grant 2 familiars", "May copy/grant 2 familiars", "May copy/grant 3 familiars" }, } diff --git a/features/eid_data.lua b/features/eid_data.lua index d65869cd..17dc253e 100644 --- a/features/eid_data.lua +++ b/features/eid_data.lua @@ -841,33 +841,121 @@ EID.ColorBlindColors = { -- mults: custom multipliers. A Missing Page's damage goes from 80 to 120 to 160; so its multipliers are 1.5 and 2, instead of 2 and 3 -- append / findReplace / fullReplace: add text (Rainbow Worm, NO!) or entirely replace the trinket's description (Tick) from goldenTrinketEffects EID.GoldenTrinketData = { - -- Swallowed Penny, Petrified Poop (50% -> 60%), Purple Heart (max 2x), a couple Worms, Black Lipstick, Bible Tract, Monkey's Paw - [1] = 1, [2] = {t={50}, mult=1.2}, [5] = {t={2}, mult=2}, [10] = {t={0.4,0}}, [11] = {t={0.4,0}}, [17] = 10, [18] = 3, [20] = 1, - -- Butt Penny, Hook Worm (two stats), Whip Worm, Fish Head, Liberty Cap (max 4x), Curved Horn, Goat Hoof, Mom's Pearl (2x becomes 3x) - [24] = {t={20}, mult=1.5}, [26] = {t={0.4, 1.5, 0}}, [27] = 0.5, [29] = 1, [32] = {t={25}, mult=4}, [35] = 2, [37] = 0.15, [38] = {t={10}, mult=2}, - -- Cancer, Lucky Toe (just the Luck Up), Isaac's Fork (heart heal amount), A Missing Page (damage + necronomicon multiplier), Tick (the biggest pain) - [39] = 1, [42] = 1, [46] = {findReplace = true}, [48] = {t={2, 80},mults={1.5,2}}, [53] = {fullReplace = true}, - -- Maggy's Faith, Rainbow Worm, Tape Worm, Lazy Worm, Louse, Watch Battery (just the charge amount), Exploding Cap, Stud Finder - [55] = 1, [64] = {append = true}, [65] = 3, [66] = 0.5, [70] = 1, [72] = 1, [73] = 10, [74] = {t={0.5}, mult=2}, - -- Error (same as Rainbow Worm), Second Hand (max 2x -> 3x), Black Feather, Blind Rage, Golden Horse Shoe, Karma, Lil Larva - [75] = {append = true}, [78] = {t={2}, mult=1.5}, [80] = 0.5, [81] = 2, [82] = {t={15}, mult=2}, [85] = {t={1,1,1}}, [86] = {t={1}, mult=2}, - -- NO!, Brown Cap, Cracked Crown, Ouroboros Worm, Broken Syringe, Teardrop Charm, Beth's Faith (possibly tripleable, but max 8 wisps in its ring) - [88] = {append = true}, [90] = {t={100}, mult=2}, [92] = 20, [96] = {t={0.4, 1.5}}, [132] = {t={25}, mult=4}, [139] = {t={4},mults={1.5,2}}, [142] = {t={4}, mult=2}, - -- Old Capacitor (hard cap of 33% chance), Perfection, Mom's Lock, Dice Bag, Mother's Kiss - [143] = {t={20}, mult=1.65}, [145] = 10, [153] = {t={25}, mult=4}, [154] = {t={50}, mult=2}, [156] = {t={1,1}}, - -- Gilded Key (Golden = no +1 key; probably a bug), Lucky Sack, Azazel's Stump (50/67/100), Dingle Berry, Ring Cap - [159] = {goldenOnly = true, fullReplace = true, mult=1}, [160] = 1, [162] = {t={50}, mults={1.32, 2}}, [163] = {t={1},mult=2}, [164] = 1, - -- Modeling Clay, Polished Bone (25, 33, 50), Hollow Heart, Kid's Drawing, Crystal Key - [166] = {t={50},mult=2}, [167] = {t={25}, mults={1.32, 2}}, [168] = 1, [169] = {t={1}, goldenOnly = true, mult = 2}, [170] = {t={33}, mults={1.5,3}}, - -- Lil Clot, Swallowed M80, The Twins (effect chance rolls multiple times), Cricket Leg (17%, 1 in 6), Apollyon's Best Friend, Broken Glasses - [176] = 1, [178] = {t={50},mult=2}, [183] = {append = true}, [185] = 17, [186] = 1, [187] = {t={50,50}, mult=2}, + [1] = 1, -- Swallowed Penny + [2] = {t={50}, mult=1.2}, -- Petrified Poop (50% -> 60%) + [5] = {t={2}, mult=2}, -- Purple Heart (max 2x) + [10] = {t={0.4,0}}, -- Wiggle Worm + [11] = {t={0.4,0}}, -- Ring Worm + [17] = 10, -- Black Lipstick + [18] = 3, -- Bible Tract + [20] = 1, -- Monkey's Paw + [24] = {t={20}, mult=1.5}, -- Butt Penny + [26] = {t={0.4, 1.5, 0}}, -- Hook Worm (two stats) + [27] = 0.5, -- Whip Worm + [29] = 1, -- Fish Head + [32] = {t={25}, mult=4}, -- Liberty Cap (max 4x) + [35] = 2, -- Curved Horn + [37] = 0.15, -- Goat Hoof + [38] = {t={10}, mult=2}, -- Mom's Pearl (2x becomes 3x) + [39] = 1, -- Cancer + [42] = 1, -- Lucky Toe (just the Luck Up) + [46] = {findReplace = true}, -- Isaac's Fork (heart heal amount) + [48] = {t={2, 80},mults={1.5,2}}, -- A Missing Page (damage + necronomicon multiplier) + [53] = {fullReplace = true}, -- Tick (the biggest pain) + [55] = 1, -- Maggy's Faith + [64] = {append = true}, -- Rainbow Worm + [65] = 3, -- Tape Worm + [66] = 0.5, -- Lazy Worm + [70] = 1, -- Louse + [72] = 1, -- Watch Battery (just the charge amount) + [73] = 10, -- Exploding Cap + [74] = {t={0.5}, mult=2},-- Stud Finder + [75] = {append = true}, -- Error (same as Rainbow Worm) + [78] = {t={2}, mult=1.5}, -- Second Hand (max 2x -> 3x) + [80] = 0.5, -- Black Feather + [81] = 2, -- Blind Rage + [82] = {t={15}, mult=2}, -- Golden Horse Shoe + [85] = {t={1,1,1}}, -- Karma + [86] = {t={1}, mult=2},-- Lil Larva + [88] = {append = true}, -- NO! + [90] = {t={100}, mult=2}, -- Brown Cap + [92] = 20, -- Cracked Crown + [96] = {t={0.4, 1.5}}, -- Ouroboros Worm + [132] = {t={25}, mult=4}, -- Broken Syringe + [139] = {t={4},mults={1.5,2}}, -- Teardrop Charm + [142] = {t={4}, mult=2}, -- Beth's Faith (possibly tripleable, but max 8 wisps in its ring) + [143] = {t={20}, mult=1.65}, -- Old Capacitor (hard cap of 33% chance) + [145] = 10, -- Perfection + [153] = {t={25}, mult=4}, -- Mom's Lock + [154] = {t={50}, mult=2}, -- Dice Bag + [156] = {t={1,1}}, -- Mother's Kiss + [159] = {goldenOnly = true, fullReplace = true, mult=1}, -- Gilded Key (Golden = no +1 key; probably a bug) + [160] = 1, -- Lucky Sack + [162] = {t={50}, mults={1.32, 2}}, -- Azazel's Stump (50/67/100) + [163] = {t={1},mult=2}, -- Dingle Berry + [164] = 1, -- Ring Cap + [166] = {t={50},mult=2}, -- Modeling Clay + [167] = {t={25}, mults={1.32, 2}}, -- Polished Bone (25, 33, 50) + [168] = 1, -- Hollow Heart + [169] = {t={1}, goldenOnly = true, mult = 2}, -- Kid's Drawing + [170] = {t={33}, mults={1.5,3}}, -- Crystal Key + [176] = 1, -- Lil Clot + [178] = {t={50},mult=2}, -- Swallowed M80 + [183] = {append = true}, -- The Twins (effect chance rolls multiple times) + [185] = 17, -- Cricket Leg (17%, 1 in 6) + [186] = 1, -- Apollyon's Best Friend + [187] = {t={50,50}, mult=2}, -- Broken Glasses -- NEW REP PATCH UPDATE - -- AAA Battery, Broken Remote (Teleport 2.0), Broken Magnet (coins -> pickups), Cartridge, Pulse Worm (default text), Flat Worm, - [3] = 1, [4] = {fullReplace = true, mult=1}, [6] = {findReplace = true, mult = 2}, [7] = {append = true}, [8] = 5, [9] = 0, [12] = 50, - -- Golden Store Credit, Lucky Rock (effect chance rolls multiple times), Mom's Toenail (20 -> 10 -> 6.66), Mysterious Candy (golden = golden poop) - [13] = {goldenOnly = true, fullReplace = true, mult=1}, [15] = {append = true}, [16] = {t={20}, mults={0.5, 0.333}}, [25] = {goldenOnly = true, findReplace = true, mult = 2}, + [3] = 1, -- AAA Battery + [4] = {fullReplace = true, mult=1}, -- Broken Remote (Teleport 2.0) + [6] = {findReplace = true, mult = 2}, -- Broken Magnet (coins -> pickups) + [7] = {append = true}, -- Rosary Bead + [8] = 5, -- Cartridge + [9] = 0, -- Pulse Worm (default text) + [12] = 50, -- Flat Worm + [13] = {goldenOnly = true, fullReplace = true, mult=1}, -- Golden Store Credit + [15] = {append = true}, -- Lucky Rock (effect chance rolls multiple times) + [16] = {t={20}, mults={0.5, 0.333}}, -- Mom's Toenail (20 -> 10 -> 6.66) + [25] = {goldenOnly = true, findReplace = true, mult = 2}, -- Mysterious Candy (golden = golden poop) } +if EID.isRepentancePlus then + EID.GoldenTrinketData[23] = {t={33}, mults={1.5,3}} -- Missing Poster + EID.GoldenTrinketData[30] = {t={10}, mults={2,3.3}} -- Pinky Eye + EID.GoldenTrinketData[31] = {t={10}, mults={2,3.3}} -- Push Pin + EID.GoldenTrinketData[38] = {t={10}, mults={2,2}} -- Mom's Pearl + EID.GoldenTrinketData[40] = {t={20}, mults={1.65,2.5}} -- Red Patch + EID.GoldenTrinketData[49] = 25 -- Bloody Penny + EID.GoldenTrinketData[50] = 25 -- Burnt Penny + EID.GoldenTrinketData[51] = 25 -- Flat Penny + EID.GoldenTrinketData[60] = {t={5}} -- Eve's Bird Foot + EID.GoldenTrinketData[67] = {t={50}, mults={1.5,2}} -- Cracked Dice + EID.GoldenTrinketData[79] = {t={25}, mults={1.32,2}} -- Endless Nameless + EID.GoldenTrinketData[86] = {t={1}} -- Lil Larva can be tripled now + EID.GoldenTrinketData[89] = 25 -- Child Leash + EID.GoldenTrinketData[95] = {t={3}} -- Black Tooth + EID.GoldenTrinketData[99] = {t={10}, mults={2,3.3}} -- Super Ball + EID.GoldenTrinketData[100] = {t={1,0.75,0.5,0.25,0.2,0.1}} -- Vibrant Bulb + EID.GoldenTrinketData[101] = {t={2,1.5,1.5,0.5,0.4,0.3}} -- Dim Bulb + EID.GoldenTrinketData[103] = 2 -- Equality! + EID.GoldenTrinketData[104] = 5 -- Wish Bone + EID.GoldenTrinketData[105] = 5 -- Bag Lunch + EID.GoldenTrinketData[118] = 5 -- Bat Wing + EID.GoldenTrinketData[122] = 2 -- Butter! + EID.GoldenTrinketData[125] = 6 -- Extension Cord + EID.GoldenTrinketData[128] = 4 -- Finger Bone + EID.GoldenTrinketData[129] = 10 -- Jawbreaker + EID.GoldenTrinketData[130] = 10 -- Chewed Pen + EID.GoldenTrinketData[135] = {t={20}, mults={1.65,2.5}} -- A Lighter + EID.GoldenTrinketData[137] = {t={4}, mults={1.5,2}} -- Myosotis + EID.GoldenTrinketData[141] = {t={2}, mults={1.25,1.5}} -- Forgotten Lullaby + EID.GoldenTrinketData[158] = {t={2}, mults={1.5,2}} -- Torn Pocket + EID.GoldenTrinketData[163] = {t={1}} -- Dingle Berry can be tripled now + EID.GoldenTrinketData[167] = {t={25}, mults={1.32,2}} -- Polished Bone + EID.GoldenTrinketData[174] = {t={10}, mults={1.5,2}} -- Number Magnet + EID.GoldenTrinketData[180] = {t={50}, mults={1.5,2}} -- Found Soul + EID.GoldenTrinketData[188] = {t={20}, mults={1.65,2.5}} -- Ice Cube +end EID.MarkupSizeMap = { ["{{Damage}}"] = "{{DamageSmall}}", @@ -1335,4 +1423,4 @@ EID.WispData = { if EID.isRepentancePlus then EID.WispData.SingleRoom[111] = true -- The Bean EID.WispData.SingleRoom[421] = true -- Kidney Bean -end \ No newline at end of file +end diff --git a/features/eid_modifiers.lua b/features/eid_modifiers.lua index 7b910360..f5008d46 100644 --- a/features/eid_modifiers.lua +++ b/features/eid_modifiers.lua @@ -607,30 +607,41 @@ if EID.isRepentance then end) count = count + numReplacements end - --replacing a phrase, such as "half a heart" + --replacing a phrase, such as "half a heart", with a double or tripled version + --the table should be 3 entries long (can also be 6, 9, etc. for multiple find+replaces) + --it can be 2 entries long if there's no triple effect + --If you need to differentiate between Golden and Mom's, use fullReplace if data.findReplace then local textTable = EID:getDescriptionEntry("goldenTrinketEffects", trinketID) if textTable then - descObj.Description, count = string.gsub(descObj.Description, textTable[1], "{{ColorGold}}" .. textTable[multiplier] .. "{{ColorText}}", 1) + for i=1,#textTable,3 do + local newText = textTable[math.min(i+multiplier-1, #textTable)] + descObj.Description, count = string.gsub(descObj.Description, textTable[i], "{{ColorGold}}" .. newText .. "{{ColorText}}", 1) + end end end --append some new text to the description + --the append table can be 1, 2, or 3 entries long (2 entries = double and triple, 3 entries = Golden, Mom's, Both) if data.append then local textTable = EID:getDescriptionEntry("goldenTrinketEffects", trinketID) if textTable then - textChoice = math.min(textChoice, #textTable) -- some items have only 1 append description + if #textTable == 2 and textChoice == 2 then textChoice = 1 -- some items have only 2 descriptions (double and triple), so Golden and Mom's should both choose text #1 + else textChoice = math.min(textChoice, #textTable) end -- some items have only 1 description + if textTable[textChoice] ~= "" then descObj.Description = descObj.Description .. "#{{ColorGold}}" .. textTable[textChoice] count = 1 end end end - --the nuclear option: replacing the entire description; 1 = Gold, 2 = Mom's Box, 3 = Both + --the nuclear option: replacing the entire description; 1 = Golden, 2 = Mom's Box, 3 = Both --only replace if the chosen language has defined it if data.fullReplace then local textTable = EID:getDescriptionEntry("goldenTrinketEffects", trinketID, true) if (textTable) then - textChoice = math.min(textChoice, #textTable) + if #textTable == 2 and textChoice == 2 then textChoice = 1 -- some items have only 2 descriptions (double and triple), so Golden and Mom's should both choose text #1 + else textChoice = math.min(textChoice, #textTable) end -- some items have only 1 description + descObj.Description = textTable[textChoice] count = 1 end