Skip to content

[Tractor mod] Support of Custom TerrainFeature #1089

Open
@jpparajeles

Description

@jpparajeles

Hello, I currently have a mod that creates a Custom Terrain Feature, I'm not using any Harmony patches at the moment, so compatibility with the Tractor mod seems complicated at this point.

Could it be possible to create an Interface on the Tractor mod that allows an entrypoint for Custom Terrain features?. Something like

public interface ICustomAttachmentBehavior
{
    bool ApplyTool(IAttachment attachment, Tool? tool, int damage, Vector2 tileLocation)
}

This would require that IAttachment be made public so other people can access it

I'm willing to draft a PR with the approach if you think it would be a good addition, let me know if this is a good forum to discuss the technical details, if this is feasible

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