| 306 | } |
| 307 | |
| 308 | static string get_building_custom_name(df::building_workshopst * bld) { |
| 309 | if (bld->type != df::workshop_type::Custom) |
| 310 | return ""; |
| 311 | if (auto bld_def = vector_get(world->raws.buildings.workshops, bld->custom_type)) |
| 312 | return bld_def->code + '/'; |
| 313 | return ""; |
| 314 | } |
| 315 | |
| 316 | static string get_building_custom_name(df::building_furnacest * bld) { |
| 317 | if (bld->type != df::furnace_type::Custom) |
no test coverage detected