"Limiting Where You Can Drive" by John Timmons
Release along with the source text and a website.
The story description is "What if you want to limit where a player can drive their vehicle? This example provides one solution using regions to prevent driving a car through a house."
The Garage is a room. "The driveway is south from here."
The Jetta is a vehicle in the Garage. The description is "Yup, this has been a great little car to get around all these years." Understand "car" as Jetta.
The Driveway is south of the Garage. "Your garage is north and the street is east of here."
The Mudroom is east of the Garage. "This small space requires you to hang up your coat and take off those muddy boots. The garage is to the west."
The Walking Area is a region. The Mudroom is in the Walking Area. [1]
Instead of going to the Walking Area by a vehicle:
say "Not a good idea to drive in that direction. Best to go on foot." [2]
Notes
[1]. Here we create a region called the Walking Area and say which rooms are part of that region. We can then use this region with a rule to prevent the player from traveling in a vehicle into any room that is part of this region.
[2]. Here we use an instead rule to check if the player is trying to go into a room that is part of the Walking Area and then stop them if they are in a vehicle.