REPENTOGON icon indicating copy to clipboard operation
REPENTOGON copied to clipboard

EntityConfigPlayer:GetAchievementID doesn't work with modded characters

Open laceous opened this issue 1 year ago • 2 comments

Testing with the Community Remix mod. The Adam character has the following set in players.xml:

achievement="Adam"

Isaac.GetAchievementIdByName('Adam') returns 638

EntityConfig.GetPlayer(41):GetAchievementID() returns 0 rather than 638. 41 is Adam for me.

laceous avatar Jan 05 '24 05:01 laceous

this function currently directly calls the game's function, custom handling is needed here

namishere avatar Nov 16 '24 05:11 namishere

In the meantime, you can use xmldata to get this information.

jsgnextortex avatar Nov 16 '24 05:11 jsgnextortex