Fixes not being able to tablecraft recipes using different types of an item for a requirements (e.g. two types of cutlets to make a meat pizza).

Fixes mushroom requirements in tablecraft recipes appearing as "snacks" in the requirement lists.

Reduces the chem puff waiting time when spraying at short range, so it takes less time before it reacts with a turf/mob/object.
This commit is contained in:
phil235
2015-03-18 20:57:30 +01:00
parent f7be7fb711
commit 9b419d26f0
3 changed files with 16 additions and 3 deletions
@@ -68,7 +68,8 @@
reagents.trans_to(D, amount_per_transfer_from_this, 1/range)
D.color = mix_color_from_reagents(D.reagents.reagent_list)
var/puff_reagent_left = range //how many turf, mob or dense objet we can react with before we consider the chem puff consumed
var/wait_step = max(round(9/range),2)
var/wait_step = max(round(2+3/range), 2)
spawn(0)
for(var/i=0, i<range, i++)
step_towards(D,A)