StardewMods
StardewMods copied to clipboard
[Lookup Anything] Add schedule to NPC lookup
Added a field for schedules in the NPC lookup. Closes https://github.com/Pathoschild/StardewMods/issues/4.
Schedule items display the time they occur and the NPC's destination location. The schedule item that is currently occurring is written in green, upcoming items are in black, and past items are in gray. For schedules that contain only a single item, the string "All day" is shown instead of the time.
Some locations do not have built-in display names, like LeoTreeHouse and HarveyRoom. To fix this, I made DataParser's GetLocationDisplayName method public and added resource strings for locations without built-in display names.
Screenshots: