TheDarklingWolf/Cataclysm-DDA — pull request #929 by atomicdryad (2013-05-10 12:45:43+00:00)
Title: Temperature: Car AC will modify comfort. Bio climate mod will only do so if active.

Traditional air conditioning will modify comfort levels in addition
to bio climate mod. This wraps the has_bionic("bio_climate") check in
a new player::in_climate_control(game g*) function, which will return
positive on has_active_bionic("bio_climate"). If not, it will perform
additional checks that are cached every 20-60 turns to save cpu and
simulate temperature acclimation.
Currently, it will check to see if the player is inside a vehicle
with no open doors, and a working engine with fuel (total_power(true)).
Later a requirement for an Air Conditioning vehicle item can be added,
as well as building checks if / when building power is added.