What you are solving

The computer terminal in Level 7 establishes a cryptographic priority cipher mapping each of the seven orb colors to a fixed priority and a fixed value. The final code is the string concatenation of (quantity × value) per color, sorted by ascending priority.

The color matrix

From highest to lowest priority:

ColorPriorityValue
Red11
Green22
Blue33
Gray44
Yellow55
Purple66
Orange77

The procedure

  1. Conduct a full environmental census of every colored orb cluster.
  2. Drop any color whose quantity is exactly zero — appending "01" or similar triggers a puzzle failure.
  3. For each remaining color, compute the substring (quantity)(value). Treat quantities as strings, not integers — concatenate, do not add.
  4. Concatenate the substrings in ascending priority order.
  5. The resulting multi-digit string is the computer-terminal code. The rightmost 4 characters are the keypad door code.

Edge cases

Double-digit quantities. If a quantity exceeds 9 (e.g., 10 Yellow orbs), the substring is "105" — not "15" with integer carry-over.

Zero omission. Appending "01" (zero Red orbs, then priority 1) results in a catastrophic puzzle failure. Always drop zero-quantity colors from the working set first.

Use the tool

The Level 7 & 11 Code Generator handles every edge case automatically. Toggle to Level 7, count the orbs, paste in the quantities, copy the output.