- item(FEAT_ROADVEHS, jinglepot_open, 240) {
- property {
- name: string(STR_NAME_CONSIST, string(STR_NAME_jinglepot_open), string(STR_NAME_SUFFIX_OPEN_TRUCK), string(STR_NAME_SUFFIX_STEAM));
- cargo_capacity: 9;
- sprite_id: SPRITE_ID_NEW_ROADVEH; //enable new graphics - nml constant
- introduction_date: date(1910,01,01); // consist just supplies intro year - openttd randomises intro dates a bit anyway
- power: 150hp;
- speed: 40mph;
- weight: 9.600000000000001ton;
- tractive_effort_coefficient: 0.7;
- cost_factor: 21.916666666666668;
- running_cost_base: RUNNING_COST_ROADVEH;
- running_cost_factor: 43.833333333333336;
- model_life: 69;
- vehicle_life: 40;
- reliability_decay: 20; // default value
- retire_early: 30;
- sound_effect: SOUND_FACTORY_WHISTLE;
- refit_cost: 0; // this needs to be 0 if we want autorefit without using cb
- refittable_cargo_classes: bitmask(CC_LIQUID,CC_COVERED,CC_PIECE_GOODS,CC_REFRIGERATED,CC_ARMOURED,CC_NON_POURABLE,CC_EXPRESS,CC_BULK);
- non_refittable_cargo_classes: bitmask(); // don't set non-refittable classes, increases likelihood of breaking cargo support
- cargo_allow_refit: [];
- cargo_disallow_refit: [TOUR];
- default_cargo_type: GOOD;
- cargo_age_period: 185;
- misc_flags: bitmask(ROADVEH_FLAG_2CC,ROADVEH_FLAG_AUTOREFIT); // nml constants
- length: 5;
- effect_spawn_model: EFFECT_SPAWN_MODEL_STEAM;
- }
- graphics {
- cargo_capacity: jinglepot_open_switch_cargo_capacity;
- purchase_cargo_capacity: jinglepot_open_switch_cargo_capacity;
- loading_speed: jinglepot_open_switch_loading_speed;
- default: jinglepot_open_switch_graphics;
- purchase: jinglepot_open_sg_purchase;
- create_effect: jinglepot_open_create_visual_effect;
- articulated_part: jinglepot_open_articulated_cb_switch;
- }
- }