Text this: A belief-desire-intention architechture with a logic-based planner for agents in stochastic domains