Improved Greed donation machine descriptions
This commit is contained in:
1 parent
ee43fe6127
commit
20538d0434
2 files changed
+4
-4
No files matched your search
@@ -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
|
||||
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user