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

can't extend or overwrite .gd files that have custom class_name #417

Closed
lafitteque opened this issue Oct 22, 2024 · 1 comment
Closed

can't extend or overwrite .gd files that have custom class_name #417

lafitteque opened this issue Oct 22, 2024 · 1 comment
Labels
4.x bug Something isn't working duplicate This issue or pull request already exists

Comments

@lafitteque
Copy link

Hello,
I'm learning how to use mod-loader and I'm faced with this issue when moding Dome Keeper 4.1 . When extending or overwriting a file such as Tile.gd or Map.gd or MapData.gd, the following error occurs : Class "Tile" hides a global script class.
When removing "class_name Tile" from the original file, the extension works. The same issue stands for custom ressources.

Is there a way around this whithout creating conflicts with other mods?

@KANAjetzt KANAjetzt added bug Something isn't working duplicate This issue or pull request already exists 4.x labels Oct 22, 2024
@KANAjetzt
Copy link
Member

Hi, currently there is no fix for this issue. We are in the process of creating an entirely new approach for extending scripts. You can follow the progress here.

I'm closing this as it is a duplicate of an existing issue. For Dome Keeper specific help, I recommend joining the Bippinbits Discord, and I'd be happy to chat over there.

@KANAjetzt KANAjetzt closed this as not planned Won't fix, can't repro, duplicate, stale Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants