[Content Patcher] Bounded value checks don't work with tokenized dynamic tokens
Pathoschild opened this issue ยท 0 comments
Using tokens in a numeric field works fine if they're bounded to a specific set of possible values:
"Changes": [
{
"Action": "EditImage",
"FromArea": { "X": "{{Random: 0, 16}}", "Y": 0, "Width": 16, "Height": 16 },
...
}
]
But putting the same string in a dynamic token fails with a "that token isn't restricted to integers" warning:
"DynamicTokens": [
{
"Name": "TargetX",
"Value": "{{Random: 0, 16}}"
}
],
"Changes": [
{
"Action": "EditImage",
"FromArea": { "X": "{{TargetX}}", "Y": 0, "Width": 16, "Height": 16 },
...
}
]