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
// buildings (snow aware) building { sprite: machine_shop_spriteset_1_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_1_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_1_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_1_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_1_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_1_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_1_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_1_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_1_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_1_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_1_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_1_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_2 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_2_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_2_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_2_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_2_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_2_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_2_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_2_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_2_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_2_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_2_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_2_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_2_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_2_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_2_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_2_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_3 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_3_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_3_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_3_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_3_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_3_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_3_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_3_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_3_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_3_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_3_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_3_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_3_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_3_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_3_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_3_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_4 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_4_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_4_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_4_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_4_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_4_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_4_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_4_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_4_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_4_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_4_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_4_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_4_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_4_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_4_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_4_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_5 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_5_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_5_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_5_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_5_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_5_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_5_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_5_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_5_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_5_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_5_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_5_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_5_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_5_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_5_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_5_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_6 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_6_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_6_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_6_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_6_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_6_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_6_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_6_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_6_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_6_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_6_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_6_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_6_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_6_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_6_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_6_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 78; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_7 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_7_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_7_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_7_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_7_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_7_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_7_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_7_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_7_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_7_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_7_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_7_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_7_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_7_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_7_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_7_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_8 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_8_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_8_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_8_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_8_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_8_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_8_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_8_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_8_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_8_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_8_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_8_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_8_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_8_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_8_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_8_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites building { sprite: 2040 + (animation_frame / 4); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 13; yoffset: 0; zoffset: 73+ animation_frame; xextent: 11; yextent: 16; zextent: 7; hide_sprite: animation_frame > 19; } // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_9 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_9_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_9_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_9_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_9_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_9_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_9_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_9_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_9_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_9_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_9_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_9_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_9_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_9_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_9_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_9_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_10 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_10_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_10_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_10_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_10_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_10_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_10_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_10_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_10_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_10_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_10_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_10_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_10_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_10_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_10_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_10_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 64; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_11 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_11_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_11_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_11_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_11_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_11_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_11_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_11_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_11_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_11_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_11_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_11_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_11_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_11_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_11_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_11_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_12 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_12_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_12_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_12_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_12_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_12_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_12_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_12_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_12_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_12_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_12_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_12_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_12_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_12_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_12_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_12_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } // smoke sprites // fences SE and SW building { sprite: 1301 + LOAD_TEMP(3); hide_sprite: (LOAD_TEMP(11) == 0); xoffset: 0; yoffset: 16; zoffset: LOAD_TEMP(7) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1302 + LOAD_TEMP(4); hide_sprite: (LOAD_TEMP(12) == 0); xoffset: 16; yoffset: 0; zoffset: LOAD_TEMP(8) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } } spritelayout machine_shop_spritelayout_13 { // industry-specific ground (snow aware) // normal childsprite { sprite: machine_shop_spriteset_ground_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type == TILETYPE_SNOW); always_draw: 1; } // snow childsprite { sprite: machine_shop_spriteset_ground_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } childsprite { sprite: machine_shop_spriteset_ground_overlay_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; hide_sprite: (terrain_type != TILETYPE_SNOW); always_draw: 1; } // fences NE and NW building { sprite: 1302 + LOAD_TEMP(1); hide_sprite: (LOAD_TEMP(9) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(5) * 8; xextent: 1; yextent: 16; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } building { sprite: 1301 + LOAD_TEMP(2); hide_sprite: (LOAD_TEMP(10) == 0); xoffset: 0; yoffset: 0; zoffset: LOAD_TEMP(6) * 8; xextent: 16; yextent: 1; zextent: 6; recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; } // construction stages - optional // construction states (no snow awareness) building { sprite: machine_shop_spriteset_13_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 0); } building { sprite: machine_shop_spriteset_13_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 1); } building { sprite: machine_shop_spriteset_13_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 2); } // buildings (snow aware) building { sprite: machine_shop_spriteset_13_0(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_13_0_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1920; } building { sprite: machine_shop_spriteset_13_1(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_13_1_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1920 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1945; } building { sprite: machine_shop_spriteset_13_2(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_13_2_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1945 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1970; } building { sprite: machine_shop_spriteset_13_3(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_13_3_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1970 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 1990; } building { sprite: machine_shop_spriteset_13_4(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_13_4_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 1990 || (current_year + 5 * LOAD_TEMP(0) / 0x10000) >= 2010; } building { sprite: machine_shop_spriteset_13_5(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type == TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; } building { sprite: machine_shop_spriteset_13_5_snow(0* animation_frame); recolour_mode: RECOLOUR_REMAP; palette: PALETTE_USE_DEFAULT; xoffset: 0; yoffset: 0; zoffset: 0; xextent: 16; yextent: 16; zextent: 32; always_draw: 0; hide_sprite: (construction_state != 3) || (terrain_type != TILETYPE_SNOW) || (current_year + 5 * LOAD_TEMP(0) / 0x10000) < 2010; }
Mark as private
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
forever