MinestrapTeam / Minestrappolation-2

Minestrappolation - a complete Vanilla Minecraft overhaul!
http://minestrappolation.wikia.com
5 stars 3 forks source link

Custom Milling and Cutting Recipes Config #376

Open Delocuro opened 9 years ago

Delocuro commented 9 years ago

The Minestrapp config file should allow players to change existing milling and cutting recipes, as well as create new ones, since that would allow for a number of quick compatibility and consistency fixes between our mod and others. Ithik we had something like this for crafting recipes at one point (don't know if it's still in the config or not), so it shouldn't be too hard to add.

Clashsoft commented 9 years ago

In fact, it is not too easy to do this, since we would need a custom format that represents a recipe as text.

Delocuro commented 9 years ago

Hmm... I think before we were just straight-up used the same "CCC", "C C", "CCC", 'C', Blocks.cobblestone = Furnace sort of method that we use in the code, though I think Dylan did all of that fancy config stuff, so he'd probably know better than I would.

Clashsoft commented 9 years ago

I came up with the following format {"xxx", ...}, "x" = cobblestone:0 -> furnace:1x4 I will probably use Dlex and a custom token-based parsing system, since it is a relatively simple grammar.

Delocuro commented 9 years ago

Yep, that'd work. If it's easy enough to implement, we should try to just add it really quick with the 3.3.5 hotfix, but otherwise don't worry about working on it too much until after that gets released.