//TAGAP_START
//=====================================================================
// LOCATION-SPECIFIC DEVICES
//=====================================================================
//=====================================================================
// PLATFORMS
//=====================================================================
ENTITY x_platform_base
DESCRIBE Flip_platform_base
SPRITE DYNAMIC 3 NONE 1 3 dynamic/platform_flip_base
OFFSET SIZE 64 32
STAT FX_NOENV_FX
END
//=====================================================================
ENTITY x_platform1
DESCRIBE Flip_platform_(64)
SPRITE DYNAMIC 2 NONE 34 -11 dynamic/platform_base1
SPRITE DYNAMIC 2 NONE -20 -11 dynamic/platform_base1
SPRITE DYNAMIC 2 NONE 6 -15 dynamic/platform_base1
SPRITE DYNAMIC 3 NONE 38 0 dynamic/platform_flip1
SPRITEVAR 0 SCISSORS 1
SPRITEVAR 0 FRAME 1
SPRITEVAR 0 HIDE_MOVE_Y 6
SPRITEVAR 0 HIDE_DELAY 200
SPRITEVAR 1 FRAME 1
SPRITEVAR 1 HIDE_MOVE_Y 6
SPRITEVAR 1 HIDE_DELAY 200
SPRITEVAR 2 SCISSORS -1
SPRITEVAR 2 HIDE_MOVE_X 64
SPRITEVAR 2 HIDE_DELAY -200
SPRITEVAR 3 ANGLEOFFSET 180
SPRITEVAR 3 HIDE_ROLL -180
SPRITEVAR 3 OFFS_X 32
SOUND DYNAMIC S_SLEEP dynamic/event_platform_flip
SOUND DYNAMIC S_WAKE dynamic/event_platform_flip
SCISSORS -48 -13 96 8
STAT FX_NOENV_FX
STAT TEMPMISSILE 500
END
//=====================================================================
ENTITY x_platform1b
CLONE x_platform1
DESCRIBE Flip_platform_(64)_(start)
SPRITEVAR 2 HIDE_MOVE_X 20
SPRITEVAR 2 HIDE_MOVE_Y -38
SPRITEVAR 2 HIDE_ROLL -90
SPRITEVAR 3 ANGLEOFFSET 180
SPRITEVAR 3 HIDE_ROLL -90
END
//=====================================================================
ENTITY x_platform2
DESCRIBE Slide_platform_(64)
SPRITE DYNAMIC 2 NONE 28 -11 dynamic/platform_base1
SPRITE DYNAMIC 2 NONE -26 -11 dynamic/platform_base1
SPRITE DYNAMIC 2 NONE 0 -15 dynamic/platform_base1
SPRITE DYNAMIC 3 NONE 1 -1 dynamic/platform_slide1
SPRITEVAR 0 SCISSORS 1
SPRITEVAR 0 FRAME 1
SPRITEVAR 0 HIDE_MOVE_Y 8
SPRITEVAR 0 HIDE_DELAY 200
SPRITEVAR 1 FRAME 1
SPRITEVAR 1 HIDE_MOVE_Y 8
SPRITEVAR 1 HIDE_DELAY 200
SPRITEVAR 2 HIDE_MOVE_X 64
SPRITEVAR 2 HIDE_DELAY -200
SPRITEVAR 3 HIDE_MOVE_X 64
SCISSORS -32 -16 64 32
STAT FX_NOENV_FX
STAT TEMPMISSILE 500
END

//=====================================================================
// DOOR GEARS
//=====================================================================
ENTITY door_gears
DESCRIBE Gears_for_large_doors
SPRITE DYNAMIC 2 NONE -12 0 dynamic/door_gears
SPRITE DYNAMIC 2 NONE 4 0 dynamic/door_gears
SPRITE DYNAMIC 2 NONE -4 -36 dynamic/chain1
SPRITE DYNAMIC 2 NONE 12 28 dynamic/chain1
SPRITE DYNAMIC 2 NONE 4 111 dynamic/door_gear_base
SPRITE DYNAMIC 2 NONE 4 1 dynamic/door_gear_base
SPRITE DYNAMIC 2 NONE 4 -111 dynamic/door_gear_base
SPRITE DYNAMIC 2 NONE 4 0 dynamic/door_gears
SPRITEVAR 1 FRAME 2
SPRITEVAR 2 FILL_H 320
SPRITEVAR 2 HIDE_MOVE_Y -64
SPRITEVAR 2 HIDE_TIME 425
SPRITEVAR 2 SCISSORS 1
SPRITEVAR 3 FILL_H 320
SPRITEVAR 3 HIDE_MOVE_Y 64
SPRITEVAR 3 HIDE_TIME 425
SPRITEVAR 4 ANGLEOFFSET 12
SPRITEVAR 4 HIDE_ROLL -270
SPRITEVAR 4 HIDE_TIME 425
SPRITEVAR 5 HIDE_ROLL -270
SPRITEVAR 5 HIDE_TIME 425
SPRITEVAR 6 ANGLEOFFSET -15
SPRITEVAR 6 HIDE_ROLL -270
SPRITEVAR 6 HIDE_TIME 425
SPRITEVAR 7 FRAME 1
SPRITEVAR 7 SCISSORS -1
SCISSORS -16 -122 32 244
STAT FX_NOENV_FX
END
//=====================================================================
// LOCKED DOOR
//=====================================================================
ENTITY x_door
DESCRIBE Locked_door_for_decoration
SPRITE STATIC 2 NONE -1 3 world/door_front
SPRITE STATIC 2 NONE 0 3 world/door_front
SPRITE STATIC 2 NONE 0 -4 world/door_front
SPRITE STATIC 1 NONE 0 3 world/door_front
SPRITE STATIC 2 NONE -34 -62 world/door_front
SPRITE STATIC 2 NONE 34 -62 world/door_front
SPRITE STATIC 2 NONE 0 -5 world/door_front
SPRITE STATIC 2 NONE 0 -2 world/door_front
SPRITE STATIC 1 NONE -52 50 world/door_front
SPRITE STATIC 1 NONE 52 50 world/door_front
LIGHT -52 50 15 255 0 0 50
LIGHT 52 50 15 255 0 0 50
SPRITEVAR 0 FRAME 2
SPRITEVAR 1 FRAME 3
SPRITEVAR 2 FRAME 1
SPRITEVAR 3 FRAME 7
SPRITEVAR 4 FRAME 5
SPRITEVAR 5 FRAME 5
SPRITEVAR 6 FRAME 4
SPRITEVAR 8 FRAME 9
SPRITEVAR 9 FRAME 9
SPRITEVAR 9 INVERTFACE
OFFSET SIZE 64 0
END
//=====================================================================
// EMPTY GUNCLOSET
//=====================================================================
ENTITY x_guncloset
DESCRIBE Empty_guncloset
SPRITE STATIC 2 NONE 5 1 world/guncloset 
SPRITE STATIC 2 NONE 0 48 world/guncloset
SPRITE STATIC 2 NONE 0 42 world/guncloset
SPRITEVAR 1 FRAME 1
SPRITEVAR 2 FRAME 2
SOUND STATIC S_LOOP world/loop_light
OFFSET SIZE 32 64
STAT FX_IDLEDISTANCE 30
STAT FX_NOENV_FX
END

