Bake opening hours for shops, cafes and the minigolf #27

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

46 ways carry opening_hours in the extract, including the ones a
player would actually try to walk into:

  Mo-Su 06:00-22:00, Sa-Su 08:00-22:00   (a dining service)
  Mo-Fr 08:00-17:30; Sa-Su 11:00-15:30
  Tu-Fr 11:00-17:00; Sa,Su,PH 12:00-16:00
  24/7                                      (10 ways)

Valla minigolf has opening_hours, fee, payment:cards and
payment:cash. Cupolen and Gamla Linkoping have fee and operator.

Two halves, and the first is the cheap one: bake the string so it is in the
data. The second is that MazeMap's day/night cycle already exists and is already
server-authoritative, so "is the cafe open" is a comparison against the clock
that already ticks.

Worth saying explicitly: this is a nice feature, not a gameplay one. Nothing
stops you walking in either way.


Related

  • #34 the minigolf is one of the ways that has them
  • #23 the cafes are generic POIs
**46 ways carry `opening_hours`** in the extract, including the ones a player would actually try to walk into: ``` Mo-Su 06:00-22:00, Sa-Su 08:00-22:00 (a dining service) Mo-Fr 08:00-17:30; Sa-Su 11:00-15:30 Tu-Fr 11:00-17:00; Sa,Su,PH 12:00-16:00 24/7 (10 ways) ``` `Valla minigolf` has `opening_hours`, `fee`, `payment:cards` and `payment:cash`. `Cupolen` and `Gamla Linkoping` have `fee` and `operator`. Two halves, and the first is the cheap one: bake the string so it is in the data. The second is that MazeMap's day/night cycle already exists and is already server-authoritative, so "is the cafe open" is a comparison against the clock that already ticks. Worth saying explicitly: this is a *nice* feature, not a gameplay one. Nothing stops you walking in either way. --- **Related** - #34 the minigolf is one of the ways that has them - #23 the cafes are generic POIs
Author
Owner

Closed by the merged batch: #142 (tier1-features) landed this, rebased onto main at 609dcb8.

Closed by the merged batch: #142 (tier1-features) landed this, rebased onto main at 609dcb8.
Sign in to join this conversation.
No description provided.