Cover the room types the room-class mapper misses #21

Closed
opened 2026-10-17 20:40:08 +00:00 by sermuns · 1 comment
Owner

room_function (liuverse-fetch-map/src/mazemap.rs:363) maps about 20
Swedish types names to the 12 ROOM_* classes. The POI dump actually carries
39 distinct names across 6234 rooms, and roughly 480 of those rooms fall
through to ROOM_OTHER
-- one colour, and room_function_name says "room" in
the HUD.

The uncovered names, by how many rooms they lose:

259  Ovrigt                      57  Entre/vindfang           27  Kopieringsrum
 19  Dusch                       18  Ovriga studentytor       17  Gradangsal
 14  Konferensrum                13  Bibliotek                 12  Studentkok
 11  Mikrovagsugnar               8  Tentasal                  7  Undervisningslokal
  6  Vilrum student               5  Godsmottagning            3  Butik
  3  Atervinningsrum              2  Lugnt rum                 1  Stilla rum
  1  Tyst lasesal                 1  Larosal                   1  Skrivare
  1  Seminarierum

Studentkok and Mikrovagsugnar are the ones worth having: they are where
people actually are, and they are currently indistinguishable from a cupboard.

Note the mapper takes the first type only (.next()), so ordering matters
once more names are added.

Also: the HUD label in hud.rs:728 only has one word per class. Adding classes
means adding words.


Related

  • #23 the same types mechanism on generic POIs
  • #37 room search wants room classes
  • #51 the tag census this came from
`room_function` (`liuverse-fetch-map/src/mazemap.rs:363`) maps about 20 Swedish `types` names to the 12 `ROOM_*` classes. The POI dump actually carries **39 distinct names across 6234 rooms**, and roughly **480 of those rooms fall through to `ROOM_OTHER`** -- one colour, and `room_function_name` says "room" in the HUD. The uncovered names, by how many rooms they lose: ``` 259 Ovrigt 57 Entre/vindfang 27 Kopieringsrum 19 Dusch 18 Ovriga studentytor 17 Gradangsal 14 Konferensrum 13 Bibliotek 12 Studentkok 11 Mikrovagsugnar 8 Tentasal 7 Undervisningslokal 6 Vilrum student 5 Godsmottagning 3 Butik 3 Atervinningsrum 2 Lugnt rum 1 Stilla rum 1 Tyst lasesal 1 Larosal 1 Skrivare 1 Seminarierum ``` `Studentkok` and `Mikrovagsugnar` are the ones worth having: they are where people actually are, and they are currently indistinguishable from a cupboard. Note the mapper takes the **first** type only (`.next()`), so ordering matters once more names are added. Also: the HUD label in `hud.rs:728` only has one word per class. Adding classes means adding words. --- **Related** - #23 the same `types` mechanism on generic POIs - #37 room search wants room classes - #51 the tag census this came from
Author
Owner

Dropped together with the room-search batch (#123), which was rejected.

Dropped together with the room-search batch (#123), which was rejected.
Sign in to join this conversation.
No description provided.