//=====================================================================
// RADIATOR
//=====================================================================
ENTITY x_radiator_b
SPRITE DYNAMIC 2 NONE 4 2 dynamic/radiator
OFFSET SIZE 32 0
STAT NOLIST
END
//=====================================================================
ENTITY x_radiator
DESCRIBE Radiator
SPRITE DYNAMIC 2 NONE 4 2 dynamic/radiator
SPRITE DYNAMIC 2 NONE 45 -11 dynamic/radiator
SPRITEVAR 1 FRAME 1
SOUND STATIC S_DIE common/break_valve
CORPSE x_radiator_b 0
ITEM x_valve_steam 45 -11
WEAKPOINT 45 -8 7
OFFSET SIZE 32 0
STAT TAKEDAMAGE_SURFACE
EFFECT GIB DEBRIS_METAL 35 -8 25
EFFECT GIB SPARKS 35 -8 0
END

//=====================================================================
// WALL PHONE
//=====================================================================
ENTITY x_phone1_broken
SPRITE DYNAMIC 2 NONE -8 -19 dynamic/phone1
SPRITE DYNAMIC 2 NONE 0 -1 dynamic/phone1
SPRITE DYNAMIC 2 NONE -9 -18 dynamic/phone1
SPRITE DYNAMIC 2 NONE -5 -66 dynamic/phone1
SPRITE DYNAMIC 2 NONE -5 -66 dynamic/phone1
SPRITEVAR 0 SCISSORS 1
SPRITEVAR 0 FRAME 6
SPRITEVAR 0 OFFS_X -1
SPRITEVAR 0 OFFS_Y -24
SPRITEVAR 0 HIDE_MOVE_Y -60
SPRITEVAR 0 HIDE_TIME 250
SPRITEVAR 1 FRAME 4
SPRITEVAR 1 SCISSORS -1
SPRITEVAR 2 FADE_TOGGLE 175
SPRITEVAR 2 FRAME 3
SPRITEVAR 2 BIAS 5
SPRITEVAR 2 OFFS_X -1
SPRITEVAR 2 OFFS_Y -13
SPRITEVAR 3 ANGLEOFFSET -130
SPRITEVAR 3 FRAME 5
SPRITEVAR 3 HIDE_MOVE_X -6
SPRITEVAR 3 HIDE_MOVE_Y -54
SPRITEVAR 3 HIDE_ROLL 130
SPRITEVAR 3 HIDE_TIME 250
SPRITEVAR 3 OFFS_Y 12
SPRITEVAR 4 ACTIVE
SPRITEVAR 4 ANGLEOFFSET -130
SPRITEVAR 4 FADE_TOGGLE 200
SPRITEVAR 4 FRAME 1
SPRITEVAR 4 HIDE_MOVE_X -6
SPRITEVAR 4 HIDE_MOVE_Y -54
SPRITEVAR 4 HIDE_ROLL 130
SPRITEVAR 4 HIDE_TIME 250
SPRITEVAR 4 OFFS_Y 12
SOUND DYNAMIC S_DIE dynamic/break_small
SCISSORS -17 -72 34 58
STAT FX_NOENV_FX
STAT NOLIST
END
//=====================================================================
ENTITY x_phone1b
CLONE x_phone1_broken
SPRITEVAR 1 FRAME 0
SOUND DYNAMIC S_LOOP dynamic/event_phone_tone
CORPSE x_phone1_broken 0
ITEM tempspark_c 6 12
STAT AI_FIRE_ON_ACTIVE
STAT COLLATERAL 1
STAT FX_IDLEDISTANCE 30
STAT FX_NOENV_FX
STAT NOLIST
STAT TAKEDAMAGE_EMP
STAT TAKEDAMAGE_ENV
STAT TAKEDAMAGE_SURFACE
EFFECT GIB DEBRIS_METAL 6 12 30
END
//=====================================================================
ENTITY x_phone1
DESCRIBE Phone_(wallmount)
SPRITE DYNAMIC 2 NONE 0 -1 dynamic/phone1
SPRITE DYNAMIC 2 NONE -9 -18 dynamic/phone1
SPRITE DYNAMIC 2 NONE -11 0 dynamic/phone1
SPRITE DYNAMIC 2 NONE -11 8 dynamic/phone1
SPRITEVAR 1 FRAME 3
SPRITEVAR 1 BIAS 5
SPRITEVAR 1 OFFS_X -1
SPRITEVAR 1 OFFS_Y -13
SPRITEVAR 2 FRAME 1
SPRITEVAR 3 FRAME 2
SOUND DYNAMIC S_DIE dynamic/event_phone_drop
CORPSE x_phone1b 0
STAT COLLATERAL -1
STAT FX_NOENV_FX
STAT TAKEDAMAGE_ENV
STAT TAKEDAMAGE_SURFACE
STAT TAKEDAMAGE_WADDLE -900
END

