Surgery tidy-up & bugfixes (#9501)

This commit is contained in:
mikomyazaki
2020-07-30 13:05:38 +01:00
committed by GitHub
parent d781bd2a48
commit bf19b6653d
17 changed files with 1004 additions and 861 deletions

View File

@@ -75,9 +75,6 @@
/proc/cmp_rcon_bbox(obj/machinery/power/breakerbox/BR1, obj/machinery/power/breakerbox/BR2)
return sorttext(BR2.RCon_tag, BR1.RCon_tag)
/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)