Merge pull request #14045 from dearmochi/auto-menders-fit-in-fridges

Refactor Smart Fridges, allow auto-menders to be put in Medical Fridges
This commit is contained in:
AffectedArc07
2020-08-16 19:08:48 +01:00
committed by GitHub
2 changed files with 487 additions and 339 deletions
+3
View File
@@ -693,6 +693,9 @@ proc/dd_sortedObjectList(list/incoming)
// Lazying Episode 3
#define LAZYSET(L, K, V) LAZYINITLIST(L); L[K] = V;
/// Returns whether a numerical index is within a given list's bounds. Faster than isnull(LAZYACCESS(L, I)).
#define ISINDEXSAFE(L, I) (I >= 1 && I <= length(L))
//same, but returns nothing and acts on list in place
/proc/shuffle_inplace(list/L)
if(!L)
File diff suppressed because it is too large Load Diff