//=====================================================================
// VENDING MACHINES
//=====================================================================
ENTITY x_env_vend1_rubble
LIGHT -8 -39 60 50 100 255 33
STAT AI_KEEPANGLE 90
STAT FX_FLICKER
STAT FX_LIGHTBEAM 78
STAT FX_NOENV_FX
STAT NOLIST
STAT TEMPMISSILE 1500
END
//=====================================================================
ENTITY x_env_vend1_b
SPRITE DYNAMIC 0 NONE 0 0 dynamic/vending1
SPRITE DYNAMIC 0 NONE -7 1 dynamic/vending1
SPRITE DYNAMIC 0 NONE 25 5 dynamic/vending1
SPRITE DYNAMIC 1 NONE -7 1 dynamic/vending1
SPRITE DYNAMIC 1 NONE 25 5 dynamic/vending1
SPRITEVAR 0 FRAME 0
SPRITEVAR 1 FRAME 2
SPRITEVAR 2 FRAME 3
SPRITEVAR 3 ACTIVE
SPRITEVAR 3 EMP 2
SPRITEVAR 3 FRAME 2
SPRITEVAR 3 FADE 1
SPRITEVAR 4 ACTIVE
SPRITEVAR 4 EMP 2
SPRITEVAR 4 FRAME 3
SPRITEVAR 4 FADE 1
LIGHT -8 -39 60 50 100 255 12
SOUND STATIC S_LOOP common/loop_power
STAT AI_KEEPANGLE 90
STAT FX_BLINK
STAT FX_IDLEDISTANCE 35
STAT FX_LIGHTBEAM 78
STAT FX_NOENV_FX
STAT NOLIST
STAT TAKEDAMAGE_EMP
STAT TEMPMISSILE 2000
END
//=====================================================================
ENTITY x_env_vend1
DESCRIBE Vending_machine_(soda)
SPRITE DYNAMIC 0 NONE 0 0 dynamic/vending1
SPRITE DYNAMIC 0 NONE -7 1 dynamic/vending1
SPRITE DYNAMIC 0 NONE 25 5 dynamic/vending1
SPRITE DYNAMIC 1 NONE -7 1 dynamic/vending1
SPRITE DYNAMIC 1 NONE 25 5 dynamic/vending1
SPRITEVAR 0 FRAME 0
SPRITEVAR 1 FRAME 1
SPRITEVAR 2 FRAME 3
SPRITEVAR 3 ACTIVE
SPRITEVAR 3 FRAME 1
SPRITEVAR 3 EMP 1
SPRITEVAR 4 ACTIVE
SPRITEVAR 4 FRAME 3
SPRITEVAR 4 EMP 1
SOUND DYNAMIC S_DIE dynamic/break_vending
SOUND STATIC S_LOOP common/loop_power
LIGHT -8 -39 60 50 100 255 33
CORPSE x_env_vend1_b 0
ITEM x_env_vend1_rubble 0 0
OFFSET SIZE 32 0
STAT AI_KEEPANGLE 90
STAT FX_DIM_COLOR 1
STAT FX_IDLEDISTANCE 35
STAT FX_LIGHTBEAM 78
STAT FX_NOENV_FX
STAT TAKEDAMAGE_EMP
STAT TAKEDAMAGE_SURFACE
EFFECT GIB SMOKE -8 28 0
EFFECT GIB DEBRIS_METAL -8 -28 0
EFFECT GIB DEBRIS_GLASS -8 28 0
END
//=====================================================================
ENTITY x_env_vend2_rubble
LIGHT -8 16 60 220 190 80 33
STAT AI_KEEPANGLE 90
STAT FX_FLICKER
STAT FX_LIGHTBEAM 20
STAT NOLIST
STAT TEMPMISSILE 1500
END
//=====================================================================
ENTITY x_env_vend2_b
SPRITE DYNAMIC 0 NONE 0 0 dynamic/vending2
SPRITE DYNAMIC 0 NONE 0 -37 dynamic/vending2
SPRITE DYNAMIC 0 NONE -7 25 dynamic/vending2
SPRITE DYNAMIC 0 NONE 25 21 dynamic/vending2
SPRITE DYNAMIC 1 NONE -7 25 dynamic/vending2
SPRITE DYNAMIC 1 NONE 25 21 dynamic/vending2
SPRITEVAR 0 FRAME 0
SPRITEVAR 1 FRAME 1
SPRITEVAR 2 FRAME 3
SPRITEVAR 3 FRAME 4
SPRITEVAR 4 ACTIVE
SPRITEVAR 4 EMP 1
SPRITEVAR 4 FADE 1
SPRITEVAR 4 FRAME 3
SPRITEVAR 5 ACTIVE
SPRITEVAR 5 EMP 1
SPRITEVAR 5 FADE 1
SPRITEVAR 5 FRAME 4
LIGHT -8 16 60 220 190 80 10
SOUND STATIC S_LOOP common/loop_power
STAT AI_KEEPANGLE 90
STAT FX_BLINK
STAT FX_IDLEDISTANCE 35
STAT FX_NOENV_FX
STAT NOLIST
STAT TAKEDAMAGE_EMP
STAT TEMPMISSILE 2000
END
//=====================================================================
ENTITY x_env_vend2
DESCRIBE Vending_machine_(coffee)
SPRITE DYNAMIC 0 NONE 0 0 dynamic/vending2
SPRITE DYNAMIC 0 NONE -7 25 dynamic/vending2
SPRITE DYNAMIC 0 NONE 25 21 dynamic/vending2
SPRITE DYNAMIC 1 NONE -7 25 dynamic/vending2
SPRITE DYNAMIC 1 NONE 25 21 dynamic/vending2
SPRITEVAR 0 FRAME 0
SPRITEVAR 1 FRAME 2
SPRITEVAR 2 FRAME 4
SPRITEVAR 3 ACTIVE
SPRITEVAR 3 FRAME 2
SPRITEVAR 3 EMP 1
SPRITEVAR 4 ACTIVE
SPRITEVAR 4 FRAME 4
SPRITEVAR 4 EMP 1
SOUND DYNAMIC S_DIE dynamic/break_vending
SOUND STATIC S_LOOP common/loop_power
LIGHT -8 16 60 220 190 80 33
CORPSE x_env_vend2_b 0
ITEM x_env_vend2_rubble 0 0
OFFSET SIZE 32 0
STAT AI_KEEPANGLE 90
STAT FX_DIM_COLOR 1
STAT FX_IDLEDISTANCE 35
STAT FX_LIGHTBEAM 20
STAT FX_NOENV_FX
STAT TAKEDAMAGE_EMP
STAT TAKEDAMAGE_SURFACE
EFFECT GIB SMOKE -8 28 0
EFFECT GIB DEBRIS_METAL -8 -28 0
EFFECT GIB DEBRIS_GLASS -8 28 0
END
//=====================================================================
// WATER COOLER
//=====================================================================
ENTITY x_watercooler_broken
SPRITE DYNAMIC 2 NONE 0 -48 dynamic/watercooler
SPRITE DYNAMIC 2 NONE 0 -17 dynamic/watercooler
SPRITEVAR 1 FRAME 2
STAT FX_NOENV_FX
STAT NOLIST
END
//=====================================================================
ENTITY x_watercooler
DESCRIBE Watercooler
SPRITE DYNAMIC 2 NONE 0 -7 dynamic/watercooler
SPRITE DYNAMIC 2 ANIM_PANUP 0 -7 dynamic/watercooler
SPRITE DYNAMIC 2 NONE 0 -48 dynamic/watercooler
SPRITE DYNAMIC 2 NONE 0 -1 dynamic/watercooler
SPRITEVAR 0 ALPHA 80
SPRITEVAR 0 FRAME 3
SPRITEVAR 1 FRAME 4
SPRITEVAR 1 FILL_H 34
SPRITEVAR 3 FACE 0
SPRITEVAR 3 FRAME 1
SOUND DYNAMIC S_DIE dynamic/break_watercooler
SOUND DYNAMIC S_LOOP dynamic/loop_bubbles
CORPSE x_watercooler_broken 0
OFFSET SIZE 48 48
STAT FX_IDLEDISTANCE 25
STAT FX_NOENV_FX
STAT TAKEDAMAGE_SURFACE
EFFECT GIB DEBRIS_GLASS 0 0 100
EFFECT GIB LIQUID_WATER 0 0 100
END
//=====================================================================
// PHOTOCOPIER
//=====================================================================
ENTITY x_env_copier_b
SPRITE DYNAMIC 0 NONE 4 -7 dynamic/photocopier
SPRITEVAR 0 FRAME 1
LIGHT 0 26 26 225 225 255 40
SOUND STATIC S_LOOP world/loop_light
STAT FX_BLINK
STAT FX_DIM_COLOR
STAT FX_IDLEDISTANCE 25
STAT FX_NOENV_FX
STAT NOLIST
END
//=====================================================================
ENTITY x_env_copier
DESCRIBE Photocopier
SPRITE DYNAMIC 0 NONE 2 -7 dynamic/photocopier
LIGHT 4 26 26 225 225 255 40
SOUND STATIC S_DIE world/break_panel
SOUND STATIC S_LOOP world/loop_light
OFFSET SIZE 24 0
CORPSE x_env_copier_b 0
STAT DAMAGE_SPLASH 35
STAT FX_DIM_COLOR
STAT FX_IDLEDISTANCE 25
STAT FX_NOENV_FX
STAT TAKEDAMAGE_EMP
STAT TAKEDAMAGE_SURFACE
EFFECT GIB EXPLOSION 4 26 0
EFFECT GIB DEBRIS_METAL 4 26 0
EFFECT GIB PAPER 4 26 0
EFFECT GIB SMOKE 4 26 0
END
//=====================================================================
// LINE PRINTER
//=====================================================================
ENTITY x_linepbox
SPRITE DYNAMIC 0 NONE 0 0 dynamic/lineprinter
SPRITEVAR 0 FRAME 4
SPRITEVAR 0 USEGROUND
OFFSET SIZE 16 0
STAT AI_NONBLOCKING
STAT FX_NOENV_FX
STAT NOLIST
END
//=====================================================================
ENTITY x_lineprintb
SPRITE DYNAMIC 0 NONE 0 19 dynamic/lineprinter
SPRITE DYNAMIC 0 NONE 0 -16 dynamic/lineprinter
SPRITE DYNAMIC 0 NONE -7 -15 dynamic/lineprinter
SPRITE DYNAMIC 0 NONE 7 -15 dynamic/lineprinter
SPRITE DYNAMIC 0 NONE 0 16 dynamic/lineprinter
SPRITE DYNAMIC 0 NONE 0 -112 dynamic/lineprinter
SPRITE DYNAMIC 0 ANIM_PANDOWN 0 -50 dynamic/lineprinter
SPRITE DYNAMIC 0 NONE 0 -110 dynamic/lineprinter
SPRITE DYNAMIC 0 NONE 0 -84 dynamic/lineprinter
SPRITE DYNAMIC 0 NONE 3 1 dynamic/lineprinter
SPRITEVAR 0 FRAME 2
SPRITEVAR 1 FRAME 1
SPRITEVAR 2 FRAME 3
SPRITEVAR 3 FRAME 3
SPRITEVAR 3 INVERTFACE
SPRITEVAR 4 FILL_H 24
SPRITEVAR 4 FRAME 9
SPRITEVAR 5 FILL_H 56
SPRITEVAR 5 FRAME 6
SPRITEVAR 5 HIDE_DELAY 100
SPRITEVAR 5 HIDE_MOVE_Y -66
SPRITEVAR 5 HIDE_TIME 450
SPRITEVAR 5 SCISSORS 1
SPRITEVAR 6 ACTIVE
SPRITEVAR 6 FADE_TOGGLE 100
SPRITEVAR 6 FILL_H 56
SPRITEVAR 6 FRAME 6
SPRITEVAR 7 FRAME 5
SPRITEVAR 7 HIDE_DELAY 98
SPRITEVAR 7 HIDE_MOVE_Y -66
SPRITEVAR 7 HIDE_TIME 450
SPRITEVAR 8 FRAME 10
SPRITEVAR 8 HIDE_DELAY 100
SPRITEVAR 8 HIDE_MOVE_Y -66
SPRITEVAR 8 HIDE_TIME 450
SPRITEVAR 9 FRAME 11
SPRITEVAR 9 SCISSORS -1
SCISSORS -32 -78 64 64
OBJECT 1 x_linepbox 0 -59 DROP 30 0 0
STAT AI_FIRE_ON_ACTIVE
STAT FX_NOENV_FX
STAT NOLIST
END
//=====================================================================
ENTITY x_lineprint
DESCRIBE Line_printer
SPRITE DYNAMIC 0 NONE 0 19 dynamic/lineprinter
SPRITE DYNAMIC 0 NONE 0 -16 dynamic/lineprinter
SPRITE DYNAMIC 0 NONE -7 -15 dynamic/lineprinter
SPRITE DYNAMIC 0 NONE 7 -15 dynamic/lineprinter
SPRITE DYNAMIC 0 ANIM_PANDOWN 0 16 dynamic/lineprinter
SPRITE DYNAMIC 0 ANIM_PANDOWN 0 -50 dynamic/lineprinter
SPRITE DYNAMIC 0 ANIM_PANDOWN 0 -20 dynamic/lineprinter
SPRITE DYNAMIC 0 ANIM_PANDOWN 0 -17 dynamic/lineprinter
SPRITE DYNAMIC 0 NONE 0 -48 dynamic/lineprinter
SPRITE DYNAMIC 0 NONE 3 1 dynamic/lineprinter
SPRITEVAR 0 FRAME 2
SPRITEVAR 1 FRAME 1
SPRITEVAR 2 BIAS_MOVE_X 2
SPRITEVAR 2 FRAME 3
SPRITEVAR 3 BIAS_MOVE_X -1
SPRITEVAR 3 FRAME 3
SPRITEVAR 3 INVERTFACE
SPRITEVAR 4 FILL_H 24
SPRITEVAR 4 FRAME 9
SPRITEVAR 5 FILL_H 56
SPRITEVAR 5 FRAME 6
SPRITEVAR 6 FRAME 7
SPRITEVAR 7 FRAME 8
SPRITEVAR 8 FRAME 5
SOUND STATIC S_DIE world/break_paperbox
SOUND DYNAMIC S_LOOP dynamic/loop_printer
CORPSE x_lineprintb 0
OBJECT 1 x_linepbox 0 -59 DROP 30 0 0
ITEM tempspark_d -22 8
STAT FX_IDLEDISTANCE 35
STAT FX_NOENV_FX
STAT FX_PANSPEED 70
STAT FX_WADDLE_CONSTANT 70
STAT S_HEALTH 1
STAT TAKEDAMAGE_SURFACE
EFFECT GIB SMOKE 0 -6 90
EFFECT GIB DEBRIS_METAL 0 8 50
EFFECT GIB PAPER 0 0 100
END
//=====================================================================
// COMPUTER: TABLETOP
//=====================================================================
ENTITY x_env_comp0b
SPRITE DYNAMIC 0 NONE 0 -2 dynamic/comp_table
SPRITE DYNAMIC 3 NONE -57 -35 dynamic/comp_table
SPRITE DYNAMIC 1 NONE 0 -15 dynamic/comp_table
SPRITE DYNAMIC 1 NONE -8 -16 dynamic/comp_table
SPRITE DYNAMIC 1 NONE 8 -16 dynamic/comp_table
SPRITEVAR 0 FRAME 3
SPRITEVAR 1 FRAME 2
SPRITEVAR 2 ACTIVE
SPRITEVAR 2 DIM
SPRITEVAR 2 EMP 2
SPRITEVAR 2 FRAME 4
SPRITEVAR 3 ACTIVE
SPRITEVAR 3 DIM
SPRITEVAR 3 EMP 2
SPRITEVAR 3 FADE 1
SPRITEVAR 3 FRAME 4
SPRITEVAR 3 SCALE 73
SPRITEVAR 4 ACTIVE
SPRITEVAR 4 DIM
SPRITEVAR 4 EMP 2
SPRITEVAR 4 FADE 1
SPRITEVAR 4 FRAME 4
SPRITEVAR 4 SCALE 73
STAT AI_FIRE_ON_ACTIVE
STAT FX_NOENV_FX
STAT NOLIST
STAT TAKEDAMAGE_EMP
STAT TEMPMISSILE 3000
END
//=====================================================================
ENTITY x_env_comp0
DESCRIBE Computer_(tabletop)
SPRITE DYNAMIC 0 NONE 0 -2 dynamic/comp_table
SPRITE DYNAMIC 3 NONE -57 -35 dynamic/comp_table
SPRITE DYNAMIC 1 NONE 0 -15 dynamic/comp_table
SPRITE DYNAMIC 1 NONE -8 -16 dynamic/comp_table
SPRITE DYNAMIC 1 NONE 8 -16 dynamic/comp_table
SPRITEVAR 0 FRAME 1
SPRITEVAR 2 ACTIVE
SPRITEVAR 2 EMP 2
SPRITEVAR 2 FRAME 4
SPRITEVAR 3 ACTIVE
SPRITEVAR 3 EMP 2
SPRITEVAR 3 FRAME 4
SPRITEVAR 3 SCALE 73
SPRITEVAR 4 ACTIVE
SPRITEVAR 4 DIM
SPRITEVAR 4 EMP 2
SPRITEVAR 4 FRAME 4
SPRITEVAR 4 SCALE 73
SOUND STATIC S_DIE world/break_panel
CORPSE x_env_comp0b 0
ITEM tempspark_d -6 8
ITEM z_fx_fragger -32 0
OFFSET SIZE 32 64
STAT FX_NOENV_FX
STAT TAKEDAMAGE_EMP
STAT TAKEDAMAGE_SURFACE
EFFECT GIB DEBRIS_METAL -2 8 86
END
//=====================================================================
// RETRO COMPUTER: REEL RECORDER
//=====================================================================
ENTITY x_env_comp1_b
SPRITE DYNAMIC 0 NONE 0 0 dynamic/comp_reel
SPRITE DYNAMIC 0 NONE 7 10 dynamic/comp_reel
SPRITE DYNAMIC 0 ANIM_PANDOWN 11 20 dynamic/comp_reel
SPRITE DYNAMIC 0 NONE 11 37 dynamic/comp_reel
SPRITEVAR 0 FRAME 1
SPRITEVAR 1 BIAS 5
SPRITEVAR 1 OFFS_Y -35
SPRITEVAR 1 FRAME 4
SPRITEVAR 2 FRAME 3
SPRITEVAR 3 BIAS 30
SPRITEVAR 3 BIAS_CONSTANT 12
SPRITEVAR 3 FRAME 2
STAT FX_DIM_COLOR 1
STAT FX_PANSPEED 200
STAT FX_NOENV_FX
STAT NOLIST
STAT TAKEDAMAGE_WADDLE -2000
END
//=====================================================================
ENTITY x_env_comp1
DESCRIBE Retro_computer_(reels)
SPRITE DYNAMIC 0 NONE 0 0 dynamic/comp_reel
SPRITE DYNAMIC 0 NONE -13 37 dynamic/comp_reel
SPRITE DYNAMIC 0 NONE 11 37 dynamic/comp_reel
SPRITEVAR 1 FRAME 2
SPRITEVAR 1 ROLL -80
SPRITEVAR 2 FRAME 2
SPRITEVAR 2 ROLL -80
CORPSE x_env_comp1_b 0
OFFSET SIZE 64 128
STAT FX_DIM_COLOR 1
STAT FX_NOENV_FX
END
//=====================================================================
// RETRO COMPUTER: SERVER
//=====================================================================
ENTITY x_env_comp2_b
SPRITE DYNAMIC 0 NONE 0 0 dynamic/comp_server
SPRITE DYNAMIC 1 NONE 18 5 dynamic/comp_server_l1
SPRITE DYNAMIC 1 NONE -19 55 dynamic/comp_server_l2
SPRITE DYNAMIC 0 NONE 5 43 dynamic/comp_server
SPRITEVAR 0 FRAME 1
SPRITEVAR 1 ACTIVE
SPRITEVAR 1 DIM 0
SPRITEVAR 1 EMP 2
SPRITEVAR 1 FRAME 1
SPRITEVAR 2 ACTIVE
SPRITEVAR 2 ANIMATE 5
SPRITEVAR 2 EMP 2
SPRITEVAR 2 FADE 1
SPRITEVAR 2 FRAME 2
SPRITEVAR 3 BIAS 5
SPRITEVAR 3 FRAME 2
SPRITEVAR 3 OFFS_Y -39
STAT AI_FIRE_ON_ACTIVE
STAT FX_DIM -10
STAT FX_DIM_COLOR 1
STAT FX_NOENV_FX
STAT NOLIST
STAT TAKEDAMAGE_EMP
STAT TAKEDAMAGE_WADDLE -1500
STAT TEMPMISSILE 3500
END
//=====================================================================
ENTITY x_env_comp2
DESCRIBE Retro_computer_(server)
SPRITE DYNAMIC 0 NONE 0 0 dynamic/comp_server
SPRITE DYNAMIC 1 NONE 18 5 dynamic/comp_server_l1
SPRITE DYNAMIC 1 NONE -19 55 dynamic/comp_server_l2
SPRITEVAR 1 ACTIVE
SPRITEVAR 1 ANIMATE 90
SPRITEVAR 1 EMP 2
SPRITEVAR 2 ACTIVE
SPRITEVAR 2 ANIMATE 5
SPRITEVAR 2 EMP 2
CORPSE x_env_comp2_b 0
OFFSET SIZE 64 128
STAT FX_DIM_COLOR 1
STAT FX_NOENV_FX
STAT TAKEDAMAGE_EMP
END
//=====================================================================
// RETRO COMPUTER: TREKKIE
//=====================================================================
ENTITY x_env_comp3_b
SPRITE DYNAMIC 0 NONE 0 0 dynamic/comp_trekkie
SPRITE DYNAMIC 1 NONE -14 14 dynamic/comp_trekkie_l2
SPRITE DYNAMIC 1 NONE 15 14 dynamic/comp_trekkie_l2
SPRITEVAR 0 FRAME 1
SPRITEVAR 1 ACTIVE
SPRITEVAR 1 ANIMATE 5
SPRITEVAR 1 DIM 0
SPRITEVAR 1 EMP 2
SPRITEVAR 1 FADE 1
SPRITEVAR 2 ACTIVE
SPRITEVAR 2 ANIMATE -5
SPRITEVAR 2 DIM 0
SPRITEVAR 2 EMP 2
SPRITEVAR 2 FADE 1
STAT FX_DIM 10
STAT FX_DIM_COLOR 1
STAT FX_NOENV_FX
STAT NOLIST
STAT TAKEDAMAGE_EMP
STAT TEMPMISSILE 4500
END
//=====================================================================
ENTITY x_env_comp3
DESCRIBE Retro_computer_(trekkie)
SPRITE DYNAMIC 0 NONE 0 0 dynamic/comp_trekkie
SPRITE DYNAMIC 1 NONE -22 30 dynamic/comp_trekkie_l1
SPRITE DYNAMIC 1 NONE -18 30 dynamic/comp_trekkie_l1
SPRITE DYNAMIC 1 NONE -14 30 dynamic/comp_trekkie_l1
SPRITE DYNAMIC 1 NONE -10 30 dynamic/comp_trekkie_l1
SPRITE DYNAMIC 1 NONE -6 30 dynamic/comp_trekkie_l1
SPRITE DYNAMIC 1 NONE 7 30 dynamic/comp_trekkie_l1
SPRITE DYNAMIC 1 NONE 11 30 dynamic/comp_trekkie_l1
SPRITE DYNAMIC 1 NONE 15 30 dynamic/comp_trekkie_l1
SPRITE DYNAMIC 1 NONE 19 30 dynamic/comp_trekkie_l1
SPRITE DYNAMIC 1 NONE 23 30 dynamic/comp_trekkie_l1
SPRITE DYNAMIC 1 NONE -14 14 dynamic/comp_trekkie_l2
SPRITE DYNAMIC 1 NONE 15 14 dynamic/comp_trekkie_l2
SPRITEVAR 1 ACTIVE
SPRITEVAR 1 ANIMATE 60
SPRITEVAR 1 EMP 2
SPRITEVAR 2 ACTIVE
SPRITEVAR 2 ANIMATE -30
SPRITEVAR 2 EMP 2
SPRITEVAR 3 ACTIVE
SPRITEVAR 3 ANIMATE 40
SPRITEVAR 3 EMP 2
SPRITEVAR 4 ACTIVE
SPRITEVAR 4 ANIMATE -85
SPRITEVAR 4 EMP 2
SPRITEVAR 5 ACTIVE
SPRITEVAR 5 ANIMATE 80
SPRITEVAR 5 EMP 2
SPRITEVAR 6 ACTIVE
SPRITEVAR 6 ANIMATE -90
SPRITEVAR 6 EMP 2
SPRITEVAR 7 ACTIVE
SPRITEVAR 7 ANIMATE 50
SPRITEVAR 7 EMP 2
SPRITEVAR 8 ACTIVE
SPRITEVAR 8 ANIMATE -45
SPRITEVAR 8 EMP 2
SPRITEVAR 9 ACTIVE
SPRITEVAR 9 ANIMATE 76
SPRITEVAR 9 EMP 2
SPRITEVAR 10 ACTIVE
SPRITEVAR 10 ANIMATE -60
SPRITEVAR 10 EMP 2
SPRITEVAR 11 ACTIVE
SPRITEVAR 11 ANIMATE 92
SPRITEVAR 11 EMP 2
SPRITEVAR 12 ACTIVE
SPRITEVAR 12 ANIMATE -92
SPRITEVAR 12 EMP 2
CORPSE x_env_comp3_b 0
OFFSET SIZE 64 128
STAT FX_DIM_COLOR 1
STAT FX_NOENV_FX
STAT TAKEDAMAGE_EMP
END

