Issue Custom Variable Condition

Tergerfer11

Greenhorn
I am trying to make a mod (content pack) that uses a custom variable as a condition to change NPC sprites, but Content Patcher keeps ignoring that part of the code because it "isn't a valid condition," then shows a list of a bunch of valid conditions, none of which will work for what I'm trying to do. Can someone tell me how to fix this, if it's even possible?
 
Top