Loading
  1.  
  2.  
  3. // If any cargo has been transported from this industry, reset the counter.
  4.  
  5. // Then increment the counter.

asdf

  1.     graphics {
  2.  
  3.         produce_cargo_arrival: production_counter_reset;
  4.  
  5.         produce_256_ticks: produce_food_processor;

layers

  1. switch (FEAT_TRAINS,SELF, switch_hopper_wagon_layers, [
  2.  
  3.   STORE_TEMP((getbits(extra_callback_info1, 8, 8) < 4 ? CB_FLAG_MORE_SPRITES  : 0) + PALETTE_USE_DEFAULT, 0x100),
  4.  
  5.   getbits(extra_callback_info1, 8, 8)

layering

  1. switch (FEAT_TRAINS, SELF, overlay, STORE_TEMP(PALETTE_USE_DEFAULT, 0x100)) {
  2.     return sprite_attach_overlay_8_rail_freight_engine;
  3. }
  4. switch (FEAT_TRAINS, SELF, base, STORE_TEMP(CB_FLAG_MORE_SPRITES | PALETTE_USE_DEFAULT, 0x100)) {
  5.     return switch_rail_freight_graphics_which_end;

layer test

  1. switch (FEAT_TRAINS,SELF, switch_rail_freight_attach_overlay, getbits(extra_callback_info1, 8, 8)){
  2.   0: return sprite_attach_overlay_8_rail_freight_engine;
  3.   return switch_rail_freight_graphics_which_end;
  4. }

Paste #pwul3cvlf

  1. NWidget(NWID_HORIZONTAL, NC_EQUALSIZE),
  2.         NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, WID_SC_TAKE), SetDataTip(STR_SCREENSHOT_SCREENSHOT, 0),
  3.         NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, WID_SC_TAKE_ZOOMIN), SetDataTip(STR_SCREENSHOT_ZOOMIN_SCREENSHOT, 0),
  4.     EndContainer(),
  5.     NWidget(NWID_HORIZONTAL, NC_EQUALSIZE),

Paste #p9dnkcojz

  1. // default spriteset templates
  2.         template spriteset_template_asymmetric_unreversed_athena_unflipped(y) {
  3.                 //[left_x, upper_y, width, height, offset_x, offset_y]
  4.                 [60, y, 8, 29, -3, -16 ]
  5.                 [73, y, 26, 24, -14, -15 ]

engines from both ends

  1. //------------------------------------------------------------------------------------------------------------
  2. switch(FEAT_TRAINS, SELF, switch_railmedium_9_graphics_both_draw1, position_in_consist){
  3.     0: spriteset_train_railmedium9;
  4.     railuniversal2_wagon_switch;
  5. }

take n2

  1. //--------------------------------------------------------------------------------------------
  2. //----- Articulation
  3. switch (FEAT_TRAINS, SELF, switch_railstrong3_articulated, extra_callback_info1){
  4.     1: item_railstrong3;
  5.     1: item_railstrong3;

changing articulated leng

  1. //--------------------------------------------------------------------------------------------
  2. //----- Articulation
  3. switch (FEAT_TRAINS, SELF, switch_railstrong3_articulated, extra_callback_info1){
  4.     1: item_railstrong3;
  5.     1: item_railstrong3;

Paste #pfdm6s4jk

  1. R01-G01 - NoCAB vs AdmiralAI - 4,078 days
  2. R01-G02 - AIAI vs NoNoCAB - 3,869 days
  3. R01-G03 - AroAI vs OtviAI - 5,464 days
  4. R01-G04 - BorkAI vs PathZilla - 7,998 days
  5. R01-G05 - ChooChoo vs PAXLink - 4,153 days

Paste #p7vszfj8o

  1. *** OpenTTD Crash Report ***
  2.  
  3. Crash at: Sun Apr 21 10:15:47 2019
  4. In game date: 2010-05-20 (20)

Paste #puduik9by

  1. 0eNqlndtunLmOhV9l4Ov2xi+KOvXtPMDcDjAYDHIwug04TuA4jd1o5N3HTqrKFZuqWp/qpht2qpYpkpIocon65+r93bebLw+3949Xv/9zdfvh8/3Xq9//55+rr7d/3L+7e/7d499fbq5+v7p9vPl09dvV/btPzz89vLu9u/r+29Xt/cebf1/9nr7/dv4rn99//vL54fHoaxZ+7a/bh8dvT785fPPnJ67/++ibGX3Tj77p3//3t6ub+8fbx9ubn0P98cPf/3f/7dP7m4ensRy+/f72j+ubu5sPjw+3H66/fL67eQL+8vnr0zc/3z//1Se066dP//30Px9Pf+FJefdPn779ocN/rtLzfx5uPh7/kdunn7w8i/DHw83NffRP378/j+2VUPYypMcn3f/x5+P1DxMEAm07iXqEk2UcPwXjKoydQikqSj+FUrlqaoTTsGpCmE5VE6IMqpoQ5XnAVDceAiWsnBjHqHZimEzVE8O8uPGHbw9/3XycKmc3y/PzLP94+/Bzkj85cARaflkkrz/8+e72/nq3VEXQ/yo7Ge1fJZRywcEtBOIeHuNgF49hhqb9Eeveo1Vyo34RSmaJa3wLgQxrPMbJVOMxjFP1xDDQw/Pew3N78vBfjJgieO7vOdwYDPv7BIf6+wSGrukxTAZr+n5Y/qvWWwSbOGz9FTZ

Paste #pmrzf7tu5

  1. *** OpenTTD Crash Report ***
  2.  
  3. Crash at: Fri Apr 19 15:14:26 2019
  4. In game date: 2051-05-09 (27)

Refit menu greyed out

  1. switch (FEAT_TRAINS, SELF, switch_railjet_position_default, position_in_articulated_veh) {
  2.     0: set_railjet_taurus;
  3.     1: set_railjet_bmpvz;
  4.     2: set_railjet_bmpz;
  5.     3: set_railjet_bmpz;