//=====================================================================
// RESEARCH EQUIPMENT
//=====================================================================
ENTITY barrel_rubble2
CLONE barrel_rubble 0 0
MOVETYPE NONE 0
STAT NOLIST
END
//=====================================================================
ENTITY x_env_device1_b
SPRITE DYNAMIC 0 NONE 0 -25 dynamic/device1
SPRITE DYNAMIC 0 NONE -7 -26 dynamic/device1
SPRITE DYNAMIC 0 NONE -15 -37 dynamic/device1
SPRITEVAR 1 FADE_TOGGLE -200
SPRITEVAR 1 FRAME 3
SPRITEVAR 2 BIAS 5
SPRITEVAR 2 FRAME 4
SPRITEVAR 2 OFFS_Y -12
OFFSET FX_OFFSET 0 -32
OFFSET SIZE 22 0
STAT FX_DIM_COLOR 1
STAT FX_SPARKS
STAT FX_NOENV_FX
STAT NOLIST
STAT TAKEDAMAGE_WADDLE -1600
END
//=====================================================================
ENTITY x_env_device1
DESCRIBE Device:_Lab_gear_(with_gas_bottle)
SPRITE DYNAMIC 0 NONE 33 9 dynamic/device1
SPRITE DYNAMIC 0 NONE 0 -25 dynamic/device1
SPRITE DYNAMIC 0 NONE 1 -56 dynamic/device1
SPRITEVAR 0 FRAME 1
SPRITEVAR 2 FRAME 2
SOUND STATIC S_DIE world/break_metal_1
OFFSET SIZE 32 0
CORPSE x_env_device1_b 0
ITEM barrel_rubble2 38 -16
ITEM flame_rubble -44 -80
ITEM x_valve_steam 20 -62
STAT DAMAGE 15
STAT DAMAGE_SPLASH 90
STAT FX_DIM_COLOR 1
STAT FX_NOENV_FX
STAT TAKEDAMAGE_SURFACE
EFFECT GIB DEBRIS_METAL 38 16 0
EFFECT GIB EXPLOSION 38 16 0
EFFECT GIB DEBRIS_METAL -34 -62 0
END

