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

Move torch variations into tile data #555

Merged
merged 13 commits into from
Mar 28, 2024

Conversation

BenCheung0422
Copy link
Member

@BenCheung0422 BenCheung0422 commented Aug 9, 2023

Using duplications in the main method is not a great idea, so this changes torch tile variations into handling the tile data instead. When #437 is merged, TileModel can be used to merge TorchItem into a general TileItem instance.(outdated) TorchItem is merged to TileItem with the advanced feature from TileModel. Tile sprite connection fields are converted to methods to suit the changes.

@Litorom
Copy link
Member

Litorom commented Feb 12, 2024

Please fix conflicts.

Copy link
Member

@Makkkkus Makkkkus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, when looking at this again, won't this break all saves that have torches?

@BenCheung0422
Copy link
Member Author

The code to load torch is not removed, so it is not affected.

@BenCheung0422
Copy link
Member Author

Conflicts resolved.

@Makkkkus
Copy link
Member

The code to load torch is not removed, so it is not affected.

Yes, but then it tries to load the tourch with a the old name on new saves. That will cause an error.

@BenCheung0422
Copy link
Member Author

BenCheung0422 commented Feb 13, 2024

Yes. And I fixed that error in the latest commit recently.

@BenCheung0422 BenCheung0422 mentioned this pull request Mar 12, 2024
@Litorom Litorom merged commit b469b8a into MinicraftPlus:main Mar 28, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

4 participants