Added Repentance+ support and updated descriptions of affected items
This commit is contained in:
1 parent
45a72f031a
commit
0feaa3733d
3 files changed
+111
No files matched your search
@@ -0,0 +1,74 @@
|
||||
---------------------------------------
|
||||
----- Basic English descriptions -----
|
||||
---------------------------------------
|
||||
|
||||
-- FORMAT: Item ID | Name | Description
|
||||
|
||||
-- Special character markup:
|
||||
-- ↑ = Up Arrow | ↓ = Down Arrow | # = Starts a new line
|
||||
-- More can be found here: https://github.com/wofsauge/External-Item-Descriptions/wiki/Markup
|
||||
|
||||
local languageCode = "en_us"
|
||||
|
||||
---------- Collectibles ----------
|
||||
|
||||
local collectibles = {
|
||||
-- Change: added "Creep persists until you exit the room"
|
||||
[56] = {"56", "Lemon Mishap", "Spills a pool of creep#The creep deals 24 damage per second#Creep persists until you exit the room"}, -- Lemon Mishap
|
||||
-- Change: added "Persists between rooms if player is at 1/2 hearts"
|
||||
[117] = {"117", "Dead Bird", "Taking damage spawns a bird that attacks enemies#The bird deals 4.3 contact damage per second#Persists between rooms if player is at 1/2 hearts"}, -- Dead Bird
|
||||
-- Change: Complete rewrite
|
||||
[351] = {"351", "Mega Bean", "Deals 100 damage and petrifies all enemies in the room#{{Poison}} Deals 5 damage and poisons any enemies nearby#Can open secret rooms and break rocks"}, -- Mega Bean
|
||||
-- Change: Complete rewrite
|
||||
[436] = {"436", "Milk!", "Blocks enemy projectiles#{{Tears}} After 10 hits, it breaks and grants a Tears up for the remainder of the floor"}, -- Milk!
|
||||
-- Change: Complete rewrite
|
||||
[447] = {"447", "Linger Bean", "Firing without pause for 4 seconds spawns a poop cloud#The cloud increases its size over 10 seconds#The cloud deals less damage the bigger it gets#It can be moved by shooting it"}, -- Linger Bean
|
||||
-- Change: added " and fires radial bursts of tears"
|
||||
[470] = {"470", "Hushy", "Bounces around the room#Deals 30 contact damage per second#Stops moving when Isaac shoots#Blocks projectiles when stopped and fires radial bursts of tears"}, -- Hushy
|
||||
-- Change: added "Turns item pedestals into glitched items"
|
||||
[481] = {"481", "Dataminer", "↑ Random stat up#↓ Random stat down#{{Timer}} Random tear effects for the room#Turns item pedestals into glitched items#{{Blank}} Corrupts all sprites and music in the room"}, -- Dataminer
|
||||
-- Change: Complete rewrite
|
||||
[510] = {"510", "Delirious", "Spawns a friendly delirium version of a boss#Persists between rooms#{{Warning}} Only one boss can be active at a time#The item-charge is based on the quality of the previously spawned boss"}, -- Delirious
|
||||
-- Change: added "Tears leave a pool of creep on impact"
|
||||
[560] = {"560", "It Hurts", "{{Timer}} When taking damage, receive for the room:#↑ {{Tears}} +1.2 Fire rate on the first hit#↑ {{Tears}} +0.4 Fire rate for each additional hit#Releases a ring of 10 tears around Isaac#Tears leave a pool of creep on impact"}, -- It Hurts
|
||||
-- Change: Heals 2 hearts instead of 1/2
|
||||
[594] = {"594", "Jupiter", "↑ {{EmptyHeart}} +2 Empty heart containers#↓ {{Speed}} -0.3 Speed#{{HealingRed}} Heals 2 heart#{{Speed}} Speed builds up to +0.5 while standing still#{{Poison}} Moving releases poison clouds#{{Poison}} Poison immunity"}, -- Jupiter
|
||||
-- Change: Complete rewrite
|
||||
[632] = {"632", "Evil Charm", "↑ {{Luck}} +2 Luck#Immune to {{Burning}} fire damage, {{Confusion}} confusion, {{Fear}} fear, {{Slow}} spider-webs and {{Poison}} poison effects#Grants 1 second immunity to creep"}, -- Evil Charm
|
||||
-- Change: Complete rewrite
|
||||
[681] = {"681", "Lil Portal", "Double-tapping a fire button launches the portal#Deals contact damage when launched#Consumes pickups in its path#Each pickup consumed increases its size, damage, and spawns a blue fly#Consuming 2-3 pickups spawns a portal to a special room and the familiar disappears for the rest of the floor#The content of the room persists for the rest of the run"}, -- Lil Portal
|
||||
|
||||
|
||||
|
||||
-- TODO: check how exactly the quality affects the damage of the wisp
|
||||
-- OFFICIAL CHANGELOG TEXT: Abyss - Item quality now impacts the damage of the summoned locust. Locusts now inherit many different effects based on the item destroyed by Abyss.
|
||||
--[706] = {"706", "Abyss", "Consumes all item pedestals in the room and spawns a locust familiar for each one#Locusts deal Isaac's damage 2-3 times an attack#Some items spawn a special locust when consumed"}, -- Abyss
|
||||
|
||||
|
||||
}
|
||||
EID:updateDescriptionsViaTable(collectibles, EID.descriptions[languageCode].collectibles)
|
||||
|
||||
---------- Trinkets ----------
|
||||
|
||||
local trinkets = {
|
||||
-- Change: added ", {{Trinket135}} A Lighter"
|
||||
[53] = {"53", "Tick", "{{HealingRed}} Heals 1 heart when entering a {{BossRoom}} Boss Room#-15% boss health#{{Warning}} Once picked up, it can't be removed#Only removeable with {{Trinket41}} Match Stick, {{Trinket135}} A Lighter, or gulping"}, -- Tick
|
||||
-- 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
|
||||
-- Change: added "Bombs deal 15% more damage"
|
||||
[133] = {"133", "Short Fuse", "Isaac's bombs explode faster#Bombs deal 15% more damage"}, -- Short Fuse
|
||||
|
||||
|
||||
-- TODO: check the new exact percentage of wish bone and bag lunch drops
|
||||
-- OFFICIAL CHANGELOG TEXT: Increased the chances of the Wish Bone and Bag Lunch trinkets spawning an item.
|
||||
--[104] = {"104", "Wish Bone", "2% chance to get destroyed and spawn a pedestal item when hit"}, -- Wish Bone
|
||||
--[105] = {"105", "Bag Lunch", "{{Collectible22}} 2% chance to get destroyed and spawn Lunch when hit"}, -- Bag Lunch
|
||||
}
|
||||
EID:updateDescriptionsViaTable(trinkets, EID.descriptions[languageCode].trinkets)
|
||||
|
||||
|
||||
-- If Debug enabled, add overwrite tables to the languagepack in order for the language completion script to be able to compare them
|
||||
if EID.enableDebug then
|
||||
EID.descriptions[languageCode].repPlusCollectibles = collectibles
|
||||
EID.descriptions[languageCode].repPlusTrinkets = trinkets
|
||||
end
|
||||
@@ -0,0 +1,25 @@
|
||||
--[[
|
||||
"Guppy", -- 1
|
||||
"Fun Guy", -- 2
|
||||
"Lord of the Flies", -- 3
|
||||
"Conjoined", -- 4
|
||||
"Spun", -- 5
|
||||
"Mom", -- 6
|
||||
"Oh Crap", -- 7
|
||||
"Bob", -- 8
|
||||
"Leviathan", -- 9
|
||||
"Seraphim", -- 10
|
||||
"Super Bum", -- 11
|
||||
"Bookworm", -- 12
|
||||
"Spider Baby", -- 13
|
||||
"Adult", -- 14
|
||||
"Stompy" -- 15
|
||||
]]--
|
||||
|
||||
-- Repentance transformations
|
||||
-- Format: [ID.VARIANT.SUBTYPE] = "Transformation string"
|
||||
local transformations = {
|
||||
-- Collectibles
|
||||
["5.100.519"] = "4", -- Lil Delirium: Conjoined
|
||||
}
|
||||
EID:updateDescriptionsViaTable(transformations, EID.EntityTransformations)
|
||||
@@ -6,6 +6,7 @@ EID.descriptions = {} -- Table that holds all translation strings
|
||||
EID.enableDebug = false
|
||||
local game = Game()
|
||||
EID.isRepentance = REPENTANCE -- REPENTANCE variable can be altered by any mod, so we save the value before anyone can alter it
|
||||
EID.isRepentancePlus = FontRenderSettings ~= nil -- Repentance+ adds FontRenderSettings() class. We use this to check if the DLC is enabled
|
||||
|
||||
require("eid_config")
|
||||
EID.Config = EID.UserConfig
|
||||
@@ -130,6 +131,17 @@ if EID.isRepentance then
|
||||
local _, _ = pcall(require,"descriptions."..EID.GameVersion..".transformations")
|
||||
require("features.eid_bagofcrafting")
|
||||
require("features.eid_tmtrainer")
|
||||
|
||||
if EID.isRepentancePlus then
|
||||
EID.GameVersion = "rep+"
|
||||
for _,lang in ipairs(EID.Languages) do
|
||||
local wasSuccessful, err = pcall(require,"descriptions."..EID.GameVersion.."."..lang)
|
||||
if not wasSuccessful and not string.find(err, "not found") then
|
||||
Isaac.ConsoleOutput("Load rep+ "..lang.." failed: "..tostring(err))
|
||||
end
|
||||
end
|
||||
local _, _ = pcall(require,"descriptions."..EID.GameVersion..".transformations")
|
||||
end
|
||||
end
|
||||
|
||||
EID.LastRenderCallColor = EID:getTextColor()
|
||||
|
||||
Reference in new issue
Block a user