//=====================================================================
// TELEVISION ANTENNA
//=====================================================================
ENTITY x_env_antenna1
DESCRIBE TV_antenna
SPRITE DYNAMIC 2 NONE -2 25 dynamic/antenna1
SPRITE DYNAMIC 2 NONE 0 -76 dynamic/antenna1
SPRITE DYNAMIC 2 NONE 0 13 dynamic/antenna1
SPRITEVAR 0 ANGLEOFFSET -25
SPRITEVAR 0 BIAS 6
SPRITEVAR 0 BIAS_MOVE_X -1
SPRITEVAR 0 FRAME 2
SPRITEVAR 1 BIAS 1
SPRITEVAR 1 OFFS_Y 88
SPRITEVAR 2 BIAS 4
SPRITEVAR 2 ANGLEOFFSET 35
SPRITEVAR 2 FRAME 1
SPRITEVAR 2 BIAS_MOVE_X -1
SPRITEVAR 2 OFFS_X -1
OFFSET SIZE 36 0
STAT FX_NOENV_FX
STAT FX_PAIN
STAT FX_SPARKS
STAT TAKEDAMAGE_WADDLE 1500
END
//=====================================================================
// SATELLITE DISH
//=====================================================================
ENTITY x_env_satellite1_b
SPRITE DYNAMIC 0 NONE 0 -24 dynamic/antenna2
STAT FX_DIM_COLOR 1
STAT NOLIST
END
//=====================================================================
ENTITY x_env_satellite1_gib
SPRITE DYNAMIC 0 NONE 0 0 dynamic/antenna2
SPRITEVAR 0 ANGLEOFFSET -45
SPRITEVAR 0 FRAME 1
SPRITEVAR 0 HIDE_ROLL 45
SPRITEVAR 0 HIDE_TIME 860
SOUND STATIC S_DIE common/break_barrel
THINK NONE 0 AI_BLOW 0
MOVETYPE WALK 0
OFFSET SIZE 40
STAT DAMAGE 10
STAT DAMAGE_SPLASH 120
STAT AI_IGNORE_COLLISION 500
STAT AI_INHERIT_FACE
STAT AI_SIZE_IMPACT 2
STAT AI_SIZE_MOVE 1
STAT FX_DIM_COLOR 1
STAT FX_NOENV_FX
STAT NOLIST
STAT TAKEDAMAGE_UNBREAKABLE
EFFECT GIB DEBRIS_METAL 0 0 0
END
//=====================================================================
ENTITY x_env_satellite1
DESCRIBE Satellite_dish
SPRITE DYNAMIC 0 NONE 0 -24 dynamic/antenna2
SPRITE DYNAMIC 0 NONE -25 24 dynamic/antenna2
SPRITEVAR 1 FRAME 1
SOUND STATIC S_DIE world/break_panel
OFFSET SIZE 30 20
CORPSE x_env_satellite1_b 0
ITEM x_env_satellite1_gib -25 24
ITEM tempspark_d -6 8
STAT DAMAGE_SPLASH 35
STAT FX_DIM_COLOR 1
STAT FX_NOENV_FX
STAT TAKEDAMAGE_SURFACE
EFFECT GIB EXPLOSION 0 0 0
EFFECT GIB DEBRIS_METAL 0 0 0
END

