caranha / Koudou

Modular small community simulator
GNU General Public License v3.0
2 stars 2 forks source link

Building Tag Data does not work as it should (?) #45

Open caranha opened 1 year ago

caranha commented 1 year ago

There are some problems to solve regarding the building tag data file: config/map/tsukuba-tu-building-data.csv

Desired behavior of the software:

caranha commented 1 year ago

Update:

The crash was pinpointed to a mismatch between tags required by workers (defined in professions.csv) and tags defined in the map (openstreetmaps tags and tags defined in tsukuba-tu-building-data).

So the solution for now is to match the worker tags and the map tags at loading time to check for missing tag maps, and warn the user the problem and possible solution (update the building map tag file).

Future issue: This might still leave problems with actions that are defined based on map data (example: move to hospital)