Tractor Mod

Tractor Mod

130k Downloads

[Content Patcher] support tokens

Pathoschild opened this issue ยท 1 comments

commented

Let modders use conditions (#206) and config values (#207) in content.json fields:

{
  "Format": "1.0",
  "ConfigSchema": {
    "Variant": {
        "AllowValues": "Dark, Light"
    }
  }, 
  "Changes": [
      {
          "Action": "EditImage",
          "Target": "Buildings/houses",
          "FromFile": "assets/{{variant}}_{{season}}.png"
      }
    ]
}
commented

Done in develop for the upcoming Content Patcher 1.3. See readme for details.