Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tractor mod] Support of Custom TerrainFeature #1089

Open
jpparajeles opened this issue Mar 3, 2025 · 0 comments
Open

[Tractor mod] Support of Custom TerrainFeature #1089

jpparajeles opened this issue Mar 3, 2025 · 0 comments

Comments

@jpparajeles
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant