item(FEAT_TRAINS, item_capacity_part, 153){ property{ sprite_id: SPRITE_ID_NEW_TRAIN; name: string(STR_capacity_part_name); climates_available: ALL_CLIMATES; introduction_date: date(1900, 1,1,); model_life: VEHICLE_NEVER_EXPIRES; vehicle_life: 255; reliability_decay: 5; refittable_cargo_classes: ALL_CARGO_CLASSES; non_refittable_cargo_classes: bitmask(); cargo_capacity: 40; loading_speed: 8; //speed: 666 km/h; //power: 1 hp; //tractive_effort_coefficient: 0.01; weight: 40 ton; air_drag_coefficient: 0; extra_power_per_wagon: 0; extra_weight_per_wagon: 0; track_type: RAIL; //engine_class: ENGINE_CLASS_DIESEL; //running_cost_base: RUNNING_COST_DIESEL; //visual_effect_and_powered: visual_effect_and_powered(1,2,DISABLE_WAGON_POWER); misc_flags: bitmask(TRAIN_FLAG_FLIP, TRAIN_FLAG_MU, TRAIN_FLAG_2CC);//most of it meaningless? FLIP and MU ? 2cc useless for wagons, too length: 8; dual_headed: 0; cost_factor: 10; running_cost_factor: 100; refit_cost: 0; bitmask_vehicle_info: 0; ai_engine_rank: 0; ai_special_flag: AI_FLAG_CARGO; } graphics{ default: switch_engine_01_graphics; //purchase: spriteset_purchase_engine01; additional_text: string(STR_capacity_part_purchase); //purchase_speed: 666; //purchase_power: 1; //purchase_tractive_effort_coefficient: 1; purchase_weight: 40; cargo_capacity: return 300/(position_in_consist-1); loading_speed: return 60/(position_in_consist-1); //power: return 12800/(position_in_consist-1); colour_mapping: palette_2cc(COLOUR_GREEN,COLOUR_GREEN); //speed: switch_engine01_speed; //power: switch_engine01_power; //tractive_effort_coefficient: switch_engine01_TE; //weight: switch_engine01_weight; } }