A. Provide more context in your prompts. The more information you give the AI about the scenario, the less likely it is to generate random events.
B. If the AI generates something illogical, try to guide it back on track by stating what should happen next or correcting the course of the story.