//=====================================================================
// GENERATOR: BASES
//=====================================================================
ENTITY x_env_generator1_b
SPRITE DYNAMIC 0 NONE 0 -3 dynamic/generator
SPRITE DYNAMIC 0 NONE 0 -39 dynamic/generator_base1
SPRITE DYNAMIC 0 NONE 0 50 dynamic/generator
SPRITEVAR 0 FRAME 1
SPRITEVAR 2 FRAME 2
OFFSET SIZE 32 0
STAT FX_DIM_COLOR 1
STAT FX_NOENV_FX
STAT NOLIST
END
//=====================================================================
ENTITY x_env_generator1
DESCRIBE Generator_block_(mounted)
SPRITE DYNAMIC 0 NONE 0 -3 dynamic/generator
SPRITE DYNAMIC 0 NONE 0 -39 dynamic/generator_base1
SPRITE DYNAMIC 0 NONE 0 50 dynamic/generator
SPRITEVAR 2 FRAME 2
SOUND STATIC S_DIE world/break_panel
OFFSET SIZE 30 20
CORPSE x_env_generator1_b 0
ITEM tempspark -18 -5
ITEM tempspark 18 -5
STAT FX_DIM_COLOR 1
STAT FX_NOENV_FX
STAT TAKEDAMAGE_SURFACE
EFFECT GIB DEBRIS_METAL 0 -5 0
END
//=====================================================================
ENTITY x_env_generator2_b
SPRITE DYNAMIC 0 NONE 0 -6 dynamic/generator
SPRITE DYNAMIC 0 NONE -27 -56 dynamic/generator_base2
SPRITE DYNAMIC 0 NONE 0 47 dynamic/generator
SPRITEVAR 0 FRAME 1
SPRITEVAR 2 FRAME 2
SOUND STATIC S_DIE world/break_panel
OFFSET SIZE 30 20
STAT FX_DIM_COLOR 1
STAT FX_NOENV_FX
STAT NOLIST
END
//=====================================================================
ENTITY x_env_generator2
DESCRIBE Generator_block_(pulley)
SPRITE DYNAMIC 0 NONE 0 -6 dynamic/generator
SPRITE DYNAMIC 0 NONE -27 -56 dynamic/generator_base2
SPRITE DYNAMIC 0 NONE 0 47 dynamic/generator
SPRITEVAR 2 FRAME 2
SOUND STATIC S_DIE world/break_panel
OFFSET SIZE 30 20
CORPSE x_env_generator2_b 0
ITEM tempspark -18 -8
ITEM tempspark 18 -8
STAT FX_DIM_COLOR 1
STAT FX_NOENV_FX
STAT TAKEDAMAGE_SURFACE
EFFECT GIB DEBRIS_METAL 0 -8 0
END
//=====================================================================
// GENERATOR: GAS MOTOR EXTENSION
//=====================================================================
ENTITY x_env_generator0
DESCRIBE Generator_engine_(gas)
SPRITE DYNAMIC 2 NONE 2 -6 dynamic/generator_gas
SPRITE DYNAMIC 2 ANIM_PANUP 4 -4 dynamic/chain1
SPRITE DYNAMIC 2 NONE 0 2 dynamic/generator_gas
SPRITE DYNAMIC 2 NONE -46 4 dynamic/generator_gas
SPRITE DYNAMIC 2 NONE 46 -3 dynamic/generator_gas
SPRITE DYNAMIC 2 NONE -46 4 dynamic/generator_gas
SPRITE DYNAMIC 2 NONE 46 -3 dynamic/generator_gas
SPRITEVAR 0 FRAME 1
SPRITEVAR 0 SCALE 200
SPRITEVAR 1 ANGLEOFFSET 90
SPRITEVAR 1 FILL_H 74
SPRITEVAR 3 FRAME 2
SPRITEVAR 3 AIM
SPRITEVAR 4 FRAME 3
SPRITEVAR 4 AIM
SPRITEVAR 5 FRAME 4
SPRITEVAR 6 FRAME 5
SOUND DYNAMIC S_LOOP dynamic/loop_generator
THINK NONE -3 NONE 0
OBJECT 1 obj_steam_b -70 30 NONE 0 0 90
OBJECT 1 obj_steam_b -53 33 NONE 0 0 90
OBJECT 1 obj_steam_b 53 33 NONE 0 0 90
OBJECT 1 obj_steam_b 70 30 NONE 0 0 90
STAT AI_SPINAIM
STAT FX_NOENV_FX
STAT FX_PANSPEED 600
END

