Loading
#openttdcoop - Paste
Archives
Trending
Docs
Login
ABAP
ActionScript
ActionScript 3
Ada
AIMMS3
ALGOL 68
Apache configuration
AppleScript
Apt sources
ARM ASSEMBLER
ASM
ASP
asymptote
Autoconf
Autohotkey
AutoIt
AviSynth
awk
BASCOM AVR
Bash
Basic4GL
BibTeX
BlitzBasic
bnf
Boo
Brainfuck
C
C#
C (LoadRunner)
C (Mac)
C (WinAPI)
C++
C++ (Qt)
C++ (WinAPI)
CAD DCL
CAD Lisp
CFDG
ChaiScript
Chapel
CIL
Clojure
CMake
COBOL
CoffeeScript
ColdFusion
CSS
Cuesheet
D
Dart
DCL
DCPU-16 Assembly
DCS
Delphi
Diff
DIV
DOS
dot
E
ECMAScript
Eiffel
eMail (mbox)
EPC
Erlang
Euphoria
EZT
F#
Falcon
FO (abas-ERP)
Formula One
Fortran
FreeBasic
FreeSWITCH
GADV 4CS
GAMBAS
GDB
genero
Genie
glSlang
GML
GNU/Octave
GNU Gettext
GNU make
Gnuplot
Go
Groovy
GwBasic
Haskell
Haxe
HicEst
HQ9+
HTML
HTML5
Icon
INI
Inno
INTERCAL
Io
ISPF Panel
J
Java
Java(TM) 2 Platform Standard Edition 5.0
Javascript
JCL
jQuery
KiXtart
KLone C
KLone C++
LaTeX
LDIF
Liberty BASIC
Lisp
LLVM Intermediate Representation
Locomotive Basic
Logtalk
LOLcode
Lotus Notes @Formulas
LotusScript
LScript
LSL2
Lua
MagikSF
MapBasic
Matlab M
Microchip Assembler
Microsoft Registry
mIRC Scripting
MMIX
Modula-2
Modula-3
MOS 6502 (6510) ACME Cross Assembler format
MOS 6502 (6510) Kick Assembler format
MOS 6502 (6510) TASM/64TASS 1.46 Assembler format
Motorola 68000 - HiSoft Devpac ST 2 Assembler format
Motorola 68000 Assembler
MXML
MySQL
Nagios
NetRexx
newlisp
nginx
Nimrod
NML NewGRF Meta Language
NSIS
Oberon-2
Objeck Programming Language
Objective-C
OCaml
OCaml (brief)
ooRexx
OpenBSD Packet Filter
OpenOffice.org Basic
Oracle 8 SQL
Oracle 11 SQL
Oxygene
OZ
ParaSail
PARI/GP
Pascal
PCRE
per
Perl
Perl 6
PHP
PHP (brief)
PIC16
Pike
Pixel Bender 1.0
PL/I
PL/SQL
PostgreSQL
PostScript
POVRAY
PowerBuilder
PowerShell
ProFTPd configuration
Progress
Prolog
PROPERTIES
ProvideX
Puppet
PureBasic
Python
Python for S60
q/kdb+
QBasic/QuickBASIC
QML
R / S+
Racket
Rails
RBScript
REBOL
rexx
robots.txt
RPM Specification File
Ruby
Rust
SAS
Scala
Scheme
SciLab
SCL
sdlBasic
Smalltalk
Smarty
SPARK
SPARQL
SQL
Squirrel Script
Squirrel Script with OpenTTD AI/GS
StandardML
StoneScript
SystemVerilog
T-SQL
TCL
Tera Term Macro
Text
thinBasic
TypoScript
Unicon (Unified Extended Dialect of Icon)
Uno Idl
Unreal Script
UPC
Urbi
Vala
vb.net
VBScript
Vedit macro language
Verilog
VHDL
Vim Script
Visual Basic
Visual Fox Pro
Visual Prolog
Whitespace
Whois (RPSL format)
Winbatch
X++
XBasic
XML
Xorg configuration
YAML
ZiLOG Z80 Assembler
ZXBasic
// default spriteset templates template spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(y) { //[left_x, upper_y, width, height, offset_x, offset_y] [180, y, 8, 29, -3, -24 ] [193, y, 26, 24, -6, -19 ] [224, y, 33, 16, 0, -12 ] [263, y, 26, 24, 0, -16 ] [180, y, 8, 29, -3, -16 ] [193, y, 26, 24, -14, -15 ] [224, y, 33, 16, -16, -12 ] [263, y, 26, 24, -8, -20 ] } template spriteset_template_symmetric_reversed_open_car_pony_gen_1A_unflipped(y) { //[left_x, upper_y, width, height, offset_x, offset_y] [180, y, 8, 29, -3, -24 ] [193, y, 26, 24, -6, -19 ] [224, y, 33, 16, 0, -12 ] [263, y, 26, 24, 0, -16 ] [180, y, 8, 29, -3, -16 ] [193, y, 26, 24, -14, -15 ] [224, y, 33, 16, -16, -12 ] [263, y, 26, 24, -8, -20 ] } template spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(y) { //[left_x, upper_y, width, height, offset_x, offset_y] [180, y, 8, 29, -3, -16 ] [193, y, 26, 24, -14, -15 ] [224, y, 33, 16, -16, -12 ] [263, y, 26, 24, -8, -20 ] [180, y, 8, 29, -3, -24 ] [193, y, 26, 24, -6, -19 ] [224, y, 33, 16, 0, -12 ] [263, y, 26, 24, 0, -16 ] } template spriteset_template_symmetric_reversed_open_car_pony_gen_1A_flipped(y) { //[left_x, upper_y, width, height, offset_x, offset_y] [180, y, 8, 29, -3, -16 ] [193, y, 26, 24, -14, -15 ] [224, y, 33, 16, -16, -12 ] [263, y, 26, 24, -8, -20 ] [180, y, 8, 29, -3, -24 ] [193, y, 26, 24, -6, -19 ] [224, y, 33, 16, 0, -12 ] [263, y, 26, 24, 0, -16 ] } // buy menu spriteset template template spriteset_template_purchase_open_car_pony_gen_1A(y) { //[left_x, upper_y, width, height, offset_x, offset_y] [60, 10, 1, 1, 0, 0] [60, 10, 1, 1, 0, 0] [60, 10, 1, 1, 0, 0] [60, 10, 1, 1, 0, 0] [60, 10, 1, 1, 0, 0] [60, 10, 1, 1, 0, 0] // allow for buffers/couplings being 1px additional to the unit (they overlap in consists, but show in buy menu) [224, y, 17, 16, -8, -11 ] [60, 10, 1, 1, 0, 0] } spriteset(open_car_pony_gen_1A_ss_empty_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(10) } spriteset(open_car_pony_gen_1A_ss_loading_0_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(40) } spriteset(open_car_pony_gen_1A_ss_loaded_0_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(70) } spriteset(open_car_pony_gen_1A_ss_loading_1_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(100) } spriteset(open_car_pony_gen_1A_ss_loaded_1_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(130) } spriteset(open_car_pony_gen_1A_ss_loading_2_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(160) } spriteset(open_car_pony_gen_1A_ss_loaded_2_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(190) } spriteset(open_car_pony_gen_1A_ss_loading_3_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(220) } spriteset(open_car_pony_gen_1A_ss_loaded_3_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(250) } spriteset(open_car_pony_gen_1A_ss_loading_4_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(280) } spriteset(open_car_pony_gen_1A_ss_loaded_4_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(310) } spriteset(open_car_pony_gen_1A_ss_loading_5_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(340) } spriteset(open_car_pony_gen_1A_ss_loaded_5_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(370) } spriteset(open_car_pony_gen_1A_ss_loading_6_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(400) } spriteset(open_car_pony_gen_1A_ss_loaded_6_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(430) } spriteset(open_car_pony_gen_1A_ss_loading_7_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(460) } spriteset(open_car_pony_gen_1A_ss_loaded_7_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(490) } spriteset(open_car_pony_gen_1A_ss_loading_8_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(520) } spriteset(open_car_pony_gen_1A_ss_loaded_8_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(550) } spriteset(open_car_pony_gen_1A_ss_loading_9_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(580) } spriteset(open_car_pony_gen_1A_ss_loaded_9_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(610) } spriteset(open_car_pony_gen_1A_ss_loading_10_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(640) } spriteset(open_car_pony_gen_1A_ss_loaded_10_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(670) } spriteset(open_car_pony_gen_1A_ss_loading_11_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(700) } spriteset(open_car_pony_gen_1A_ss_loaded_11_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(730) } spriteset(open_car_pony_gen_1A_ss_loading_12_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(760) } spriteset(open_car_pony_gen_1A_ss_loaded_12_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(790) } spriteset(open_car_pony_gen_1A_ss_loading_13_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(820) } spriteset(open_car_pony_gen_1A_ss_loaded_13_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(850) } spriteset(open_car_pony_gen_1A_ss_loading_14_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(880) } spriteset(open_car_pony_gen_1A_ss_loaded_14_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(910) } spriteset(open_car_pony_gen_1A_ss_loading_15_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(940) } spriteset(open_car_pony_gen_1A_ss_loaded_15_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(970) } spriteset(open_car_pony_gen_1A_ss_loading_16_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1000) } spriteset(open_car_pony_gen_1A_ss_loaded_16_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1030) } spriteset(open_car_pony_gen_1A_ss_loading_17_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1060) } spriteset(open_car_pony_gen_1A_ss_loaded_17_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1090) } spriteset(open_car_pony_gen_1A_ss_loading_18_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1120) } spriteset(open_car_pony_gen_1A_ss_loaded_18_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1150) } spriteset(open_car_pony_gen_1A_ss_loading_19_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1180) } spriteset(open_car_pony_gen_1A_ss_loaded_19_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1210) } spriteset(open_car_pony_gen_1A_ss_loading_20_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1240) } spriteset(open_car_pony_gen_1A_ss_loaded_20_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1270) } spriteset(open_car_pony_gen_1A_ss_loading_21_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1300) } spriteset(open_car_pony_gen_1A_ss_loaded_21_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1330) } spriteset(open_car_pony_gen_1A_ss_loading_22_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1360) } spriteset(open_car_pony_gen_1A_ss_loaded_22_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1390) } spriteset(open_car_pony_gen_1A_ss_loading_23_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1420) } spriteset(open_car_pony_gen_1A_ss_loaded_23_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1450) } spriteset(open_car_pony_gen_1A_ss_loading_24_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1480) } spriteset(open_car_pony_gen_1A_ss_loaded_24_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1510) } spriteset(open_car_pony_gen_1A_ss_loading_25_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1540) } spriteset(open_car_pony_gen_1A_ss_loaded_25_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1570) } spriteset(open_car_pony_gen_1A_ss_loading_26_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1600) } spriteset(open_car_pony_gen_1A_ss_loaded_26_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1630) } spriteset(open_car_pony_gen_1A_ss_loading_27_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1660) } spriteset(open_car_pony_gen_1A_ss_loaded_27_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1690) } spriteset(open_car_pony_gen_1A_ss_loading_28_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1720) } spriteset(open_car_pony_gen_1A_ss_loaded_28_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1750) } spriteset(open_car_pony_gen_1A_ss_loading_29_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1780) } spriteset(open_car_pony_gen_1A_ss_loaded_29_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1810) } spriteset(open_car_pony_gen_1A_ss_loading_30_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1840) } spriteset(open_car_pony_gen_1A_ss_loaded_30_unflipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_unflipped(1870) } spriteset(open_car_pony_gen_1A_ss_empty_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(10) } spriteset(open_car_pony_gen_1A_ss_loading_0_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(40) } spriteset(open_car_pony_gen_1A_ss_loaded_0_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(70) } spriteset(open_car_pony_gen_1A_ss_loading_1_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(100) } spriteset(open_car_pony_gen_1A_ss_loaded_1_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(130) } spriteset(open_car_pony_gen_1A_ss_loading_2_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(160) } spriteset(open_car_pony_gen_1A_ss_loaded_2_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(190) } spriteset(open_car_pony_gen_1A_ss_loading_3_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(220) } spriteset(open_car_pony_gen_1A_ss_loaded_3_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(250) } spriteset(open_car_pony_gen_1A_ss_loading_4_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(280) } spriteset(open_car_pony_gen_1A_ss_loaded_4_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(310) } spriteset(open_car_pony_gen_1A_ss_loading_5_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(340) } spriteset(open_car_pony_gen_1A_ss_loaded_5_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(370) } spriteset(open_car_pony_gen_1A_ss_loading_6_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(400) } spriteset(open_car_pony_gen_1A_ss_loaded_6_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(430) } spriteset(open_car_pony_gen_1A_ss_loading_7_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(460) } spriteset(open_car_pony_gen_1A_ss_loaded_7_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(490) } spriteset(open_car_pony_gen_1A_ss_loading_8_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(520) } spriteset(open_car_pony_gen_1A_ss_loaded_8_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(550) } spriteset(open_car_pony_gen_1A_ss_loading_9_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(580) } spriteset(open_car_pony_gen_1A_ss_loaded_9_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(610) } spriteset(open_car_pony_gen_1A_ss_loading_10_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(640) } spriteset(open_car_pony_gen_1A_ss_loaded_10_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(670) } spriteset(open_car_pony_gen_1A_ss_loading_11_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(700) } spriteset(open_car_pony_gen_1A_ss_loaded_11_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(730) } spriteset(open_car_pony_gen_1A_ss_loading_12_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(760) } spriteset(open_car_pony_gen_1A_ss_loaded_12_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(790) } spriteset(open_car_pony_gen_1A_ss_loading_13_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(820) } spriteset(open_car_pony_gen_1A_ss_loaded_13_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(850) } spriteset(open_car_pony_gen_1A_ss_loading_14_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(880) } spriteset(open_car_pony_gen_1A_ss_loaded_14_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(910) } spriteset(open_car_pony_gen_1A_ss_loading_15_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(940) } spriteset(open_car_pony_gen_1A_ss_loaded_15_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(970) } spriteset(open_car_pony_gen_1A_ss_loading_16_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1000) } spriteset(open_car_pony_gen_1A_ss_loaded_16_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1030) } spriteset(open_car_pony_gen_1A_ss_loading_17_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1060) } spriteset(open_car_pony_gen_1A_ss_loaded_17_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1090) } spriteset(open_car_pony_gen_1A_ss_loading_18_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1120) } spriteset(open_car_pony_gen_1A_ss_loaded_18_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1150) } spriteset(open_car_pony_gen_1A_ss_loading_19_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1180) } spriteset(open_car_pony_gen_1A_ss_loaded_19_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1210) } spriteset(open_car_pony_gen_1A_ss_loading_20_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1240) } spriteset(open_car_pony_gen_1A_ss_loaded_20_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1270) } spriteset(open_car_pony_gen_1A_ss_loading_21_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1300) } spriteset(open_car_pony_gen_1A_ss_loaded_21_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1330) } spriteset(open_car_pony_gen_1A_ss_loading_22_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1360) } spriteset(open_car_pony_gen_1A_ss_loaded_22_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1390) } spriteset(open_car_pony_gen_1A_ss_loading_23_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1420) } spriteset(open_car_pony_gen_1A_ss_loaded_23_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1450) } spriteset(open_car_pony_gen_1A_ss_loading_24_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1480) } spriteset(open_car_pony_gen_1A_ss_loaded_24_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1510) } spriteset(open_car_pony_gen_1A_ss_loading_25_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1540) } spriteset(open_car_pony_gen_1A_ss_loaded_25_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1570) } spriteset(open_car_pony_gen_1A_ss_loading_26_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1600) } spriteset(open_car_pony_gen_1A_ss_loaded_26_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1630) } spriteset(open_car_pony_gen_1A_ss_loading_27_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1660) } spriteset(open_car_pony_gen_1A_ss_loaded_27_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1690) } spriteset(open_car_pony_gen_1A_ss_loading_28_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1720) } spriteset(open_car_pony_gen_1A_ss_loaded_28_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1750) } spriteset(open_car_pony_gen_1A_ss_loading_29_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1780) } spriteset(open_car_pony_gen_1A_ss_loaded_29_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1810) } spriteset(open_car_pony_gen_1A_ss_loading_30_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1840) } spriteset(open_car_pony_gen_1A_ss_loaded_30_flipped, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_symmetric_unreversed_open_car_pony_gen_1A_flipped(1870) } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_0_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_0_unflipped; return open_car_pony_gen_1A_ss_loaded_0_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_0_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_0_flipped; return open_car_pony_gen_1A_ss_loaded_0_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_0, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_0_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_0_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_1_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_1_unflipped; return open_car_pony_gen_1A_ss_loaded_1_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_1_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_1_flipped; return open_car_pony_gen_1A_ss_loaded_1_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_1, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_1_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_1_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_2_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_2_unflipped; return open_car_pony_gen_1A_ss_loaded_2_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_2_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_2_flipped; return open_car_pony_gen_1A_ss_loaded_2_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_2, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_2_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_2_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_3_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_3_unflipped; return open_car_pony_gen_1A_ss_loaded_3_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_3_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_3_flipped; return open_car_pony_gen_1A_ss_loaded_3_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_3, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_3_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_3_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_4_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_4_unflipped; return open_car_pony_gen_1A_ss_loaded_4_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_4_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_4_flipped; return open_car_pony_gen_1A_ss_loaded_4_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_4, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_4_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_4_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_5_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_5_unflipped; return open_car_pony_gen_1A_ss_loaded_5_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_5_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_5_flipped; return open_car_pony_gen_1A_ss_loaded_5_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_5, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_5_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_5_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_6_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_6_unflipped; return open_car_pony_gen_1A_ss_loaded_6_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_6_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_6_flipped; return open_car_pony_gen_1A_ss_loaded_6_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_6, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_6_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_6_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_7_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_7_unflipped; return open_car_pony_gen_1A_ss_loaded_7_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_7_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_7_flipped; return open_car_pony_gen_1A_ss_loaded_7_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_7, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_7_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_7_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_8_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_8_unflipped; return open_car_pony_gen_1A_ss_loaded_8_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_8_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_8_flipped; return open_car_pony_gen_1A_ss_loaded_8_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_8, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_8_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_8_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_9_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_9_unflipped; return open_car_pony_gen_1A_ss_loaded_9_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_9_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_9_flipped; return open_car_pony_gen_1A_ss_loaded_9_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_9, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_9_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_9_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_10_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_10_unflipped; return open_car_pony_gen_1A_ss_loaded_10_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_10_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_10_flipped; return open_car_pony_gen_1A_ss_loaded_10_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_10, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_10_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_10_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_11_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_11_unflipped; return open_car_pony_gen_1A_ss_loaded_11_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_11_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_11_flipped; return open_car_pony_gen_1A_ss_loaded_11_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_11, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_11_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_11_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_12_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_12_unflipped; return open_car_pony_gen_1A_ss_loaded_12_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_12_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_12_flipped; return open_car_pony_gen_1A_ss_loaded_12_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_12, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_12_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_12_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_13_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_13_unflipped; return open_car_pony_gen_1A_ss_loaded_13_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_13_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_13_flipped; return open_car_pony_gen_1A_ss_loaded_13_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_13, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_13_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_13_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_14_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_14_unflipped; return open_car_pony_gen_1A_ss_loaded_14_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_14_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_14_flipped; return open_car_pony_gen_1A_ss_loaded_14_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_14, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_14_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_14_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_15_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_15_unflipped; return open_car_pony_gen_1A_ss_loaded_15_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_15_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_15_flipped; return open_car_pony_gen_1A_ss_loaded_15_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_15, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_15_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_15_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_16_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_16_unflipped; return open_car_pony_gen_1A_ss_loaded_16_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_16_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_16_flipped; return open_car_pony_gen_1A_ss_loaded_16_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_16, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_16_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_16_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_17_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_17_unflipped; return open_car_pony_gen_1A_ss_loaded_17_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_17_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_17_flipped; return open_car_pony_gen_1A_ss_loaded_17_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_17, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_17_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_17_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_18_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_18_unflipped; return open_car_pony_gen_1A_ss_loaded_18_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_18_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_18_flipped; return open_car_pony_gen_1A_ss_loaded_18_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_18, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_18_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_18_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_19_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_19_unflipped; return open_car_pony_gen_1A_ss_loaded_19_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_19_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_19_flipped; return open_car_pony_gen_1A_ss_loaded_19_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_19, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_19_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_19_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_20_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_20_unflipped; return open_car_pony_gen_1A_ss_loaded_20_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_20_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_20_flipped; return open_car_pony_gen_1A_ss_loaded_20_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_20, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_20_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_20_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_21_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_21_unflipped; return open_car_pony_gen_1A_ss_loaded_21_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_21_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_21_flipped; return open_car_pony_gen_1A_ss_loaded_21_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_21, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_21_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_21_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_22_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_22_unflipped; return open_car_pony_gen_1A_ss_loaded_22_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_22_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_22_flipped; return open_car_pony_gen_1A_ss_loaded_22_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_22, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_22_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_22_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_23_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_23_unflipped; return open_car_pony_gen_1A_ss_loaded_23_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_23_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_23_flipped; return open_car_pony_gen_1A_ss_loaded_23_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_23, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_23_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_23_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_24_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_24_unflipped; return open_car_pony_gen_1A_ss_loaded_24_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_24_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_24_flipped; return open_car_pony_gen_1A_ss_loaded_24_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_24, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_24_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_24_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_25_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_25_unflipped; return open_car_pony_gen_1A_ss_loaded_25_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_25_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_25_flipped; return open_car_pony_gen_1A_ss_loaded_25_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_25, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_25_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_25_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_26_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_26_unflipped; return open_car_pony_gen_1A_ss_loaded_26_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_26_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_26_flipped; return open_car_pony_gen_1A_ss_loaded_26_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_26, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_26_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_26_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_27_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_27_unflipped; return open_car_pony_gen_1A_ss_loaded_27_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_27_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_27_flipped; return open_car_pony_gen_1A_ss_loaded_27_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_27, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_27_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_27_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_28_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_28_unflipped; return open_car_pony_gen_1A_ss_loaded_28_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_28_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_28_flipped; return open_car_pony_gen_1A_ss_loaded_28_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_28, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_28_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_28_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_29_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_29_unflipped; return open_car_pony_gen_1A_ss_loaded_29_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_29_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_29_flipped; return open_car_pony_gen_1A_ss_loaded_29_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_29, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_29_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_29_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_30_unflipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_unflipped; 1..99: return open_car_pony_gen_1A_ss_loading_30_unflipped; return open_car_pony_gen_1A_ss_loaded_30_unflipped; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_percent_loaded_30_flipped, cargo_count*100/cargo_capacity) { 0: return open_car_pony_gen_1A_ss_empty_flipped; 1..99: return open_car_pony_gen_1A_ss_loading_30_flipped; return open_car_pony_gen_1A_ss_loaded_30_flipped; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_flip_30, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_graphics_percent_loaded_30_flipped; return open_car_pony_gen_1A_switch_graphics_percent_loaded_30_unflipped; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_OIL_, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_17; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_COAL, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_3; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_COPR, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_19; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_BDMT, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_30; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_ENSP, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_29; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_LIME, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_8; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_FRUT, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_21; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_EOIL, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_17; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_FMSP, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_28; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_PORE, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_12; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_DYES, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_17; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_METL, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_26; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_MNO2, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_9; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_PETR, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_17; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_CORE, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_5; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_GRVL, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_6; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_WATR, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_17; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_WDPR, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_23; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_PAPR, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_25; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_POTA, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_13; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_CLAY, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_2; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_RFPR, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_17; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_IORE, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_7; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_CASS, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_1; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_NUTS, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_24; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_STEL, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_26; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_SAND, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_14; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_GOOD, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_20; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_NITR, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_10; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_SCMT, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_15; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_AORE, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_0; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_COKE, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_4; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_WOOD, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_22; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_SGBT, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_16; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_MILK, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_17; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_PHOS, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_11; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_BEER, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_17; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_JAVA, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_18; } random_switch (FEAT_TRAINS, SELF,open_car_pony_gen_1A_switch_graphics_generic_cargos, bitmask(TRIGGER_VEHICLE_NEW_LOAD)) { 1: return open_car_pony_gen_1A_switch_graphics_flip_27; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_vehicle, cargo_type_in_veh) { OIL_: return open_car_pony_gen_1A_switch_graphics_OIL_; COAL: return open_car_pony_gen_1A_switch_graphics_COAL; COPR: return open_car_pony_gen_1A_switch_graphics_COPR; BDMT: return open_car_pony_gen_1A_switch_graphics_BDMT; ENSP: return open_car_pony_gen_1A_switch_graphics_ENSP; LIME: return open_car_pony_gen_1A_switch_graphics_LIME; FRUT: return open_car_pony_gen_1A_switch_graphics_FRUT; EOIL: return open_car_pony_gen_1A_switch_graphics_EOIL; FMSP: return open_car_pony_gen_1A_switch_graphics_FMSP; PORE: return open_car_pony_gen_1A_switch_graphics_PORE; DYES: return open_car_pony_gen_1A_switch_graphics_DYES; METL: return open_car_pony_gen_1A_switch_graphics_METL; MNO2: return open_car_pony_gen_1A_switch_graphics_MNO2; PETR: return open_car_pony_gen_1A_switch_graphics_PETR; CORE: return open_car_pony_gen_1A_switch_graphics_CORE; GRVL: return open_car_pony_gen_1A_switch_graphics_GRVL; WATR: return open_car_pony_gen_1A_switch_graphics_WATR; WDPR: return open_car_pony_gen_1A_switch_graphics_WDPR; PAPR: return open_car_pony_gen_1A_switch_graphics_PAPR; POTA: return open_car_pony_gen_1A_switch_graphics_POTA; CLAY: return open_car_pony_gen_1A_switch_graphics_CLAY; RFPR: return open_car_pony_gen_1A_switch_graphics_RFPR; IORE: return open_car_pony_gen_1A_switch_graphics_IORE; CASS: return open_car_pony_gen_1A_switch_graphics_CASS; NUTS: return open_car_pony_gen_1A_switch_graphics_NUTS; STEL: return open_car_pony_gen_1A_switch_graphics_STEL; SAND: return open_car_pony_gen_1A_switch_graphics_SAND; GOOD: return open_car_pony_gen_1A_switch_graphics_GOOD; NITR: return open_car_pony_gen_1A_switch_graphics_NITR; SCMT: return open_car_pony_gen_1A_switch_graphics_SCMT; AORE: return open_car_pony_gen_1A_switch_graphics_AORE; COKE: return open_car_pony_gen_1A_switch_graphics_COKE; WOOD: return open_car_pony_gen_1A_switch_graphics_WOOD; SGBT: return open_car_pony_gen_1A_switch_graphics_SGBT; MILK: return open_car_pony_gen_1A_switch_graphics_MILK; PHOS: return open_car_pony_gen_1A_switch_graphics_PHOS; BEER: return open_car_pony_gen_1A_switch_graphics_BEER; JAVA: return open_car_pony_gen_1A_switch_graphics_JAVA; return open_car_pony_gen_1A_switch_graphics_generic_cargos; } // buy menu graphics chain spriteset(open_car_pony_gen_1A_ss_purchase, "generated/graphics/open_car_pony_gen_1A.png") { spriteset_template_purchase_open_car_pony_gen_1A(10) } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_purchase, 0) { return open_car_pony_gen_1A_ss_purchase; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_set_layers_register_more_sprites, STORE_TEMP(CB_FLAG_MORE_SPRITES | PALETTE_USE_DEFAULT, 0x100)) { return open_car_pony_gen_1A_switch_graphics_vehicle; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_rear_light, position_in_consist_from_end) { 0: return ss_rear_light_16px; return ss_rear_light_empty; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics_layer_rear_light, STORE_TEMP(PALETTE_USE_DEFAULT, 0x100)) { return open_car_pony_gen_1A_switch_graphics_rear_light; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_graphics, getbits(extra_callback_info1, 8, 8)) { 0: return open_car_pony_gen_1A_switch_set_layers_register_more_sprites; return open_car_pony_gen_1A_switch_graphics_layer_rear_light; } random_switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_colour_mapping_flipped) { 1: return base_sprite_2cc + 16 * company_colour2 + company_colour1; 1: return base_sprite_2cc + 16 * company_colour1 + company_colour2; } random_switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_colour_mapping_unflipped) { 1: return base_sprite_2cc + 16 * company_colour1 + company_colour2; 1: return base_sprite_2cc + 16 * company_colour2 + company_colour1; } // handle user flipped state switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_colour_mapping, vehicle_is_flipped) { 1: return open_car_pony_gen_1A_switch_colour_mapping_flipped; return open_car_pony_gen_1A_switch_colour_mapping_unflipped; } // -- capacity determined according to specific labels that might need to be handled, and otherwise cargo class -- // switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_cargo_capacity_by_cargo_0, cargo_classes & bitmask(CC_PASSENGERS, CC_MAIL, CC_ARMOURED)) { bitmask(CC_MAIL): return 22; bitmask(CC_ARMOURED): return 22; return 11; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_cargo_capacity_by_cargo_1, cargo_classes & bitmask(CC_PASSENGERS, CC_MAIL, CC_ARMOURED)) { bitmask(CC_MAIL): return 32; bitmask(CC_ARMOURED): return 32; return 16; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_cargo_capacity_by_cargo_2, cargo_classes & bitmask(CC_PASSENGERS, CC_MAIL, CC_ARMOURED)) { bitmask(CC_MAIL): return 44; bitmask(CC_ARMOURED): return 44; return 22; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_cargo_capacity, param[0]) { 0: open_car_pony_gen_1A_switch_cargo_capacity_by_cargo_0; 1: open_car_pony_gen_1A_switch_cargo_capacity_by_cargo_1; 2: open_car_pony_gen_1A_switch_cargo_capacity_by_cargo_2; } // -- loading speed also determined by capacity, which varies by cargo -- // switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_loading_speed_by_cargo_0, cargo_classes & bitmask(CC_PASSENGERS, CC_MAIL, CC_ARMOURED)) { bitmask(CC_PASSENGERS): return 2; bitmask(CC_MAIL): return 2; bitmask(CC_ARMOURED): return 2; return 2; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_loading_speed_by_cargo_1, cargo_classes & bitmask(CC_PASSENGERS, CC_MAIL, CC_ARMOURED)) { bitmask(CC_PASSENGERS): return 3; bitmask(CC_MAIL): return 3; bitmask(CC_ARMOURED): return 3; return 3; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_loading_speed_by_cargo_2, cargo_classes & bitmask(CC_PASSENGERS, CC_MAIL, CC_ARMOURED)) { bitmask(CC_PASSENGERS): return 4; bitmask(CC_MAIL): return 4; bitmask(CC_ARMOURED): return 4; return 4; } switch (FEAT_TRAINS, SELF, open_car_pony_gen_1A_switch_loading_speed, param[0]) { 0: open_car_pony_gen_1A_switch_loading_speed_by_cargo_0; 1: open_car_pony_gen_1A_switch_loading_speed_by_cargo_1; 2: open_car_pony_gen_1A_switch_loading_speed_by_cargo_2; } item(FEAT_TRAINS, open_car_pony_gen_1A, 820) { property { name: string(STR_NAME_CONSIST_PARENTHESES, string(STR_NAME_SUFFIX_OPEN_CAR), string(STR_NAME_SUFFIX_SMALL)); climates_available: NO_CLIMATE; // nml constant engine_class: ENGINE_CLASS_STEAM; visual_effect_and_powered: visual_effect_and_powered(VISUAL_EFFECT_DISABLE, 0, DISABLE_WAGON_POWER); introduction_date: date(1860,01,01); // consist just supplies intro year - openttd randomises intro dates a bit anyway cargo_capacity: 16; sprite_id: SPRITE_ID_NEW_TRAIN; //enable new graphics - nml constant power: 0hp; speed: 45mph; weight: 8ton; tractive_effort_coefficient: 0.3; cost_factor: 0; // use the CB to set this, the prop is capped to max 255, cb is 32k running_cost_base: RUNNING_COST_DIESEL; running_cost_factor: 0; // use the CB to set this, the prop is capped to max 255, cb is 32k refit_cost: 0; // btw this needs to be 0 if we want autorefit without using cb refittable_cargo_classes: bitmask(CC_BULK,CC_COVERED,CC_LIQUID,CC_REFRIGERATED,CC_EXPRESS,CC_ARMOURED,CC_NON_POURABLE,CC_PIECE_GOODS); non_refittable_cargo_classes: bitmask(); // don't set non-refittable classes, increases likelihood of breaking cargo support cargo_allow_refit: []; cargo_disallow_refit: [TOUR]; cargo_age_period: 185; default_cargo_type: GOOD; misc_flags: bitmask(TRAIN_FLAG_2CC,TRAIN_FLAG_SPRITE_STACK,TRAIN_FLAG_FLIP,TRAIN_FLAG_AUTOREFIT); // nml constants model_life: 40; retire_early: -10; reliability_decay: 20; // default value vehicle_life: 40; length: 4; track_type: RAIL; } graphics { default: open_car_pony_gen_1A_switch_graphics; purchase: open_car_pony_gen_1A_switch_graphics_purchase; cost_factor: 37; // CB used as it is capped to max 32k, prop is only 255 running_cost_factor: 145; // CB used as it is capped to max 32k, prop is only 255 colour_mapping: open_car_pony_gen_1A_switch_colour_mapping; cargo_capacity: open_car_pony_gen_1A_switch_cargo_capacity; purchase_cargo_capacity: open_car_pony_gen_1A_switch_cargo_capacity; loading_speed: open_car_pony_gen_1A_switch_loading_speed; additional_text: string(STR_SPRITES_COMPLETE); } } if (param[1]==0) { item(FEAT_TRAINS, open_car_pony_gen_1A, 820) { property { climates_available: ALL_CLIMATES; } } } // -- end 820 --
Mark as private
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
forever