mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-01 04:52:16 +00:00
Kitchen tweaks (#2570)
changes: Reduced power usage of oven and fryer. Reduced warm up time of oven and fryer. Oven now heats up to exactly 200C instead of to 198.85C. Fixed some issues with cooking appliances' sanity checks. Recipe datums are now initialized once instead of per-appliance. Moved some cooking verbs to the Objects tab instead of a null category.
This commit is contained in:
@@ -78,3 +78,8 @@ var/cmp_field = "name"
|
||||
|
||||
/proc/cmp_surgery(datum/surgery_step/a, datum/surgery_step/b)
|
||||
return b.priority - a.priority
|
||||
|
||||
/proc/cmp_recipe_complexity_dsc(datum/recipe/A, datum/recipe/B)
|
||||
var/a_score = LAZYLEN(A.items) + LAZYLEN(A.reagents) + LAZYLEN(A.fruit)
|
||||
var/b_score = LAZYLEN(B.items) + LAZYLEN(B.reagents) + LAZYLEN(B.fruit)
|
||||
return b_score - a_score
|
||||
|
||||
Reference in New Issue
Block a user