Portal 2 code generator