From Fallen London Wiki (Staging)

this is a good idea but it's also quickly a nightmare because of combinatorial math. good luck and huge thanks to whoever figures out how to program and display this all sensibly