@@ -298,12 +298,12 @@ struct product_hook : item_product {
298298 std::vector<df::reaction_reagent*> *in_reag,
299299 std::vector<df::item*> *in_items,
300300 int32_t quantity, df::job_skill skill,
301- df::historical_entity *entity, df::world_site *site)
301+ df::historical_entity *entity, int32_t unk, df::world_site *site, void * unk2 )
302302 ) {
303303 color_ostream_proxy out (Core::getInstance ().getConsole ());
304304 auto product = products[this ];
305305 if ( !product ) {
306- INTERPOSE_NEXT (produce)(unit, out_products, out_items, in_reag, in_items, quantity, skill, entity, site);
306+ INTERPOSE_NEXT (produce)(unit, out_products, out_items, in_reag, in_items, quantity, skill, entity, unk, site, unk2 );
307307 return ;
308308 }
309309 df::reaction* this_reaction=product->react ;
@@ -314,7 +314,8 @@ struct product_hook : item_product {
314314 return ;
315315
316316 size_t out_item_count = out_items->size ();
317- INTERPOSE_NEXT (produce)(unit, out_products, out_items, in_reag, in_items, quantity, skill, entity, site);
317+
318+ INTERPOSE_NEXT (produce)(unit, out_products, out_items, in_reag, in_items, quantity, skill, entity, unk, site, unk2);
318319 if ( out_items->size () == out_item_count )
319320 return ;
320321 // if it produced something, call the scripts
0 commit comments