Topic: Cookery  (Read 10295 times)


GiTiB

« on: January 10, 2018, 04:52:58 PM »
I'm trying to make a recipe but it does not allowed me to manually pick things up in my inventory.

The [patch] thing appears when I choose the recipe from the menu and select automatically a valid component, I want it to ask for numbers only when I manually pick things up in the inventory as it is the normal behaviour no?

Code: [Select]
//automatically pick up ask numbers
.Cooked Something. *COOKERY* /5/ \30\  [patchwise]
{Raw meat or fish} [remove] [roast] [name:Cooked %s] [patch:10]

//same
.Cooked Something. *COOKERY* /5/ \30\  [patch:10]
{Raw meat or fish} [remove] [roast] [name:Cooked %s] [patchwise]

//same
.Cooked Something. *COOKERY* /5/ \30\  [patch:10]
{Raw meat or fish} [remove] [roast] [name:Cooked %s]

//only cook 1 thing
.Cooked Something. *COOKERY* /5/ \30\
{Raw meat or fish} [remove] [roast] [name:Cooked %s]  [patch:10]
« Last Edit: January 10, 2018, 04:55:41 PM by GiTiB »

PALU

« Reply #1 on: January 10, 2018, 06:07:30 PM »
As far as I understand patchwise is used to determine how many things you produce/process on the top level (5 slender trunks => stakes/5 cords <=strings). The in recipe control is the optional one, which doesn't ask, but take as much as it can, so using that for control would require you to drop the portion you don't want consumed, Optional will ask for more if what you provided wasn't enough, but you can escape out of those ingredients immediately or after providing some volume.

GiTiB

« Reply #2 on: January 10, 2018, 07:37:22 PM »
It seems it is not supported when modding, you can't choose unit item (vs weight). It works like that with the arrows, you can't choose the feathers from your inventory...

The Roast menu let you pick them, but it seems it is harcoded and unsupported.

Let me know if I'm wrong, it is puzzling me.

Privateer

« Reply #3 on: January 10, 2018, 08:24:22 PM »
If you want to "choose" the item(s), if I'm understanding your question, the mod environment supports;
Selecting item by weight vs unit and Using the optional tag.
for example:
Code: [Select]
//automatically pick up ask numbers
.Cooked Something. *COOKERY* /5/ \30\  [patch:10]
{Raw meat or fish} #1# [remove] [roast] [name:Cooked %s] [patchwise]

or

//automatically pick up ask numbers
.Cooked Something. *COOKERY* /5/ \30\   [patch:10]
{Raw meat} #1# [remove] [roast] [name:Cooked %s] [optional] [patchwise]
{Raw fish}  #1# [remove] [roast] [name:Cooked %s] [optional] [patchwise]
To help is it's own reward.
Mods:
https://www.unrealworld.fi/forums/index.php?action=profile;area=showposts;sa=attach;u=10 Player Quests, Arrow quiver, Bee hives honey & mead, Massive menus, Fish Farmer, Combat trainer, Player made markers, Weaving, Wood stacks, Chicken coop Fish cuts, string&bone.