Datum Component System (/tg/ port)

This commit is contained in:
ShadowLarkens
2020-10-18 11:57:50 -07:00
parent 63b7caae82
commit 01cb75ffe8
20 changed files with 1568 additions and 9 deletions

View File

@@ -61,4 +61,7 @@
/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
return b_score - a_score
/proc/cmp_typepaths_asc(A, B)
return sorttext("[B]","[A]")