Skip to content

Support appending to nested arrays without replacing existing content #129

Description

@dav2490

It would be very useful to support additive operations on nested arrays, so that a mod could append new elements without replacing the existing contents.

Specificallyt, I'm working on a mod that patches DT_PartnerSkillParameter.

Some rows contain nested arrays, for example:

PassiveSkills[]
└── SkillAndParametersArray[]

My goal is to append a new entry to each SkillAndParametersArray while preserving all existing entries.

At the moment, the only apparent option is to replace the entire nested array, which requires copying all vanilla data into the mod. This makes patches unnecessarily large, harder to maintain, and more prone to conflicts with game updates.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions