Ore Stone Variants

Ore Stone Variants

1M Downloads

Implement `loot` transformer for backwards compatibility

PersonTheCat opened this issue ยท 1 comments

commented

Currently, there is only field in the ore presets that remains not backward compatible between OSV 5.0 and 6.0+: loot. Prior to 1.13, OSV had its own implementation of a loot table-like object that could be used to configure drops. However, this was made obsolete with the addition of vanilla loot tables and thus was removed.

In future versions of this mod, I would like to implement a transformer to provide backward compatibility by translating from the old OSV tables to the new, vanilla loot tables.

In OSV 6.3 / 6.4, we will have access to CatLib, which includes a JSON transformer that can be used for this purpose.

commented

In general, I prefer backwards compatibility up to 2 versions back. We have now passed that milestone, as of 7.0. The new version is sufficiently different from 5.0- that I no longer see the need to implement this feature.