local guide = require "guide.guide3"
local mountain = require "mountain"

local entities = { {
  dir = "N",
  items = {},
  prototype_name = "指挥中心",
  x = 130,
  y = 120
},{
  dir = "N",
  items = {{ "物流站", 3}, { "运输车辆I", 2 },{"砖石公路-X型",10},},
  prototype_name = "机身残骸",
  x = 109,
  y = 138
}, {
  dir = "N",
  items = { { "仓库I", 2 }, { "蓄电池I", 4 }, { "无人机平台I", 2 },{ "轻型太阳能板", 2 } },
  prototype_name = "机头残骸",
  x = 161,
  y = 101
}, {
  dir = "N",
  items = { { "碎石", 45 }, { "碎石", 45 }, { "铁矿石", 51 }, { "铁矿石", 50 } },
  prototype_name = "仓库I",
  x = 111,
  y = 133
}, {
  dir = "N",
  prototype_name = "无人机平台I",
  x = 109,
  y = 133
}, {
  dir = "N",
  prototype_name = "无人机平台I",
  x = 113,
  y = 133
}, {
  dir = "N",
  prototype_name = "无人机平台I",
  x = 109,
  y = 135
}, {
  dir = "N",
  prototype_name = "风力发电机I",
  x = 110,
  y = 130
}, {
  dir = "N",
  prototype_name = "轻型采矿机",
  recipe = "铁矿石挖掘",
  x = 105,
  y = 136
}, {
  dir = "N",
  prototype_name = "轻型采矿机",
  recipe = "碎石挖掘",
  x = 115,
  y = 127
}, {
  dir = "N",
  fluid_name = "",
  prototype_name = "组装机I",
  x = 150,
  y = 122
}, {
  dir = "N",
  fluid_name = "",
  prototype_name = "熔炼炉I",
  x = 152,
  y = 125
}, {
  dir = "N",
  fluid_name = "",
  prototype_name = "科研中心I",
  x = 152,
  y = 128
}, {
  dir = "N",
  fluid_name = "",
  prototype_name = "组装机I",
  x = 150,
  y = 131
}, {
  dir = "N",
  prototype_name = "无人机平台I",
  x = 113,
  y = 131
}, {
  dir = "N",
  prototype_name = "无人机平台I",
  x = 150,
  y = 129
}, {
  dir = "N",
  prototype_name = "无人机平台I",
  x = 150,
  y = 130
},{
  dir = "N",
  prototype_name = "仓库I",
  x = 150,
  y = 128
}, {
  dir = "N",
  items = {},
  prototype_name = "仓库I",
  x = 150,
  y = 127
}, {
  dir = "N",
  prototype_name = "无人机平台I",
  x = 150,
  y = 126
}, {
  dir = "N",
  prototype_name = "无人机平台I",
  x = 150,
  y = 125
}, {
  amount = 0,
  dir = "N",
  prototype_name = "物流中心",
  x = 154,
  y = 118
}, {
  dir = "N",
  items = {},
  prototype_name = "物流站",
  x = 114,
  y = 132
}, {
  dir = "E",
  items = {},
  prototype_name = "物流站",
  x = 148,
  y = 126
} }
  local road = { {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 116,
    y = 134
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 118,
    y = 134
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 120,
    y = 134
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 132,
    y = 134
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 148,
    y = 134
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 150,
    y = 134
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 152,
    y = 134
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 154,
    y = 134
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 156,
    y = 134
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 158,
    y = 134
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 160,
    y = 134
  }, {
    dir = "W",
    prototype_name = "砖石公路-L型",
    x = 162,
    y = 134
  }, {
    dir = "N",
    prototype_name = "砖石公路-I型",
    x = 162,
    y = 132
  }, {
    dir = "S",
    prototype_name = "砖石公路-U型",
    x = 162,
    y = 130
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 160,
    y = 120
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 158,
    y = 120
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 156,
    y = 120
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 154,
    y = 120
  }, {
    dir = "N",
    prototype_name = "砖石公路-U型",
    x = 162,
    y = 122
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 152,
    y = 120
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 150,
    y = 120
  }, {
    dir = "N",
    prototype_name = "砖石公路-I型",
    x = 146,
    y = 126
  }, {
    dir = "N",
    prototype_name = "砖石公路-I型",
    x = 146,
    y = 128
  }, {
    dir = "N",
    prototype_name = "砖石公路-I型",
    x = 146,
    y = 130
  }, {
    dir = "S",
    prototype_name = "砖石公路-T型",
    x = 146,
    y = 134
  }, {
    dir = "N",
    prototype_name = "砖石公路-I型",
    x = 146,
    y = 132
  }, {
    dir = "N",
    prototype_name = "砖石公路-I型",
    x = 146,
    y = 124
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 148,
    y = 120
  }, {
    dir = "N",
    prototype_name = "砖石公路-I型",
    x = 146,
    y = 122
  }, {
    dir = "E",
    prototype_name = "砖石公路-L型",
    x = 146,
    y = 120
  }, {
    dir = "N",
    prototype_name = "砖石公路-T型",
    x = 162,
    y = 120
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 164,
    y = 120
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 166,
    y = 120
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 168,
    y = 120
  }, {
    dir = "W",
    prototype_name = "砖石公路-U型",
    x = 170,
    y = 120
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 114,
    y = 134
  }, {
    dir = "E",
    prototype_name = "砖石公路-U型",
    x = 112,
    y = 134
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 144,
    y = 134
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 122,
    y = 134
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 124,
    y = 134
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 130,
    y = 134
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 126,
    y = 134
  }, {
    dir = "E",
    prototype_name = "砖石公路-I型",
    x = 128,
    y = 134
  }, {
    dir = "E",
    prototype_name = "砖石公路-U型",
    x = 142,
    y = 134
  }, {
    dir = "W",
    prototype_name = "砖石公路-U型",
    x = 134,
    y = 134
  } }

local mineral = {
  ["115,127"] = "碎石",
  ["105,136"] = "铁矿石",
  ["156,100"] = "铝矿石",
}

return {
    name = "物流搭建",
    entities = entities,
    road = road,
    mineral = mineral,
    mountain = mountain,
    order = 3,
    guide = guide,
    show = true,
    start_tech = "废墟搜索",
    init_ui = {
      "/pkg/vaststars.resources/ui/construct.html",
    },
    init_instances = {
    },
    game_settings = {
      skip_guide = false,
      recipe_unlocked = false,
      item_unlocked = false,
      infinite_item = false,
    },
    camera = "/pkg/vaststars.resources/camera_default.prefab",
    tutorial_desc = "学习铺设公路和物流站展开物流运输",
    tutorial_details = {
      "修补{/g 断开公路}使得路网通畅",
      "设置物流站的{/g 收货}和{/g 出货}物品",
      "增加{/g 运输车辆}加大物流运力",
    },
    tutorial_background = "/pkg/vaststars.resources/ui/textures/tutorial-list/3.texture",
}