Wash and soak rice in water for 30 minutes. Drain water and set soaked rice aside in a microwave-safe bowl.
Heat oil in a pan and add star anise, cardamom, bay leaf, and ginger.
Add vegetables and cook for 2 minutes.
Now add raisins, nuts, and salt. Remove from heat.
Add ghee, garam masala, and sugar to the soaked rice and stir to coat well. Now add the vegetables and 2 cups of water.
Microwave for 15-16 minutes (depending on how long it takes to cook rice in your microwave). If possible, give it a stir after 12 minutes of cooking. You may need to add some extra water.