Museum Donation Checker

Museum Donation Checker

Adds a new game state query that can be used by other mods to trigger actions depending on if an artifact or mineral has been donated to the museum.

[code][/code]Adds a game state query for use with trigger actions.

A use example is my [url=https://www.nexusmods.com/stardewvalley/mods/24071]Bugs in the valley[/url] mod, where turning in specific bugs to the museum allows the player to receive special letters in the mail. 

If anyone would like to use this in their own mod all they need to do is add
[code] "Condition": "MuseumDonationChecker.DonationStatus <item ID>"
[/code] to their trigger action. Then replace <item ID> with the desired artifact or mineral ID.

Another functionality of this mod is to output donation statuses to the log

[code]debug_donation_status
[/code] - can be used in SMAPI to check for the donation status of all artifacts and minerals

[code]check_donation_status <itemID>
[/code] - can be used in SMAPI to check a specific artifact/mineral