diff --git a/eid_api.lua b/eid_api.lua index 1521a0bc..43e01df3 100644 --- a/eid_api.lua +++ b/eid_api.lua @@ -78,7 +78,7 @@ end function EID:addPill(id, description, itemName, language) itemName = itemName or nil language = language or "en_us" - EID.descriptions[language].custom["5.70." .. id] = {id, itemName, description} + EID.descriptions[language].custom["5.70." .. id+1] = {id+1, itemName, description} end -- Creates a new transformation with a given unique name and a display name diff --git a/eid_debugging.lua b/eid_debugging.lua index 87dda0c3..9750b0a4 100644 --- a/eid_debugging.lua +++ b/eid_debugging.lua @@ -47,7 +47,7 @@ EID:addCollectible(2, "New override Method") -- minimal method EID:addCollectible(2, "New override Method", "new Name", "ru") -- maximal method EID:addTrinket(2, "New override Method") -- minimal method EID:addCard(2, "New override Method", "new Name") -- card -EID:addPill(2, "New override Method", "new Name") -- pill +EID:addPill(2, "New override Method", "new Name") -- pilleffect 2 "Balls of steel" EID:addEntity(5, 10, 2, "Custom Name", "Custom description") -- Entity ------ Test: adding custom transformation icon ------