Add atmosphere and trigger features to text game framework