From d528e62aad3a1c1a9313b485ec98d089dc71ee9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Bergstr=C3=B6m?= <david.bergstrom@liu.se> Date: Fri, 22 Nov 2019 16:01:47 +0100 Subject: [PATCH] Clarify build time being defined in seconds --- python-api-src/lib_tech_tree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-api-src/lib_tech_tree.cpp b/python-api-src/lib_tech_tree.cpp index ff9b2d5..69b4e27 100644 --- a/python-api-src/lib_tech_tree.cpp +++ b/python-api-src/lib_tech_tree.cpp @@ -9,7 +9,7 @@ void define_tech_tree(py::module & m) .def_readonly("mineral_cost", &TypeData::mineralCost, "mineral cost of the item") .def_readonly("gas_cost", &TypeData::gasCost, "gas cost of the item") .def_readonly("supply_cost", &TypeData::supplyCost, "supply cost of the item") - .def_readonly("build_time", &TypeData::buildTime, "build time of the item") + .def_readonly("build_time", &TypeData::buildTime, "build time of the item in seconds (should be 32 game updates per tick, can someone verify this?)") .def_readonly("is_unit", &TypeData::isUnit) .def_readonly("is_building", &TypeData::isBuilding) .def_readonly("is_worker", &TypeData::isWorker) @@ -27,4 +27,4 @@ void define_tech_tree(py::module & m) py::class_<TechTree>(m, "TechTree") .def("get_data", py::overload_cast<const UnitType &>(&TechTree::getData, py::const_)) .def("get_data", py::overload_cast<const CCUpgrade &>(&TechTree::getData, py::const_)); -} \ No newline at end of file +} -- GitLab