minicraft-plus-revived
minicraft-plus-revived copied to clipboard
Move torch variations into tile data
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.
Please fix conflicts.
The code to load torch is not removed, so it is not affected.
Conflicts resolved.
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.
Yes. And I fixed that error in the latest commit recently.