Added Synergy informations for Abyss
This commit is contained in:
1 parent
c7b8f6deab
commit
b62cc25e01
2 files changed
+45
No files matched your search
@@ -794,6 +794,25 @@ EID.descriptions["en_us"].bookOfVirtuesWisps = {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- Special Locust effects when Item was eaten by Abyss
|
||||||
|
EID.descriptions["en_us"].abyssSynergies = {
|
||||||
|
[2] = "Three normal locusts", -- The Inner Eye
|
||||||
|
[3] = "Purple homing locust", -- Spoon Bender
|
||||||
|
[4] = "Red large locust that deals triple damage", -- Cricket's Head
|
||||||
|
[6] = "Yellow fast short range locust that deals damage more quickly", -- Number One
|
||||||
|
[7] = "Red locust that deals double damage", -- Blood of the Martyr
|
||||||
|
[10] = "Two gray locusts that deal half damage", -- Halo of Flies
|
||||||
|
[13] = "Green locust that poisons enemies", -- The Virus
|
||||||
|
[103] = "Green locust that poisons enemies", -- The Common Cold
|
||||||
|
[118] = "Gray larger locust that is otherwise normal", -- Brimstone
|
||||||
|
[149] = "Large, slow, green locust that deals x1.5 your damage and poisons enemies", -- Ipecac
|
||||||
|
[153] = "Four normal locusts", -- Mutant Spider
|
||||||
|
[257] = "Orange, burning locust that sets enemies on fire", -- Fire Mind
|
||||||
|
[305] = "Green locust that poisons enemies", -- Scorpio
|
||||||
|
[374] = "Cyan, glowing locust that can spawn beams of light that deal deal 3x your damage", -- Holy Light
|
||||||
|
[494] = "Light blue locust with arcs of electricity that deals 0.1 damage per tick", -- Jacob's Ladder
|
||||||
|
[559] = "Light blue locust with arcs of electricity that deals 0.1 damage per tick", -- 120 Volt
|
||||||
|
}
|
||||||
---------- Cards ----------
|
---------- Cards ----------
|
||||||
|
|
||||||
local repCards={
|
local repCards={
|
||||||
@@ -921,6 +940,7 @@ EID.descriptions["en_us"].horsepills={
|
|||||||
[9999] = {"", "Golden Pill", "Random horse pill effect#Destroys itself after a few uses"}, -- Golden Pill
|
[9999] = {"", "Golden Pill", "Random horse pill effect#Destroys itself after a few uses"}, -- Golden Pill
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
EID.descriptions["en_us"].CraftingBagContent = "Bag:"
|
EID.descriptions["en_us"].CraftingBagContent = "Bag:"
|
||||||
EID.descriptions["en_us"].CraftingRoomContent = "Room:"
|
EID.descriptions["en_us"].CraftingRoomContent = "Room:"
|
||||||
EID.descriptions["en_us"].CraftingFloorContent = "Floor:"
|
EID.descriptions["en_us"].CraftingFloorContent = "Floor:"
|
||||||
|
|||||||
@@ -292,4 +292,29 @@ local game = Game()
|
|||||||
end
|
end
|
||||||
EID:addDescriptionModifier("Placebo", PlaceboCondition, PlaceboCallback)
|
EID:addDescriptionModifier("Placebo", PlaceboCondition, PlaceboCallback)
|
||||||
|
|
||||||
|
|
||||||
|
-- Handle Abyss description addition
|
||||||
|
local function AbyssCondition(descObj)
|
||||||
|
if not REPENTANCE or descObj.ObjType ~= 5 or descObj.ObjVariant ~= PickupVariant.PICKUP_COLLECTIBLE then
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
for i = 0, game:GetNumPlayers() - 1 do
|
||||||
|
local player = Isaac.GetPlayer(i)
|
||||||
|
if player:HasCollectible(CollectibleType.COLLECTIBLE_ABYSS) then
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
end
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
|
||||||
|
local function AbyssCallback(descObj)
|
||||||
|
local text = EID:getDescriptionEntry("abyssSynergies", descObj.ObjSubType)
|
||||||
|
if text ~= nil then
|
||||||
|
local iconStr = "#{{Collectible706}} {{ColorRed}}"
|
||||||
|
EID:appendToDescription(descObj, iconStr..text)
|
||||||
|
end
|
||||||
|
return descObj
|
||||||
|
end
|
||||||
|
EID:addDescriptionModifier("Abyss", AbyssCondition, AbyssCallback)
|
||||||
|
|
||||||
end
|
end
|
||||||
Reference in new issue
Block a user