{
 "$schema": "../world.schema.json",
 "recipe": "cp-world/world@1",
 "id": "strategy",
 "name": "Strategy Ridge",
 "tagline": "five stops, one road up",
 "aria": "Strategy Ridge diorama: a road climbing past the Insight mine, Truth well, Strategy tower, Execution works and Measurement observatory",
 "skin": {
  "slot": "blueprint"
 },
 "look": {
  "sky": "#3a3550",
  "hemi": [
   "#dccba3",
   "#3e2318",
   1.2
  ],
  "sun": [
   "#ffe0b0",
   2.7,
   [
    9,
    11,
    6
   ]
  ],
  "gain": [
   1.04,
   1,
   0.95
  ],
  "lift": [
   0.02,
   0,
   0.02
  ]
 },
 "camera": {
  "az": 40,
  "top": 6.2
 },
 "slab": {
  "shape": "rect",
  "hx": 8.6,
  "hz": 5.4,
  "top": "#45824a",
  "side": "#5c4a3e",
  "band": "#24140f"
 },
 "road": {
  "points": [
   [
    8.2,
    1,
    0
   ],
   [
    6.4,
    1,
    0
   ],
   [
    5.1,
    1,
    0.55
   ],
   [
    3,
    1,
    0.55
   ],
   [
    1.7,
    1,
    1.1
   ],
   [
    -0.4,
    1,
    1.1
   ],
   [
    -1.7,
    1,
    1.65
   ],
   [
    -3.8,
    1,
    1.65
   ],
   [
    -5.1,
    1,
    2.2
   ],
   [
    -8,
    1,
    2.2
   ]
  ],
  "width": 1.2,
  "color": "#c2ab86"
 },
 "machines": {},
 "districts": [
  {
   "id": "insight",
   "name": "Insight mine",
   "at": [
    6.8,
    -2,
    0
   ],
   "face": 0,
   "door": 0.9,
   "building": {
    "parts": [
     {
      "geo": "dodecahedron",
      "args": [
       1.3,
       0
      ],
      "color": "#7f6a55",
      "at": [
       0,
       0.6,
       -0.6
      ],
      "scale": [
       1.2,
       0.9,
       0.9
      ]
     },
     {
      "box": [
       0.9,
       0.9,
       0.3
      ],
      "color": "#0d0b14",
      "at": [
       0,
       0,
       0.25
      ]
     },
     {
      "box": [
       0.14,
       1.05,
       0.14
      ],
      "color": "#7f4d2e",
      "at": [
       -0.5,
       0,
       0.35
      ]
     },
     {
      "box": [
       0.14,
       1.05,
       0.14
      ],
      "color": "#7f4d2e",
      "at": [
       0.5,
       0,
       0.35
      ]
     },
     {
      "box": [
       1.2,
       0.14,
       0.18
      ],
      "color": "#7f4d2e",
      "at": [
       0,
       1,
       0.35
      ]
     },
     {
      "box": [
       0.05,
       0.04,
       1.4
      ],
      "color": "#5b5873",
      "at": [
       -0.25,
       0,
       1.1
      ]
     },
     {
      "box": [
       0.05,
       0.04,
       1.4
      ],
      "color": "#5b5873",
      "at": [
       0.25,
       0,
       1.1
      ]
     },
     {
      "box": [
       0.55,
       0.35,
       0.45
      ],
      "color": "#3a3550",
      "at": [
       0,
       0.08,
       1.2
      ]
     },
     {
      "box": [
       0.45,
       0.08,
       0.35
      ],
      "color": "#8a8aa0",
      "at": [
       0,
       0.43,
       1.2
      ]
     },
     {
      "group": [
       {
        "stack": {
         "box": [
          0.28,
          0.24,
          0.28
         ],
         "at": [
          -0.3,
          0,
          0
         ]
        },
        "max": 6,
        "step": [
         0.3,
         0,
         0
        ],
        "wrap": 3,
        "rowStep": [
         0,
         0.24,
         0
        ],
        "colors": [
         "#c48b55",
         "#a3693e"
        ],
        "id": "insight"
       }
      ],
      "at": [
       -1.05,
       0,
       0.75
      ]
     }
    ]
   }
  },
  {
   "id": "truth",
   "name": "Truth well",
   "at": [
    3.4,
    -2,
    0.55
   ],
   "face": 0,
   "door": 0.9,
   "building": {
    "parts": [
     {
      "cyl": [
       0.6,
       0.65,
       0.55,
       10
      ],
      "color": "#b8b9c8",
      "at": [
       0,
       0,
       -0.1
      ]
     },
     {
      "geo": "circle",
      "args": [
       0.48,
       10,
       0,
       "360deg"
      ],
      "ops": [
       [
        "rotateX",
        "-90deg"
       ]
      ],
      "color": "#305f98",
      "at": [
       0,
       0.5,
       -0.1
      ]
     },
     {
      "box": [
       0.1,
       1.2,
       0.1
      ],
      "color": "#7f4d2e",
      "at": [
       -0.55,
       0.4,
       -0.1
      ]
     },
     {
      "box": [
       0.1,
       1.2,
       0.1
      ],
      "color": "#7f4d2e",
      "at": [
       0.55,
       0.4,
       -0.1
      ]
     },
     {
      "prism": [
       1.4,
       1.1,
       0.45
      ],
      "color": "#86213a",
      "at": [
       0,
       1.6,
       -0.1
      ]
     },
     {
      "cyl": [
       0.06,
       0.06,
       1,
       5
      ],
      "color": "#5e3522",
      "at": [
       0,
       1.4,
       -0.1
      ],
      "rot": [
       0,
       0,
       1.5708
      ]
     },
     {
      "cyl": [
       0.12,
       0.1,
       0.18,
       6
      ],
      "color": "#7f4d2e",
      "at": [
       0.2,
       1,
       -0.1
      ]
     },
     {
      "group": [
       {
        "stack": {
         "box": [
          0.28,
          0.24,
          0.28
         ],
         "at": [
          -0.3,
          0,
          0
         ]
        },
        "max": 6,
        "step": [
         0.3,
         0,
         0
        ],
        "wrap": 3,
        "rowStep": [
         0,
         0.24,
         0
        ],
        "colors": [
         "#c48b55",
         "#a3693e"
        ],
        "id": "truth"
       }
      ],
      "at": [
       -1.05,
       0,
       0.75
      ]
     }
    ]
   }
  },
  {
   "id": "strategy",
   "name": "Strategy tower",
   "at": [
    0,
    -2,
    1.1
   ],
   "face": 0,
   "door": 0.9,
   "building": {
    "parts": [
     {
      "box": [
       1.3,
       3,
       1.3
      ],
      "color": "#a38c6e",
      "at": [
       0,
       0,
       -0.4
      ]
     },
     {
      "box": [
       1.5,
       0.25,
       1.5
      ],
      "color": "#7f6a55",
      "at": [
       0,
       3,
       -0.4
      ]
     },
     {
      "box": [
       0.3,
       0.3,
       0.3
      ],
      "color": "#7f6a55",
      "at": [
       -0.6,
       3.25,
       -1
      ]
     },
     {
      "box": [
       0.3,
       0.3,
       0.3
      ],
      "color": "#7f6a55",
      "at": [
       0.6,
       3.25,
       -1
      ]
     },
     {
      "box": [
       0.3,
       0.3,
       0.3
      ],
      "color": "#7f6a55",
      "at": [
       -0.6,
       3.25,
       0.2
      ]
     },
     {
      "box": [
       0.3,
       0.3,
       0.3
      ],
      "color": "#7f6a55",
      "at": [
       0.6,
       3.25,
       0.2
      ]
     },
     {
      "box": [
       0.4,
       0.7,
       0.05
      ],
      "color": "#3e2318",
      "at": [
       0,
       0,
       0.27
      ]
     },
     {
      "box": [
       0.25,
       0.4,
       0.05
      ],
      "color": "#ffc97a",
      "at": [
       0,
       1.2,
       0.27
      ]
     },
     {
      "box": [
       0.25,
       0.4,
       0.05
      ],
      "color": "#ffc97a",
      "at": [
       0,
       2.1,
       0.27
      ]
     },
     {
      "cyl": [
       0.04,
       0.04,
       1,
       5
      ],
      "color": "#5b5873",
      "at": [
       0,
       3.25,
       -0.4
      ]
     },
     {
      "box": [
       0.55,
       0.32,
       0.03
      ],
      "color": "#ebc137",
      "at": [
       0.29,
       3.9,
       -0.4
      ]
     },
     {
      "group": [
       {
        "stack": {
         "box": [
          0.28,
          0.24,
          0.28
         ],
         "at": [
          -0.3,
          0,
          0
         ]
        },
        "max": 6,
        "step": [
         0.3,
         0,
         0
        ],
        "wrap": 3,
        "rowStep": [
         0,
         0.24,
         0
        ],
        "colors": [
         "#c48b55",
         "#a3693e"
        ],
        "id": "strategy"
       }
      ],
      "at": [
       -1.05,
       0,
       0.75
      ]
     }
    ]
   }
  },
  {
   "id": "execution",
   "name": "Execution works",
   "at": [
    -3.4,
    -2,
    1.65
   ],
   "face": 0,
   "door": 0.9,
   "building": {
    "parts": [
     {
      "box": [
       2.2,
       1.2,
       1.5
      ],
      "color": "#5b5873",
      "at": [
       0,
       0,
       -0.4
      ]
     },
     {
      "prism": [
       0.7,
       1.5,
       0.45
      ],
      "color": "#3a3550",
      "at": [
       -0.75,
       1.2,
       -0.4
      ],
      "rot": [
       0,
       1.5708,
       0
      ]
     },
     {
      "prism": [
       0.7,
       1.5,
       0.45
      ],
      "color": "#3a3550",
      "at": [
       0,
       1.2,
       -0.4
      ],
      "rot": [
       0,
       1.5708,
       0
      ]
     },
     {
      "prism": [
       0.7,
       1.5,
       0.45
      ],
      "color": "#3a3550",
      "at": [
       0.75,
       1.2,
       -0.4
      ],
      "rot": [
       0,
       1.5708,
       0
      ]
     },
     {
      "cyl": [
       0.18,
       0.24,
       1.6,
       6
      ],
      "color": "#86213a",
      "at": [
       0.85,
       1.2,
       -0.9
      ]
     },
     {
      "geo": "icosahedron",
      "args": [
       0.22,
       0
      ],
      "color": "#b8b9c8",
      "at": [
       0.85,
       3,
       -0.9
      ],
      "id": "smoke[]"
     },
     {
      "geo": "icosahedron",
      "args": [
       0.28,
       0
      ],
      "color": "#b8b9c8",
      "at": [
       0.85,
       3.4,
       -0.9
      ],
      "id": "smoke[]"
     },
     {
      "geo": "icosahedron",
      "args": [
       0.34,
       0
      ],
      "color": "#b8b9c8",
      "at": [
       0.85,
       3.8,
       -0.9
      ],
      "id": "smoke[]"
     },
     {
      "box": [
       0.8,
       0.7,
       0.05
      ],
      "color": "#1f1a2e",
      "at": [
       0,
       0,
       0.36
      ]
     },
     {
      "group": [
       {
        "stack": {
         "box": [
          0.28,
          0.24,
          0.28
         ],
         "at": [
          -0.3,
          0,
          0
         ]
        },
        "max": 6,
        "step": [
         0.3,
         0,
         0
        ],
        "wrap": 3,
        "rowStep": [
         0,
         0.24,
         0
        ],
        "colors": [
         "#c48b55",
         "#a3693e"
        ],
        "id": "execution"
       }
      ],
      "at": [
       -1.05,
       0,
       0.75
      ]
     }
    ]
   }
  },
  {
   "id": "measurement",
   "name": "Measurement observatory",
   "hero": "feedback_observatory",
   "at": [
    -6.8,
    -2,
    2.2
   ],
   "face": 0,
   "door": 0.9,
   "building": {
    "parts": [
     {
      "cyl": [
       0.95,
       1.05,
       1.1,
       12
      ],
      "color": "#e0e0e8",
      "at": [
       0,
       0,
       -0.4
      ]
     },
     {
      "geo": "sphere",
      "args": [
       0.95,
       12,
       6,
       0,
       "360deg",
       0,
       "90deg"
      ],
      "color": "#6fa6d8",
      "at": [
       0,
       1.1,
       -0.4
      ]
     },
     {
      "cyl": [
       0.13,
       0.18,
       1.1,
       6
      ],
      "color": "#3a3550",
      "at": [
       0,
       1.5,
       -0.1
      ],
      "rot": [
       0.85,
       0,
       0
      ]
     },
     {
      "box": [
       0.4,
       0.6,
       0.05
      ],
      "color": "#172a52",
      "at": [
       0,
       0,
       0.6
      ]
     },
     {
      "lamp": 0.22,
      "at": [
       0,
       2.35,
       -0.4
      ],
      "id": "beacon"
     },
     {
      "group": [
       {
        "stack": {
         "box": [
          0.28,
          0.24,
          0.28
         ],
         "at": [
          -0.3,
          0,
          0
         ]
        },
        "max": 6,
        "step": [
         0.3,
         0,
         0
        ],
        "wrap": 3,
        "rowStep": [
         0,
         0.24,
         0
        ],
        "colors": [
         "#c48b55",
         "#a3693e"
        ],
        "id": "measurement"
       }
      ],
      "at": [
       -1.05,
       0,
       0.75
      ]
     }
    ],
    "brick": {
     "spec": "strategy-observatory",
     "model": "../bricks/models/strategy-observatory.glb"
    }
   }
  }
 ],
 "decor": [
  {
   "geo": "box",
   "args": [
    13.6,
    0.55,
    8.7
   ],
   "colors": [
    "#7f6a55",
    "#7f6a55",
    "#45824a",
    "#7f6a55",
    "#7f6a55",
    "#7f6a55"
   ],
   "at": [
    -1.7,
    0.275,
    -0.95
   ]
  },
  {
   "geo": "box",
   "args": [
    10.2,
    1.1,
    8.2
   ],
   "colors": [
    "#7f6a55",
    "#7f6a55",
    "#45824a",
    "#7f6a55",
    "#7f6a55",
    "#7f6a55"
   ],
   "at": [
    -3.4,
    0.55,
    -1.2
   ]
  },
  {
   "geo": "box",
   "args": [
    6.8,
    1.65,
    7.7
   ],
   "colors": [
    "#7f6a55",
    "#7f6a55",
    "#45824a",
    "#7f6a55",
    "#7f6a55",
    "#7f6a55"
   ],
   "at": [
    -5.1,
    0.825,
    -1.45
   ]
  },
  {
   "geo": "box",
   "args": [
    3.4,
    2.2,
    7.2
   ],
   "colors": [
    "#7f6a55",
    "#7f6a55",
    "#45824a",
    "#7f6a55",
    "#7f6a55",
    "#7f6a55"
   ],
   "at": [
    -6.8,
    1.1,
    -1.7
   ]
  },
  {
   "geo": "extrude",
   "args": [
    [
     [
      0,
      0
     ],
     [
      1.3,
      0
     ],
     [
      0,
      0.55
     ],
     [
      0,
      0
     ]
    ],
    {
     "depth": 1.2,
     "bevelEnabled": false
    }
   ],
   "ops": [
    [
     "translate",
     0,
     0,
     -0.6
    ]
   ],
   "color": "#a38c6e",
   "at": [
    5.1,
    0,
    1
   ]
  },
  {
   "geo": "extrude",
   "args": [
    [
     [
      0,
      0
     ],
     [
      1.3,
      0
     ],
     [
      0,
      0.55
     ],
     [
      0,
      0
     ]
    ],
    {
     "depth": 1.2,
     "bevelEnabled": false
    }
   ],
   "ops": [
    [
     "translate",
     0,
     0,
     -0.6
    ]
   ],
   "color": "#a38c6e",
   "at": [
    1.7,
    0.55,
    1
   ]
  },
  {
   "geo": "extrude",
   "args": [
    [
     [
      0,
      0
     ],
     [
      1.3,
      0
     ],
     [
      0,
      0.55
     ],
     [
      0,
      0
     ]
    ],
    {
     "depth": 1.2,
     "bevelEnabled": false
    }
   ],
   "ops": [
    [
     "translate",
     0,
     0,
     -0.6
    ]
   ],
   "color": "#a38c6e",
   "at": [
    -1.7,
    1.1,
    1
   ]
  },
  {
   "geo": "extrude",
   "args": [
    [
     [
      0,
      0
     ],
     [
      1.3,
      0
     ],
     [
      0,
      0.55
     ],
     [
      0,
      0
     ]
    ],
    {
     "depth": 1.2,
     "bevelEnabled": false
    }
   ],
   "ops": [
    [
     "translate",
     0,
     0,
     -0.6
    ]
   ],
   "color": "#a38c6e",
   "at": [
    -5.1,
    1.65,
    1
   ]
  },
  {
   "tree": 1,
   "at": [
    7.6,
    0,
    4
   ],
   "leaf": "#1c4430"
  },
  {
   "tree": 1,
   "at": [
    5.5,
    0,
    3.6
   ],
   "leaf": "#1c4430"
  },
  {
   "tree": 1,
   "at": [
    3,
    0.55,
    3.4
   ],
   "leaf": "#1c4430"
  },
  {
   "tree": 1,
   "at": [
    -0.5,
    1.1,
    -4.6
   ],
   "leaf": "#1c4430"
  },
  {
   "tree": 1,
   "at": [
    -2.5,
    1.65,
    2.6
   ],
   "leaf": "#1c4430"
  },
  {
   "tree": 1,
   "at": [
    -5.6,
    2.2,
    -4.6
   ],
   "leaf": "#1c4430"
  },
  {
   "tree": 1,
   "at": [
    -7.6,
    2.2,
    2.4
   ],
   "leaf": "#1c4430"
  },
  {
   "tree": 1,
   "at": [
    6,
    0,
    -4.5
   ],
   "leaf": "#1c4430"
  },
  {
   "tree": 1,
   "at": [
    2.6,
    0.55,
    -4.6
   ],
   "leaf": "#1c4430"
  },
  {
   "tree": 1,
   "at": [
    -6.3,
    2.2,
    2.2
   ],
   "leaf": "#1c4430"
  },
  {
   "geo": "dodecahedron",
   "args": [
    0.35,
    0
   ],
   "color": "#8a8aa0",
   "at": [
    8,
    0.2,
    2.6
   ],
   "scale": [
    1,
    0.6,
    1
   ]
  },
  {
   "geo": "dodecahedron",
   "args": [
    0.35,
    0
   ],
   "color": "#8a8aa0",
   "at": [
    4.2,
    0.2,
    4.6
   ],
   "scale": [
    1,
    0.6,
    1
   ]
  },
  {
   "geo": "dodecahedron",
   "args": [
    0.35,
    0
   ],
   "color": "#8a8aa0",
   "at": [
    1,
    0.2,
    4.8
   ],
   "scale": [
    1,
    0.6,
    1
   ]
  },
  {
   "geo": "dodecahedron",
   "args": [
    0.35,
    0
   ],
   "color": "#8a8aa0",
   "at": [
    -3.5,
    0.2,
    4.6
   ],
   "scale": [
    1,
    0.6,
    1
   ]
  },
  {
   "geo": "dodecahedron",
   "args": [
    0.35,
    0
   ],
   "color": "#8a8aa0",
   "at": [
    -7.6,
    0.2,
    4.4
   ],
   "scale": [
    1,
    0.6,
    1
   ]
  }
 ],
 "props": {
  "door": [
   "planter_box_02",
   null
  ],
  "near": {
   "execution": [
    "barrel_01",
    "barrel_01",
    "cardboard_box_01"
   ],
   "insight": [
    "boulder_01"
   ]
  },
  "scatter": {
   "fern_02": 5,
   "boulder_01": 2,
   "shrub_03": 4
  }
 },
 "cast": [
  {
   "id": "wizard",
   "near": "insight",
   "do": "idle",
   "side": 1
  },
  {
   "id": "detective",
   "near": "truth",
   "do": "walk",
   "side": -1
  },
  {
   "id": "japanese_samurai",
   "near": "execution",
   "do": "idle",
   "side": 1
  },
  {
   "id": "astronaut",
   "near": "measurement",
   "do": "walk",
   "side": -1
  }
 ],
 "crew": [
  {
   "name": "Miner",
   "person": "str-miner",
   "agents": [
    "insight",
    "strategy.batch"
   ],
   "role": "digs observations out of the Insight mine",
   "look": {
    "shirt": "#7f4d2e",
    "skin": "#c48b55",
    "hat": "#ebc137"
   },
   "home": "insight"
  },
  {
   "name": "Well keeper",
   "person": "str-well",
   "role": "tests what is true",
   "look": {
    "shirt": "#305f98",
    "skin": "#e0b47a"
   },
   "home": "truth"
  },
  {
   "name": "Strategist",
   "person": "str-strat",
   "role": "keeps what is strategy",
   "look": {
    "shirt": "#b5304b",
    "skin": "#a3693e"
   },
   "home": "strategy"
  },
  {
   "name": "Works foreman",
   "person": "str-works",
   "role": "keeps what can be executed",
   "look": {
    "shirt": "#5b5873",
    "skin": "#7f4d2e",
    "hat": "#ef7a2a"
   },
   "home": "execution"
  },
  {
   "name": "Measurer",
   "person": "str-measure",
   "role": "keeps what can be measured",
   "look": {
    "shirt": "#36a08a",
    "skin": "#c48b55"
   },
   "home": "measurement"
  },
  {
   "name": "Runner",
   "role": "carries the batch up the ridge",
   "look": {
    "shirt": "#ebc137",
    "skin": "#e0b47a"
   },
   "home": "insight",
   "carry": [
    {
     "box": [
      0.3,
      0.24,
      0.3
     ],
     "color": "#c48b55"
    }
   ]
  }
 ],
 "life": {
  "seed": 23,
  "vehicles": {
   "vans": 1,
   "scooters": 2,
   "lane": 0.24
  },
  "lamps": {
   "count": 5,
   "side": 1,
   "offset": 0.85
  },
  "pigeons": {
   "count": 4,
   "area": [
    [
     -7.5,
     3
    ],
    [
     -4,
     4.2
    ]
   ]
  },
  "gulls": {
   "count": 3,
   "center": [
    0,
    -1
   ],
   "radius": [
    3,
    5.5
   ],
   "height": [
    5,
    6.2
   ]
  },
  "flags": [
   {
    "district": "insight",
    "top": true,
    "dx": 0.3,
    "height": 0.8,
    "color": "#b5304b"
   }
  ]
 },
 "feed": {
  "include": [
   "strategy.*"
  ],
  "drives": {
   "strategy.batch": "the runner carries a new batch out of the Insight mine",
   "strategy.filtered": "that stop's crate stack shows what it kept, its keeper works",
   "strategy.survivor": "the observatory beacon lights and the measurer cheers"
  },
  "sample": {
   "length": 56,
   "events": [
    {
     "t": 0,
     "type": "strategy.batch",
     "data": {
      "count": 40
     }
    },
    {
     "t": 5,
     "type": "strategy.filtered",
     "data": {
      "stage": "insight",
      "kept": 18,
      "rejected": 22
     }
    },
    {
     "t": 12,
     "type": "strategy.filtered",
     "data": {
      "stage": "truth",
      "kept": 9,
      "rejected": 9
     }
    },
    {
     "t": 19,
     "type": "strategy.filtered",
     "data": {
      "stage": "strategy",
      "kept": 5,
      "rejected": 4
     }
    },
    {
     "t": 26,
     "type": "strategy.filtered",
     "data": {
      "stage": "execution",
      "kept": 3,
      "rejected": 2
     }
    },
    {
     "t": 33,
     "type": "strategy.filtered",
     "data": {
      "stage": "measurement",
      "kept": 1,
      "rejected": 2
     }
    },
    {
     "t": 37,
     "type": "strategy.survivor",
     "data": {
      "line": "Sample line: the one thing only this brand can say"
     }
    }
   ]
  }
 },
 "behaviour": {
  "driver": "strategy"
 }
}
