Lothrazar / RootsClassic

Port of Roots 1 originally by Elucent (based on latest public MIT version, with permission from EpicSquid)
MIT License
3 stars 13 forks source link

Turn rituals into data-driven recipes #86

Closed PssbleTrngle closed 1 year ago

PssbleTrngle commented 1 year ago

Implementation for #84

Altar TileEntities no longer store their ritual when saved. This can be re-implemented using a recipe lookup instead, but as rituals are all more or less instantaneous, it did not feel like they needed to be saved when closing the world. They now only sync the ritual level & color to the client instead, since these are needed for client-side effects.

The research pages for rituals now only get added when the actual recipe behind them is defined, enabling data-pack authors to disable specific rituals and removing them from the tablet.