Loading

Paste #pvdxdw1ys

  1. item(FEAT_ROADVEHS, jinglepot_open, 240) {
  2.     property {
  3.         name:                           string(STR_NAME_CONSIST, string(STR_NAME_jinglepot_open), string(STR_NAME_SUFFIX_OPEN_TRUCK), string(STR_NAME_SUFFIX_STEAM));
  4.         cargo_capacity:                 9;
  5.         sprite_id:                      SPRITE_ID_NEW_ROADVEH; //enable new graphics - nml constant
  6.             introduction_date:              date(1910,01,01); // consist just supplies intro year - openttd randomises intro dates a bit anyway
  7.             power:                          150hp;
  8.             speed:                          40mph;
  9.             weight:                         9.600000000000001ton;
  10.             tractive_effort_coefficient:    0.7;
  11.             cost_factor:                    21.916666666666668;
  12.             running_cost_base:              RUNNING_COST_ROADVEH;
  13.             running_cost_factor:            43.833333333333336;
  14.             model_life:                     69;
  15.             vehicle_life:                   40;
  16.             reliability_decay:              20; // default value
  17.             retire_early:                   30;
  18.             sound_effect:                   SOUND_FACTORY_WHISTLE;
  19.         refit_cost:                     0; // this needs to be 0 if we want autorefit without using cb
  20.         refittable_cargo_classes:       bitmask(CC_LIQUID,CC_COVERED,CC_PIECE_GOODS,CC_REFRIGERATED,CC_ARMOURED,CC_NON_POURABLE,CC_EXPRESS,CC_BULK);
  21.         non_refittable_cargo_classes:   bitmask(); // don't set non-refittable classes, increases likelihood of breaking cargo support
  22.         cargo_allow_refit:              [];
  23.         cargo_disallow_refit:           [TOUR];
  24.             default_cargo_type:             GOOD;
  25.         cargo_age_period:               185;
  26.         misc_flags:                     bitmask(ROADVEH_FLAG_2CC,ROADVEH_FLAG_AUTOREFIT); // nml constants
  27.         length:                         5;
  28.         effect_spawn_model:             EFFECT_SPAWN_MODEL_STEAM;
  29.     }
  30.     graphics {
  31.         cargo_capacity:                 jinglepot_open_switch_cargo_capacity;
  32.         purchase_cargo_capacity:        jinglepot_open_switch_cargo_capacity;
  33.         loading_speed:                  jinglepot_open_switch_loading_speed;
  34.         default:                        jinglepot_open_switch_graphics;
  35.         purchase:                       jinglepot_open_sg_purchase;
  36.         create_effect:                  jinglepot_open_create_visual_effect;
  37.             articulated_part: jinglepot_open_articulated_cb_switch;
  38.     }
  39. }

Comments