Fixed new method to add pill effects
This commit is contained in:
1 parent
b29b712696
commit
207792168d
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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 ------
|
||||
|
||||
Reference in new issue
Block a user