FieldStation42 icon indicating copy to clipboard operation
FieldStation42 copied to clipboard

Add Hint Configuration Section

Open shane-mason opened this issue 6 months ago • 0 comments

Currently, the hinting system in FS42 works for very simple use cases, but doesn't extend to a variety of scenarios that will make the simulator more compelling:

  • Nesting hints (eg: only play this content on mondays, in the morning)
  • Playing content that matches a hint exclusively (eg on monday mornings, only play bumps that match this)

After discussion on this topic in #249 - the idea of allowing for deeper configuration via a hints section of the stations json file.

Additional Notes from the discussion: Sketching out an idea here while watching Saturday morning cartoons from the late 80s, but what about a 'hints` section to the configuration, keyed by tags:

"hint_meta": [
    { "tags" : "NICKELODEON/bump/face", "day_part" : "morning"},
    { "tags" : "NICKELODEON/bump/face_winter", "day_part" : "morning", "year_part" : "December  1 - December 31"}
]

The first one can be accomplished now, and the second one could be added if we use hints below the first sub-folder level and you nest the directories. What this would allow us to do though, is to start thinking about it this way:

{ "tags" : "NICKELODEON/bump/face_winter", "day_part" : "morning", "year_part" : "December 1 - December 31", "exclusive"=true}

Where we could say 'during the morning between December 1 and December 31, ONLY pull bumps from NICKELODEON/bump/face_winter - it also allows the filesystem naming approach to stay in place, but provides more power if you want to spend the time to configure it.

One of the best parts I like, there really isn't a lot of new logic here or even a new concepts, it would just be using the existing hint system in a new way.

shane-mason avatar Jun 09 '25 02:06 shane-mason