{
 "$schema": "../world.schema.json",
 "recipe": "cp-world/world@1",
 "id": "media",
 "name": "Media Exchange",
 "tagline": "where the impressions are bought",
 "aria": "Media Exchange diorama: a trading floor, a data center with blinking racks, a row of billboards that change their ads, a depot where trucks load impressions and a reach mast",
 "hint": "Bids light the data center racks; each delivery sends a truck of impressions down the road",
 "skin": {
  "slot": "night-neon"
 },
 "look": {
  "sky": "#1a2a4f",
  "hemi": [
   "#9cc0e8",
   "#2e2a40",
   1.25
  ],
  "sun": [
   "#e8eeff",
   2.4,
   [
    6,
    14,
    6
   ]
  ],
  "gain": [
   0.98,
   1,
   1.05
  ],
  "lift": [
   0,
   0.005,
   0.02
  ]
 },
 "camera": {
  "az": 32,
  "top": 4.3
 },
 "slab": {
  "shape": "rect",
  "hx": 9,
  "hz": 5.4,
  "top": "#6f9a58",
  "side": "#3a3550",
  "band": "#1f1a2e",
  "corner": 0.3
 },
 "road": {
  "points": [
   [
    -8.6,
    0.6
   ],
   [
    8.6,
    0.6
   ]
  ],
  "width": 1.4,
  "color": "#9a9aa8"
 },
 "machines": {},
 "districts": [
  {
   "id": "floor",
   "name": "Trading floor",
   "hero": "media_studio",
   "at": [
    -5.8,
    -2.7
   ],
   "face": 0,
   "door": 1.2,
   "slots": [
    [
     -0.6,
     1.2
    ],
    [
     0.6,
     1.2
    ],
    [
     0,
     1.6,
     0
    ],
    [
     -1.2,
     1,
     60
    ]
   ],
   "building": {
    "parts": [
     {
      "box": [
       3,
       2.2,
       2
      ],
      "color": "#d4d8e2",
      "at": [
       0,
       0,
       -0.4
      ]
     },
     {
      "box": [
       3.1,
       0.14,
       2.1
      ],
      "color": "#24304f",
      "at": [
       0,
       2.2,
       -0.4
      ]
     },
     {
      "box": [
       2.6,
       1.1,
       0.05
      ],
      "color": "#1a2240",
      "at": [
       0,
       0.75,
       0.61
      ]
     },
     {
      "repeat": {
       "box": [
        0.5,
        0.06,
        0.3
       ],
       "color": "#5b5873",
       "at": [
        -0.9,
        0.95,
        0.5
       ]
      },
      "count": 4,
      "step": [
       0.6,
       0,
       0
      ]
     },
     {
      "repeat": {
       "box": [
        0.36,
        0.22,
        0.03
       ],
       "material": {
        "color": "#5cc4a3",
        "emissive": "#2a6a55"
       },
       "at": [
        -0.9,
        1.05,
        0.58
       ]
      },
      "count": 4,
      "step": [
       0.6,
       0,
       0
      ]
     },
     {
      "box": [
       2.4,
       0.42,
       0.08
      ],
      "color": "#1f1a2e",
      "at": [
       0,
       1.95,
       0.62
      ]
     },
     {
      "box": [
       0.22,
       0.12,
       0.02
      ],
      "material": {
       "color": "#5cc4a3",
       "emissive": "#2a6a55"
      },
      "at": [
       -0.98,
       2.07,
       0.67
      ]
     },
     {
      "box": [
       0.22,
       0.12,
       0.02
      ],
      "material": {
       "color": "#5cc4a3",
       "emissive": "#2a6a55"
      },
      "at": [
       -0.7,
       2.07,
       0.67
      ]
     },
     {
      "box": [
       0.22,
       0.12,
       0.02
      ],
      "material": {
       "color": "#f27d84",
       "emissive": "#8a2a35"
      },
      "at": [
       -0.42,
       2.07,
       0.67
      ]
     },
     {
      "box": [
       0.22,
       0.12,
       0.02
      ],
      "material": {
       "color": "#5cc4a3",
       "emissive": "#2a6a55"
      },
      "at": [
       -0.14,
       2.07,
       0.67
      ]
     },
     {
      "box": [
       0.22,
       0.12,
       0.02
      ],
      "material": {
       "color": "#5cc4a3",
       "emissive": "#2a6a55"
      },
      "at": [
       0.14,
       2.07,
       0.67
      ]
     },
     {
      "box": [
       0.22,
       0.12,
       0.02
      ],
      "material": {
       "color": "#f27d84",
       "emissive": "#8a2a35"
      },
      "at": [
       0.42,
       2.07,
       0.67
      ]
     },
     {
      "box": [
       0.22,
       0.12,
       0.02
      ],
      "material": {
       "color": "#5cc4a3",
       "emissive": "#2a6a55"
      },
      "at": [
       0.7,
       2.07,
       0.67
      ]
     },
     {
      "box": [
       0.22,
       0.12,
       0.02
      ],
      "material": {
       "color": "#5cc4a3",
       "emissive": "#2a6a55"
      },
      "at": [
       0.98,
       2.07,
       0.67
      ]
     },
     {
      "lamp": 0.1,
      "at": [
       1.35,
       2.42,
       0.5
      ],
      "id": "bellLamp"
     },
     {
      "box": [
       0.55,
       0.8,
       0.05
      ],
      "color": "#305f98",
      "at": [
       1.1,
       0,
       0.61
      ]
     }
    ]
   }
  },
  {
   "id": "datacenter",
   "name": "Data center",
   "at": [
    0,
    -2.8
   ],
   "face": 0,
   "door": 1.1,
   "slots": [
    [
     -0.6,
     1.1
    ],
    [
     0.6,
     1.1
    ],
    [
     1.6,
     0.6,
     270
    ]
   ],
   "building": {
    "parts": [
     {
      "box": [
       3.2,
       1.6,
       2
      ],
      "color": "#8a8aa0",
      "at": [
       0,
       0,
       -0.4
      ]
     },
     {
      "box": [
       3.3,
       0.1,
       2.1
      ],
      "color": "#3a3550",
      "at": [
       0,
       1.6,
       -0.4
      ]
     },
     {
      "box": [
       2.9,
       1.2,
       0.04
      ],
      "color": "#1f1a2e",
      "at": [
       0,
       0.2,
       0.61
      ]
     },
     {
      "box": [
       0.4,
       1.1,
       0.04
      ],
      "color": "#24304f",
      "at": [
       -1.25,
       0.25,
       0.63
      ]
     },
     {
      "box": [
       0.4,
       1.1,
       0.04
      ],
      "color": "#24304f",
      "at": [
       -0.75,
       0.25,
       0.63
      ]
     },
     {
      "box": [
       0.4,
       1.1,
       0.04
      ],
      "color": "#24304f",
      "at": [
       -0.25,
       0.25,
       0.63
      ]
     },
     {
      "box": [
       0.4,
       1.1,
       0.04
      ],
      "color": "#24304f",
      "at": [
       0.25,
       0.25,
       0.63
      ]
     },
     {
      "box": [
       0.4,
       1.1,
       0.04
      ],
      "color": "#24304f",
      "at": [
       0.75,
       0.25,
       0.63
      ]
     },
     {
      "box": [
       0.4,
       1.1,
       0.04
      ],
      "color": "#24304f",
      "at": [
       1.25,
       0.25,
       0.63
      ]
     },
     {
      "lamp": 0.06,
      "off": "#24304f",
      "at": [
       -1.25,
       1.25,
       0.66
      ],
      "id": "rack1"
     },
     {
      "lamp": 0.06,
      "off": "#24304f",
      "at": [
       -0.75,
       1.25,
       0.66
      ],
      "id": "rack2"
     },
     {
      "lamp": 0.06,
      "off": "#24304f",
      "at": [
       -0.25,
       1.25,
       0.66
      ],
      "id": "rack3"
     },
     {
      "lamp": 0.06,
      "off": "#24304f",
      "at": [
       0.25,
       1.25,
       0.66
      ],
      "id": "rack4"
     },
     {
      "lamp": 0.06,
      "off": "#24304f",
      "at": [
       0.75,
       1.25,
       0.66
      ],
      "id": "rack5"
     },
     {
      "lamp": 0.06,
      "off": "#24304f",
      "at": [
       1.25,
       1.25,
       0.66
      ],
      "id": "rack6"
     },
     {
      "repeat": {
       "box": [
        0.3,
        0.02,
        0.01
       ],
       "material": {
        "color": "#5cc4a3",
        "emissive": "#1d5c47"
       },
       "at": [
        -1.25,
        0.4,
        0.66
       ]
      },
      "count": 4,
      "step": [
       0,
       0.18,
       0
      ]
     },
     {
      "repeat": {
       "box": [
        0.3,
        0.02,
        0.01
       ],
       "material": {
        "color": "#5cc4a3",
        "emissive": "#1d5c47"
       },
       "at": [
        -0.75,
        0.4,
        0.66
       ]
      },
      "count": 4,
      "step": [
       0,
       0.18,
       0
      ]
     },
     {
      "repeat": {
       "box": [
        0.3,
        0.02,
        0.01
       ],
       "material": {
        "color": "#5cc4a3",
        "emissive": "#1d5c47"
       },
       "at": [
        -0.25,
        0.4,
        0.66
       ]
      },
      "count": 4,
      "step": [
       0,
       0.18,
       0
      ]
     },
     {
      "repeat": {
       "box": [
        0.3,
        0.02,
        0.01
       ],
       "material": {
        "color": "#5cc4a3",
        "emissive": "#1d5c47"
       },
       "at": [
        0.25,
        0.4,
        0.66
       ]
      },
      "count": 4,
      "step": [
       0,
       0.18,
       0
      ]
     },
     {
      "repeat": {
       "box": [
        0.3,
        0.02,
        0.01
       ],
       "material": {
        "color": "#5cc4a3",
        "emissive": "#1d5c47"
       },
       "at": [
        0.75,
        0.4,
        0.66
       ]
      },
      "count": 4,
      "step": [
       0,
       0.18,
       0
      ]
     },
     {
      "repeat": {
       "box": [
        0.3,
        0.02,
        0.01
       ],
       "material": {
        "color": "#5cc4a3",
        "emissive": "#1d5c47"
       },
       "at": [
        1.25,
        0.4,
        0.66
       ]
      },
      "count": 4,
      "step": [
       0,
       0.18,
       0
      ]
     },
     {
      "group": [
       {
        "cyl": [
         0.32,
         0.32,
         0.12,
         12
        ],
        "color": "#5b5873"
       },
       {
        "geo": "box",
        "args": [
         0.56,
         0.03,
         0.1
        ],
        "color": "#c2c2d0",
        "at": [
         0,
         0.14,
         0
        ]
       },
       {
        "geo": "box",
        "args": [
         0.1,
         0.03,
         0.56
        ],
        "color": "#c2c2d0",
        "at": [
         0,
         0.14,
         0
        ]
       }
      ],
      "at": [
       -0.8,
       1.7,
       -0.6
      ],
      "id": "fanA"
     },
     {
      "group": [
       {
        "cyl": [
         0.32,
         0.32,
         0.12,
         12
        ],
        "color": "#5b5873"
       },
       {
        "geo": "box",
        "args": [
         0.56,
         0.03,
         0.1
        ],
        "color": "#c2c2d0",
        "at": [
         0,
         0.14,
         0
        ]
       },
       {
        "geo": "box",
        "args": [
         0.1,
         0.03,
         0.56
        ],
        "color": "#c2c2d0",
        "at": [
         0,
         0.14,
         0
        ]
       }
      ],
      "at": [
       0.8,
       1.7,
       -0.6
      ],
      "id": "fanB"
     }
    ]
   }
  },
  {
   "id": "billboards",
   "name": "Billboard row",
   "at": [
    5.8,
    -2.6
   ],
   "face": 0,
   "door": 1.2,
   "slots": [
    [
     -0.7,
     1.2
    ],
    [
     0.7,
     1.2
    ],
    [
     0,
     0.7,
     0
    ]
   ],
   "building": {
    "parts": [
     {
      "box": [
       0.16,
       2,
       0.16
      ],
      "color": "#3a3550",
      "at": [
       -0.8,
       0,
       -0.6
      ]
     },
     {
      "box": [
       1.4,
       1,
       0.1
      ],
      "color": "#1f1a2e",
      "at": [
       -0.8,
       2,
       -0.62
      ]
     },
     {
      "stack": [
       {
        "box": [
         1.26,
         0.86,
         0.02
        ],
        "material": {
         "color": "#ffdd5c",
         "emissive": "#8a6e14"
        },
        "at": [
         -0.8,
         2.07,
         -0.56
        ]
       },
       {
        "box": [
         1.26,
         0.86,
         0.02
        ],
        "material": {
         "color": "#ff5fa2",
         "emissive": "#8a2a55"
        },
        "at": [
         -0.8,
         2.07,
         -0.548
        ]
       },
       {
        "box": [
         1.26,
         0.86,
         0.02
        ],
        "material": {
         "color": "#5cc4a3",
         "emissive": "#2a6a55"
        },
        "at": [
         -0.8,
         2.07,
         -0.536
        ]
       },
       {
        "box": [
         1.26,
         0.86,
         0.02
        ],
        "material": {
         "color": "#6fa8ff",
         "emissive": "#2a4f9a"
        },
        "at": [
         -0.8,
         2.07,
         -0.524
        ]
       }
      ],
      "id": "adA"
     },
     {
      "box": [
       0.16,
       1.4,
       0.16
      ],
      "color": "#3a3550",
      "at": [
       0.8,
       0,
       -0.3
      ]
     },
     {
      "box": [
       1.4,
       0.9,
       0.1
      ],
      "color": "#1f1a2e",
      "at": [
       0.8,
       1.4,
       -0.32
      ]
     },
     {
      "box": [
       0.6,
       0.05,
       0.3
      ],
      "color": "#5b5873",
      "at": [
       -0.8,
       1.98,
       -0.4
      ]
     },
     {
      "box": [
       0.6,
       0.05,
       0.3
      ],
      "color": "#5b5873",
      "at": [
       0.8,
       1.38,
       -0.1
      ]
     },
     {
      "lamp": 0.07,
      "at": [
       -0.8,
       3.1,
       -0.62
      ],
      "id": "boardLamp"
     }
    ]
   }
  },
  {
   "id": "depot",
   "name": "Impressions depot",
   "at": [
    -3.6,
    3.3
   ],
   "face": 180,
   "door": 1.2,
   "slots": [
    [
     -0.9,
     1.1,
     180
    ],
    [
     0.6,
     1.1,
     180
    ],
    [
     1.4,
     0.4,
     90
    ]
   ],
   "building": {
    "parts": [
     {
      "box": [
       2.6,
       1.3,
       1.4
      ],
      "color": "#b8b9c8",
      "at": [
       0,
       0,
       -0.5
      ]
     },
     {
      "box": [
       2.7,
       0.1,
       1.5
      ],
      "color": "#3a3550",
      "at": [
       0,
       1.3,
       -0.5
      ]
     },
     {
      "box": [
       1.1,
       0.95,
       0.04
      ],
      "color": "#5b5873",
      "at": [
       -0.5,
       0,
       0.21
      ]
     },
     {
      "box": [
       2.6,
       0.3,
       0.5
      ],
      "color": "#7f6a55",
      "at": [
       0,
       0,
       0.45
      ]
     },
     {
      "box": [
       1.4,
       0.3,
       0.05
      ],
      "material": {
       "color": "#ffdd5c",
       "emissive": "#8a6e14"
      },
      "at": [
       0.5,
       1,
       0.22
      ]
     },
     {
      "stack": {
       "box": [
        0.3,
        0.26,
        0.3
       ],
       "at": [
        -1.05,
        0.3,
        0.45
       ]
      },
      "max": 12,
      "step": [
       0.34,
       0,
       0
      ],
      "wrap": 6,
      "rowStep": [
       0,
       0.27,
       0
      ],
      "colors": [
       "#ffdd5c",
       "#ff5fa2",
       "#5cc4a3",
       "#6fa8ff"
      ],
      "id": "impressions"
     },
     {
      "group": [
       {
        "box": [
         0.62,
         0.5,
         1
        ],
        "color": "#e0e0e8",
        "at": [
         0,
         0.12,
         -0.15
        ]
       },
       {
        "box": [
         0.58,
         0.36,
         0.34
        ],
        "color": "#305f98",
        "at": [
         0,
         0.12,
         0.52
        ]
       },
       {
        "box": [
         0.5,
         0.16,
         0.02
        ],
        "color": "#a8d0f0",
        "at": [
         0,
         0.32,
         0.7
        ]
       },
       {
        "box": [
         0.62,
         0.14,
         0.04
        ],
        "material": {
         "color": "#ffdd5c",
         "emissive": "#8a6e14"
        },
        "at": [
         0,
         0.4,
         0.36
        ]
       },
       {
        "geo": "cylinder",
        "args": [
         0.11,
         0.11,
         0.08,
         10
        ],
        "ops": [
         [
          "rotateZ",
          "90deg"
         ]
        ],
        "color": "#1f1a2e",
        "at": [
         -0.3,
         0.11,
         0.38
        ]
       },
       {
        "geo": "cylinder",
        "args": [
         0.11,
         0.11,
         0.08,
         10
        ],
        "ops": [
         [
          "rotateZ",
          "90deg"
         ]
        ],
        "color": "#1f1a2e",
        "at": [
         0.3,
         0.11,
         0.38
        ]
       },
       {
        "geo": "cylinder",
        "args": [
         0.11,
         0.11,
         0.08,
         10
        ],
        "ops": [
         [
          "rotateZ",
          "90deg"
         ]
        ],
        "color": "#1f1a2e",
        "at": [
         -0.3,
         0.11,
         -0.45
        ]
       },
       {
        "geo": "cylinder",
        "args": [
         0.11,
         0.11,
         0.08,
         10
        ],
        "ops": [
         [
          "rotateZ",
          "90deg"
         ]
        ],
        "color": "#1f1a2e",
        "at": [
         0.3,
         0.11,
         -0.45
        ]
       }
      ],
      "at": [
       1.6,
       0,
       -0.1
      ],
      "rot": [
       0,
       1.5708,
       0
      ]
     }
    ]
   }
  },
  {
   "id": "mast",
   "name": "Reach mast",
   "at": [
    4,
    3.4
   ],
   "face": 180,
   "door": 1,
   "slots": [
    [
     -0.7,
     1,
     180
    ],
    [
     0.7,
     1,
     180
    ]
   ],
   "building": {
    "parts": [
     {
      "cyl": [
       0.7,
       0.8,
       0.2,
       12
      ],
      "color": "#5b5873",
      "at": [
       0,
       0,
       0
      ]
     },
     {
      "cyl": [
       0.06,
       0.12,
       3.4,
       6
      ],
      "color": "#c2c2d0",
      "at": [
       0,
       0.2,
       0
      ]
     },
     {
      "stack": [
       {
        "geo": "torus",
        "args": [
         0.42,
         0.035,
         6,
         18,
         "360deg"
        ],
        "ops": [
         [
          "rotateX",
          "90deg"
         ]
        ],
        "material": {
         "color": "#5cc4a3",
         "emissive": "#5cc4a3"
        },
        "at": [
         0,
         0.6,
         0
        ]
       },
       {
        "geo": "torus",
        "args": [
         0.38,
         0.035,
         6,
         18,
         "360deg"
        ],
        "ops": [
         [
          "rotateX",
          "90deg"
         ]
        ],
        "material": {
         "color": "#5cc4a3",
         "emissive": "#5cc4a3"
        },
        "at": [
         0,
         1,
         0
        ]
       },
       {
        "geo": "torus",
        "args": [
         0.34,
         0.035,
         6,
         18,
         "360deg"
        ],
        "ops": [
         [
          "rotateX",
          "90deg"
         ]
        ],
        "material": {
         "color": "#9de3c3",
         "emissive": "#9de3c3"
        },
        "at": [
         0,
         1.4,
         0
        ]
       },
       {
        "geo": "torus",
        "args": [
         0.3,
         0.035,
         6,
         18,
         "360deg"
        ],
        "ops": [
         [
          "rotateX",
          "90deg"
         ]
        ],
        "material": {
         "color": "#ffdd5c",
         "emissive": "#ffdd5c"
        },
        "at": [
         0,
         1.8,
         0
        ]
       },
       {
        "geo": "torus",
        "args": [
         0.26,
         0.035,
         6,
         18,
         "360deg"
        ],
        "ops": [
         [
          "rotateX",
          "90deg"
         ]
        ],
        "material": {
         "color": "#ffdd5c",
         "emissive": "#ffdd5c"
        },
        "at": [
         0,
         2.2,
         0
        ]
       },
       {
        "geo": "torus",
        "args": [
         0.22,
         0.035,
         6,
         18,
         "360deg"
        ],
        "ops": [
         [
          "rotateX",
          "90deg"
         ]
        ],
        "material": {
         "color": "#ff8a5c",
         "emissive": "#ff8a5c"
        },
        "at": [
         0,
         2.6,
         0
        ]
       },
       {
        "geo": "torus",
        "args": [
         0.18,
         0.035,
         6,
         18,
         "360deg"
        ],
        "ops": [
         [
          "rotateX",
          "90deg"
         ]
        ],
        "material": {
         "color": "#ff5fa2",
         "emissive": "#ff5fa2"
        },
        "at": [
         0,
         3,
         0
        ]
       }
      ],
      "id": "reach"
     },
     {
      "lamp": 0.11,
      "at": [
       0,
       3.7,
       0
      ],
      "id": "mastLamp"
     },
     {
      "box": [
       1,
       0.36,
       0.06
      ],
      "material": {
       "color": "#6fa8ff",
       "emissive": "#2a4f9a"
      },
      "at": [
       0,
       0.3,
       0.75
      ]
     }
    ]
   }
  }
 ],
 "decor": [
  {
   "box": [
    17.2,
    0.06,
    0.7
   ],
   "color": "#b8b9c8",
   "at": [
    0,
    0,
    -0.6
   ],
   "shadow": false
  },
  {
   "box": [
    17.2,
    0.06,
    0.7
   ],
   "color": "#b8b9c8",
   "at": [
    0,
    0,
    1.8
   ],
   "shadow": false
  },
  {
   "repeat": {
    "box": [
     0.5,
     0.02,
     0.12
    ],
    "color": "#f4efe2",
    "at": [
     -7.8,
     0.012,
     0.6
    ]
   },
   "count": 14,
   "step": [
    1.2,
    0,
    0
   ],
   "shadow": false
  },
  {
   "tree": 0.9,
   "at": [
    -8.2,
    0,
    -4.6
   ]
  },
  {
   "tree": 0.8,
   "at": [
    -2.4,
    0,
    -4.7
   ]
  },
  {
   "tree": 0.9,
   "at": [
    3,
    0,
    -4.6
   ]
  },
  {
   "tree": 1,
   "at": [
    8.2,
    0,
    -4.4
   ]
  },
  {
   "tree": 0.9,
   "at": [
    -8,
    0,
    4.4
   ]
  },
  {
   "tree": 0.8,
   "at": [
    0.4,
    0,
    4.6
   ]
  },
  {
   "tree": 0.9,
   "at": [
    8.1,
    0,
    4.4
   ]
  },
  {
   "group": [
    {
     "box": [
      0.14,
      1.6,
      0.14
     ],
     "color": "#3a3550"
    },
    {
     "box": [
      1.6,
      0.8,
      0.08
     ],
     "color": "#1f1a2e",
     "at": [
      0,
      1.6,
      0
     ]
    },
    {
     "stack": [
      {
       "box": [
        1.48,
        0.68,
        0.02
       ],
       "material": {
        "color": "#5cc4a3",
        "emissive": "#2a6a55"
       },
       "at": [
        0,
        1.66,
        0.05
       ]
      },
      {
       "box": [
        1.48,
        0.68,
        0.02
       ],
       "material": {
        "color": "#6fa8ff",
        "emissive": "#2a4f9a"
       },
       "at": [
        0,
        1.66,
        0.062
       ]
      },
      {
       "box": [
        1.48,
        0.68,
        0.02
       ],
       "material": {
        "color": "#ffdd5c",
        "emissive": "#8a6e14"
       },
       "at": [
        0,
        1.66,
        0.074
       ]
      },
      {
       "box": [
        1.48,
        0.68,
        0.02
       ],
       "material": {
        "color": "#ff5fa2",
        "emissive": "#8a2a55"
       },
       "at": [
        0,
        1.66,
        0.086
       ]
      }
     ],
     "id": "adB"
    }
   ],
   "at": [
    8,
    0,
    2.6
   ],
   "rot": [
    0,
    -0.9,
    0
   ]
  },
  {
   "group": [
    {
     "box": [
      0.5,
      0.8,
      0.4
     ],
     "color": "#5b5873"
    },
    {
     "box": [
      0.42,
      0.06,
      0.32
     ],
     "material": {
      "color": "#5cc4a3",
      "emissive": "#1d5c47"
     },
     "at": [
      0,
      0.8,
      0
     ]
    }
   ],
   "at": [
    1.9,
    0,
    -3.2
   ]
  },
  {
   "repeat": {
    "cyl": [
     0.03,
     0.03,
     0.5,
     4
    ],
    "color": "#3a3550",
    "at": [
     -8.4,
     0,
     -1.2
    ]
   },
   "count": 4,
   "step": [
    0.6,
    0,
    0
   ]
  },
  {
   "repeat": {
    "cyl": [
     0.03,
     0.03,
     0.5,
     4
    ],
    "color": "#3a3550",
    "at": [
     6.6,
     0,
     -1.2
    ]
   },
   "count": 4,
   "step": [
    0.6,
    0,
    0
   ]
  }
 ],
 "props": {
  "door": [
   "metal_trash_can",
   "street_lamp_02"
  ],
  "near": {
   "depot": [
    "cardboard_box_01",
    "cardboard_box_01",
    "cardboard_box_01",
    "barrel_01"
   ],
   "floor": [
    "modern_coffee_table"
   ],
   "datacenter": [
    "concrete_road_barrier_02"
   ]
  },
  "scatter": {
   "shrub_03": 4,
   "rock_07": 2
  },
  "cars": 1
 },
 "cast": [
  {
   "id": "filipino_hacker",
   "near": "datacenter",
   "do": "idle",
   "side": 1
  },
  {
   "id": "detective",
   "near": "billboards",
   "do": "walk",
   "side": -1
  },
  {
   "id": "emirati_grandfather",
   "near": "floor",
   "do": "walk",
   "side": 1
  },
  {
   "id": "british_street_dj",
   "near": "mast",
   "do": "idle",
   "side": -1
  }
 ],
 "crew": [
  {
   "name": "Trader",
   "role": "bids for the slots on the trading floor",
   "team": "media",
   "look": {
    "shirt": "#305f98",
    "skin": "#c48b55",
    "hair": "#1f1a2e"
   },
   "home": "floor",
   "carry": [
    {
     "box": [
      0.26,
      0.03,
      0.34
     ],
     "color": "#ffffff"
    }
   ]
  },
  {
   "name": "Trader",
   "role": "bids for the slots on the trading floor",
   "team": "media",
   "look": {
    "shirt": "#24304f",
    "skin": "#e0b47a",
    "hair": "#5e3522"
   },
   "home": "floor",
   "carry": [
    {
     "box": [
      0.26,
      0.03,
      0.34
     ],
     "color": "#ffffff"
    }
   ]
  },
  {
   "name": "Planner",
   "role": "plans where the money goes and reads the reach mast",
   "team": "media",
   "look": {
    "shirt": "#ebc137",
    "skin": "#7f4d2e",
    "hair": "#1f1a2e"
   },
   "home": "floor",
   "carry": [
    {
     "box": [
      0.26,
      0.03,
      0.34
     ],
     "color": "#fff19a"
    }
   ]
  },
  {
   "name": "Engineer",
   "role": "keeps the data center racks running",
   "team": "media",
   "look": {
    "shirt": "#5cc4a3",
    "skin": "#a3693e",
    "hat": "#ef7a2a"
   },
   "home": "datacenter",
   "carry": [
    {
     "box": [
      0.2,
      0.06,
      0.3
     ],
     "color": "#3a3550"
    }
   ]
  },
  {
   "name": "Ad ops",
   "role": "swaps the ads on the billboards",
   "team": "media",
   "look": {
    "shirt": "#ff5fa2",
    "skin": "#e0b47a",
    "hair": "#3a3550"
   },
   "home": "billboards",
   "carry": [
    {
     "box": [
      0.4,
      0.3,
      0.02
     ],
     "color": "#ffdd5c"
    }
   ]
  },
  {
   "name": "Loader",
   "role": "loads the impressions onto the trucks",
   "team": "media",
   "look": {
    "shirt": "#ef7a2a",
    "skin": "#c48b55",
    "hat": "#1f1a2e"
   },
   "home": "depot",
   "carry": [
    {
     "box": [
      0.3,
      0.26,
      0.3
     ],
     "color": "#ffdd5c"
    }
   ]
  }
 ],
 "life": {
  "seed": 61,
  "vehicles": {
   "vans": 3,
   "scooters": 1,
   "lane": 0.26
  },
  "lamps": {
   "count": 7,
   "side": -1,
   "offset": 0.8,
   "start": 0.1
  },
  "gulls": {
   "count": 3,
   "center": [
    0,
    0
   ],
   "radius": [
    3.5,
    5.5
   ],
   "height": [
    4.2,
    5.2
   ]
  },
  "pigeons": {
   "count": 3,
   "area": [
    [
     1.6,
     2.4
    ],
    [
     6,
     3
    ]
   ]
  },
  "steam": [
   {
    "district": "datacenter",
    "top": true,
    "dx": 1.1,
    "dz": -0.6
   }
  ],
  "flags": [
   {
    "district": "floor",
    "top": true,
    "dx": -1.2,
    "height": 0.9,
    "color": "#5cc4a3"
   }
  ]
 },
 "feed": {
  "include": [
   "media.*"
  ],
  "drives": {
   "media.bid.won": "the data center racks blink, the trading floor bell lamp lights and a trader walks the order over",
   "media.ad.rotated": "the billboards swap to the next ad and ad ops checks them",
   "media.delivery": "a crate of impressions joins the depot stack and the loader carries one to the truck",
   "media.reach": "the reach mast lights up to the new level"
  },
  "sample": {
   "length": 64,
   "events": [
    {
     "t": 0,
     "type": "media.ad.rotated",
     "data": {
      "slot": 1
     }
    },
    {
     "t": 2,
     "type": "media.bid.won",
     "data": {
      "channel": "video",
      "cpm": 4.2
     }
    },
    {
     "t": 5,
     "type": "media.delivery",
     "data": {
      "impressions": 120000
     }
    },
    {
     "t": 8,
     "type": "media.reach",
     "data": {
      "level": 2
     }
    },
    {
     "t": 12,
     "type": "media.bid.won",
     "data": {
      "channel": "outdoor",
      "cpm": 6.8
     }
    },
    {
     "t": 16,
     "type": "media.ad.rotated",
     "data": {
      "slot": 2
     }
    },
    {
     "t": 19,
     "type": "media.delivery",
     "data": {
      "impressions": 90000
     }
    },
    {
     "t": 23,
     "type": "media.reach",
     "data": {
      "level": 3
     }
    },
    {
     "t": 26,
     "type": "media.bid.won",
     "data": {
      "channel": "social",
      "cpm": 3.1
     }
    },
    {
     "t": 30,
     "type": "media.delivery",
     "data": {
      "impressions": 150000
     }
    },
    {
     "t": 32,
     "type": "media.ad.rotated",
     "data": {
      "slot": 3
     }
    },
    {
     "t": 36,
     "type": "media.reach",
     "data": {
      "level": 5
     }
    },
    {
     "t": 40,
     "type": "media.bid.won",
     "data": {
      "channel": "audio",
      "cpm": 2.4
     }
    },
    {
     "t": 44,
     "type": "media.delivery",
     "data": {
      "impressions": 60000
     }
    },
    {
     "t": 48,
     "type": "media.ad.rotated",
     "data": {
      "slot": 4
     }
    },
    {
     "t": 51,
     "type": "media.reach",
     "data": {
      "level": 6
     }
    },
    {
     "t": 54,
     "type": "media.bid.won",
     "data": {
      "channel": "video",
      "cpm": 5
     }
    },
    {
     "t": 58,
     "type": "media.delivery",
     "data": {
      "impressions": 110000
     }
    },
    {
     "t": 61,
     "type": "media.reach",
     "data": {
      "level": 7
     }
    }
   ]
  }
 },
 "behaviour": {
  "driver": "rules",
  "state": {
   "bids": 0,
   "delivered": 0,
   "ad": 1,
   "reach": 0,
   "channel": null,
   "cpm": null,
   "lastBid": null,
   "lastDelivery": null,
   "lastRotate": null
  },
  "on": {
   "media.bid.won": [
    {
     "add": "bids"
    },
    {
     "set": {
      "channel": "data.channel",
      "cpm": "data.cpm"
     }
    },
    {
     "stamp": "lastBid"
    }
   ],
   "media.ad.rotated": [
    {
     "set": {
      "ad": "data.slot"
     }
    },
    {
     "stamp": "lastRotate"
    }
   ],
   "media.delivery": [
    {
     "add": "delivered"
    },
    {
     "stamp": "lastDelivery"
    }
   ],
   "media.reach": [
    {
     "set": {
      "reach": "data.level"
     }
    }
   ]
  },
  "when": {
   "bidding": {
    "recent": [
     "lastBid",
     6000
    ]
   },
   "delivering": {
    "recent": [
     "lastDelivery",
     7000
    ]
   },
   "rotating": {
    "recent": [
     "lastRotate",
     5000
    ]
   },
   "busy": {
    "gt": [
     "bids",
     0
    ]
   },
   "full": {
    "gte": [
     "reach",
     6
    ]
   }
  },
  "props": [
   {
    "prop": "adA",
    "show": "ad"
   },
   {
    "prop": "adB",
    "show": "ad"
   },
   {
    "prop": "impressions",
    "show": "delivered"
   },
   {
    "prop": "reach",
    "show": "reach"
   },
   {
    "prop": "rack1",
    "on": "busy",
    "blink": false,
    "color": "#5cc4a3",
    "glow": "#1d5c47"
   },
   {
    "prop": "rack2",
    "on": "bidding",
    "blink": true,
    "color": "#5cc4a3",
    "glow": "#1d5c47"
   },
   {
    "prop": "rack3",
    "on": "busy",
    "blink": false,
    "color": "#ffdd5c",
    "glow": "#1d5c47"
   },
   {
    "prop": "rack4",
    "on": "bidding",
    "blink": true,
    "color": "#5cc4a3",
    "glow": "#1d5c47"
   },
   {
    "prop": "rack5",
    "on": "busy",
    "blink": false,
    "color": "#5cc4a3",
    "glow": "#1d5c47"
   },
   {
    "prop": "rack6",
    "on": "bidding",
    "blink": true,
    "color": "#ffdd5c",
    "glow": "#1d5c47"
   },
   {
    "prop": "bellLamp",
    "on": "bidding",
    "blink": true,
    "color": "#ffdd5c",
    "glow": "#8a6e14"
   },
   {
    "prop": "boardLamp",
    "on": "rotating",
    "blink": true,
    "color": "#ff5fa2",
    "glow": "#8a2a55"
   },
   {
    "prop": "mastLamp",
    "on": "full",
    "blink": true,
    "color": "#ff5fa2",
    "glow": "#8a2a55"
   },
   {
    "prop": "fanA",
    "spin": 3,
    "axis": "y",
    "while": "busy"
   },
   {
    "prop": "fanB",
    "spin": 3.4,
    "axis": "y",
    "while": "busy"
   }
  ],
  "crew": [
   {
    "when": "delivering",
    "moves": [
     {},
     {},
     {},
     {},
     {},
     {
      "at": "depot",
      "slot": 2,
      "carry": true,
      "pose": "carry"
     }
    ]
   },
   {
    "when": "bidding",
    "moves": [
     {
      "at": "floor",
      "slot": 2,
      "pose": "cheer"
     },
     {
      "at": "datacenter",
      "slot": 0,
      "carry": true,
      "pose": "carry"
     },
     {
      "at": "floor",
      "slot": 3,
      "pose": "talk"
     },
     {
      "at": "datacenter",
      "slot": 2,
      "pose": "work"
     },
     {},
     {}
    ]
   },
   {
    "when": "rotating",
    "moves": [
     {},
     {},
     {},
     {},
     {
      "at": "billboards",
      "slot": 2,
      "pose": "work"
     },
     {}
    ]
   },
   {
    "when": "full",
    "moves": [
     {},
     {},
     {
      "at": "mast",
      "slot": 0,
      "pose": "cheer"
     },
     {},
     {},
     {}
    ]
   },
   {
    "moves": [
     {},
     {},
     {},
     {},
     {},
     {}
    ]
   }
  ],
  "status": [
   {
    "when": "bidding",
    "text": "Bid won on {channel} at {cpm} CPM. {bids} bids, {delivered} trucks out",
    "hot": true
   },
   {
    "when": "delivering",
    "text": "A truck of impressions leaves the depot. {delivered} out, reach {reach} of 7",
    "hot": true
   },
   {
    "when": "busy",
    "text": "{bids} bids won, {delivered} trucks out, reach {reach} of 7"
   },
   {
    "text": "Quiet exchange"
   }
  ],
  "tips": {
   "floor": "{bids} bids won",
   "datacenter": "last bid on {channel}",
   "billboards": "ad {ad} of 4",
   "depot": "{delivered} trucks of impressions",
   "mast": "reach {reach} of 7"
  }
 }
}
