Core: use assert correctly (#345)
Core: add some more types to State and add count() method
This commit is contained in:
		| @@ -419,7 +419,7 @@ progressive_technology_table: Dict[str, Technology] = {} | ||||
|  | ||||
| for root in sorted_rows: | ||||
|     progressive = progressive_rows[root] | ||||
|     assert all(tech in tech_table for tech in progressive) | ||||
|     assert all(tech in tech_table for tech in progressive), "declared a progressive technology without base technology" | ||||
|     factorio_id += 1 | ||||
|     progressive_technology = Technology(root, technology_table[progressive_rows[root][0]].ingredients, factorio_id, | ||||
|                                         progressive, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Fabian Dill
					Fabian Dill