Tractor Mod

Tractor Mod

130k Downloads

[Content Patcher] add map tile patching

Pathoschild opened this issue ยท 2 comments

commented

Extend the EditMap action to support map tile patching. This can be used for dynamic map changes (e.g. decorations that change each day), to add custom NPCs to festivals, etc.

commented

For example, this can be combined with #516 to add a custom NPC to a festival map:

{
    "Action": "EditMap",
    "Target": "Maps/Town-EggFestival",
    "EditTiles": [
        {
            "Position": "16, 53",
            "Layer": "Set-Up",
            "SetIndex": "{{DataFileIndex: Data/NPCDispositions, SomeCustomNpcName}}",
            "SetProperties": {
            	"Action": "Some example value"
            }
        }
    ]
}
commented

Done in the upcoming Content Patcher 1.13.