Sharable recipe templates
Posted: Tue Jul 04, 2017 6:31 am
This came to mind after a few people asked ICly for the recipe for a cake: It'd be neat to implement a way to craft something directly from a 'recipe' that has all of the various strings pre-set, that you can share with others, or use as a shortcut to craft something that you make a lot of.
I could see going about making the recipe one of two ways:
A:
recipe write <skill> <recipe> [optional recipe short description]
which would enter a POLCA to enter the various descriptions manually.
example:
Or B:
recipe clone <item> [optional recipe short description]
which would clone the strings from a pre-made item into a recipe.
Afterwards:
recipe make <recipe item>
would craft the item, assuming that the crafter is of sufficient skill, ending with a fully tooled item at the end.
Looking at the recipe item could give some details such as what skill it uses, what proficiency it requires, the short desc of what it'll make, required items, etc.
I could see going about making the recipe one of two ways:
A:
recipe write <skill> <recipe> [optional recipe short description]
which would enter a POLCA to enter the various descriptions manually.
example:
Code: Select all
recipe write woodworking 1232 directions to make a quiverfull of bodkin arrows
short a poplar-shafted bodkin arrow, fletched with eagle feathers
long A poplar-shafted bodkin arrow, fletched with eagle feathers is here.
keyword poplar bodkin arrow eagle feathers
extended (enters editor)
This arrow appears ideal for piercing armor, set with a steel bodkin head on a sleek, poplar shaft. The eagle feathers are trimmed to give a well balanced flight.
@f
@x
@shop_info (enters editor)
This arrow appears ideal for piercing armor, set with a steel bodkin head on a sleek, poplar shaft. The eagle feathers are trimmed to give a well balanced flight.
@f
@x
done
recipe clone <item> [optional recipe short description]
which would clone the strings from a pre-made item into a recipe.
Afterwards:
recipe make <recipe item>
would craft the item, assuming that the crafter is of sufficient skill, ending with a fully tooled item at the end.
Looking at the recipe item could give some details such as what skill it uses, what proficiency it requires, the short desc of what it'll make, required items, etc.