- switch (FEAT_TRAINS, SELF, ${vehicle.id}_switch_visual_effect_and_powered, [STORE_TEMP(VISUAL_EFFECT_DIESEL, 1), current_railtype]) {
- ELRL: return visual_effect_and_powered(VISUAL_EFFECT_ELECTRIC, 0, DISABLE_WAGON_POWER);
- return visual_effect_and_powered(LOAD_TEMP(1), 0, DISABLE_WAGON_POWER);
- }