diff --git a/descriptions/rep/en_us.lua b/descriptions/rep/en_us.lua index 4874c5e5..ce606c2e 100644 --- a/descriptions/rep/en_us.lua +++ b/descriptions/rep/en_us.lua @@ -1198,6 +1198,6 @@ if EID.enableDebug then end if REPENTOGON then - EID.descriptions[languageCode].custom["6.8.0"] = {"0", "Donation Machine", "{1} of {2} coins remaining until next achievement#{{Luck}} 2% chance for +1 Luck when donating#{{AngelRoom}} Donating 10 coins increases Angel Room chance"} - EID.descriptions[languageCode].custom["6.11.0"] = {"0", "Greed Donation Machine", "{{ColorGold}}{1} of {2}{{CR}} coins remaining until next achievement"} + EID.descriptions[languageCode].custom["6.8.0"] = {"0", "Donation Machine", "Next achievement at {1} coins, {2} coins remaining#{{Luck}} 2% chance for +1 Luck when donating#{{AngelRoom}} Donating 10 coins increases Angel Room chance"} + EID.descriptions[languageCode].custom["6.11.0"] = {"0", "Greed Donation Machine", "Next achievement at {1} coins, {2} coins remaining"} end \ No newline at end of file diff --git a/eid_repentogon.lua b/eid_repentogon.lua index ca8c683f..2db0a4a0 100644 --- a/eid_repentogon.lua +++ b/eid_repentogon.lua @@ -133,8 +133,8 @@ local function DonationMachineCallback(descObj) break end end - descObj.Description = string.gsub(descObj.Description, "{1}", coinsNeeded - totalDonations) - descObj.Description = string.gsub(descObj.Description, "{2}", coinsNeeded) + descObj.Description = string.gsub(descObj.Description, "{1}", coinsNeeded) + descObj.Description = string.gsub(descObj.Description, "{2}", coinsNeeded - totalDonations) descObj.Icon = EID.InlineIcons["DonationMachine"] return descObj end