Allow player to cancel activity if a monster is dangerously close.
Fix compiler initialization order warning.
Adds finalization function for recipes and moves book<->recipe interactions to it.
Adds call to recipe finalization to game::init_data()
Merge branch 'master' into agnostic_recipe_loading
Added fatigue cap, and changed '2 day' sleep message to something more sensible
Cap on fatigue and slightly improved messaging.
Revert accidental change to mapdata.h
Merge branch 'master' into MiscImprovements
Remove default argument from "nearby hostiles" function. Fix VS project after latest changes.
Protect against possibly NULL pointer being referenced
Merge branch 'master' into MiscImprovements
Remove 'BASHABLE' from open fence gates.
Split up nearby hostile check methods to avoid passing contextless negatives to a state query
Made is_hostile_within private
Merge branch 'pr/4085'
Merge sleep dep adjustments, an--*thud*
Merge pull request #4076 from GalenEvil/agnostic_recipe_loading

Makes JSON loading of recipes work in an order-agnostic manner