3. Add Vegetables: Add the sliced chili (if using), diced carrot, and peas. Stir-fry for a few minutes until the vegetables are tender
4. Scramble the Eggs: Push the vegetables to one side of the pan and pour the beaten eggs into the other side. Scramble the eggs until they are just set, then mix them with the vegetables
5. Fry the Rice: Add the cooked rice to the pan, breaking up any clumps. Stir-fry everything together until the rice is heated through
6. Season: Add the soy sauce, sweet soy sauce, salt, and pepper. Mix well to ensure the rice is evenly coated with the sauces
7. Finish and Serve: Stir in the chopped green onions. Serve the Nasi Goreng hot, garnished with fried shallots, and accompanied by cucumber and tomato slices