Topic: [patch:num] recipe with non-patchwise requirement not consumed with [remove]  (Read 3186 times)


JP_Finn

  • Honorary Lifetime Supporter
  • Member
  • *
  • Posts: 1150
  • Total likes: 621
  • Thawed Finn in SoCal
    • View Profile
« on: June 17, 2023, 04:46:41 AM »
I've been testing and tuning some hotsmoking recipes.
It would seem that using_ [patch:number_of_cuts_to_be_smoked]
and requiring fixed amount of firewood, say (20), with [remove] [ground], and without [patchwise] on the line, the firewood is NOT consumed.

Hot smoke
Code: [Select]
[SUBMENU_START:Hot smoke]

.Hot smoke cut. [effort:1] [phys:arms,one-armed] *COOKERY* /6h/ |+1| %20% [patch:30] -M-
{Smoking tripod} [ground]
{Raw meat} #1# [ask_num] [remove] [name:hot smoked %s cut] [roast] [patchwise]
{Firewood} (20) [remove] [ground]
[COOK_WEIGHT_DIV:1.2]
[SPOILAGE_DAYS:10]

.Hot smoke fish.  [effort:1] [phys:arms,one-armed] -F- *COOKERY* /4h/ |+1| %20% [patch:15] :148:
{Smoking tripod} [ground]
{Raw fish} [remove] [name:hot smoked %s] [ask_num] [roast] [patchwise]
{Salt} #0.03# [remove] [patchwise]
{Firewood} (12) [remove] [ground]
[COOK_WEIGHT_DIV:1.1]
[SPOILAGE_DAYS:20]


Smoker
Code: [Select]
[SUBMENU_START:Smoker]

.Smoking tripod. "Arrow shaft" [effort:2] [phys:arms,stance,one-armed] -T- *TIMBERCRAFT* /3/ \1\ |-1| [assist:1] %30%
{Cutting weapon}
{Wooden stake} (3) [remove] [ground]
{Tying equipment} <Withe> =4= [remove] [ground]
{Hanging hook} (30) [remove]
{Spruce twig} (12) [remove] [ground]
{Stone} (5) '+for fire ring' [remove]
[TILEGFX:jp-smoker]
[MATERIAL:rock]
[TYPE:tool]
[WEIGHT:90]

.Hanging hook. "Arrow shaft" [effort:1] [phys:hands,one-armed] -H- *CARPENTRY* /5/ |-2| %30% [patch:30]
{Branch} [remove] [patchwise]
{Knife} <Small knife>
[TILEGFX:it-wdhook]
[WEIGHT:0.1]
[TYPE:tool]

[SUBMENU_END:Smoker]
Using hooks instead of yarn for hanging, can't return the yarn on custom smoking recipes.

JP_Finn

  • Honorary Lifetime Supporter
  • Member
  • *
  • Posts: 1150
  • Total likes: 621
  • Thawed Finn in SoCal
    • View Profile
« Reply #1 on: June 18, 2023, 02:15:43 AM »
It looks like [patch:] and [patchwise] when used in COOKERY are somewhat bugged. .
Using [patch:15] and {Raw fish} as ingredient, either the craft engine auto-selects raw fish from nearby/inventory; that can be forced off with [ask_num]
Leaving {Raw fish} without unit () or weight (not viable as all fishes weight different) only takes 1 fish. Even trying to call for the amount within [patch:] limits. Setting Raw fish (1) acts exactly as it does without.

Choosing patch 15, it uses 1 fish selected from inventory and the recipe outputs 15...

Meat can be used with {Raw meat} # # , just need to be precise on the weights.

 

anything