Skip to content

Commit

Permalink
Char tweak (#571)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMelbert authored Aug 26, 2024
1 parent 4d17910 commit 142ca81
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/modules/food_and_drinks/machinery/grill.dm
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@
if(grilled_item)
SEND_SIGNAL(grilled_item, COMSIG_ITEM_GRILL_PROCESS, src, seconds_per_tick)
grill_time += seconds_per_tick
grilled_item.reagents.add_reagent(/datum/reagent/consumable/char, 0.5 * seconds_per_tick)
var/char_amount = clamp(grilled_item.reagents.get_reagent_amount(/datum/reagent/consumable/nutriment), 1, (/datum/reagent/consumable/char::overdose_threshold / 3))
if(!grilled_item.reagents.has_reagent(/datum/reagent/consumable/char, char_amount))
grilled_item.reagents.add_reagent(/datum/reagent/consumable/char, 0.15 * seconds_per_tick)
grill_fuel -= GRILL_FUELUSAGE_ACTIVE * seconds_per_tick
grilled_item.AddComponent(/datum/component/sizzle)

Expand Down

0 comments on commit 142ca81

Please sign in to comment.