//=====================================================================
// MANHOLES
//=====================================================================
ENTITY x_manh_sewer1
DESCRIBE Manhole_(Sewer_hatch)
SPRITE DYNAMIC 3 NONE -51 -14 dynamic/manhole_sewer
SPRITE DYNAMIC 3 NONE -51 -14 dynamic/manhole_sewer
SPRITE DYNAMIC 3 NONE 0 -18 dynamic/manhole_sewer
SPRITEVAR 0 ANGLEOFFSET 180
SPRITEVAR 0 FRAME 1
SPRITEVAR 0 HIDE_MOVE_X 23
SPRITEVAR 0 HIDE_MOVE_Y -3
SPRITEVAR 0 HIDE_ROLL -180
SPRITEVAR 0 OFFS_X 28
SPRITEVAR 0 OFFS_Y -1
SPRITEVAR 1 ACTIVE
SPRITEVAR 1 ANGLEOFFSET 180
SPRITEVAR 1 FADE_TOGGLE -250
SPRITEVAR 1 FRAME 2
SPRITEVAR 1 HIDE_MOVE_X 23
SPRITEVAR 1 HIDE_MOVE_Y -3
SPRITEVAR 1 HIDE_ROLL -180
SPRITEVAR 1 OFFS_X 28
SPRITEVAR 1 OFFS_Y -1
SOUND DYNAMIC S_WAKE dynamic/event_cargo_door
SCISSORS -96 -13 192 128
OFFSET FX_OFFSET 0 -8
STAT FX_NOENV_FX
STAT FX_SMOKE_ALPHA 50
STAT FX_SMOKE_ANGLE 90
STAT FX_SMOKE_SHOOT -240
END

TAGAP_END