UnReal World > Modding

Cookery

(1/1)

GiTiB:
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: ---//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]

--- End code ---

PALU:
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:
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:
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: ---//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]

--- End code ---

Navigation

[0] Message Index

Go to full version