' **********************************************
' *** Map Maker - Tile Functions Script File ***
' *** (1995) Didier Dambrin - Image Line     ***
' **********************************************
'
'
' Enter the description, 
' then the function number (0..4) and the function value
' a function number >=100 means an animation parameter
' note that all this can be repeated
'
'
* SOLIDITY
NO solidity=1,0
Ground (not for projectiles) (use this)=1,512
Wall (for all)=1,75
Climbable wall (use this)=1,79
Wall (side wall for enemies only)=1,8
Wall (for projectiles only)=1,64
Wall (for flamer only)=1,1024
Wall (for all projectiles)=1,1088
Wall (for the hero only)=1,3
Ground (for the hero only)=1,8192
Ground (for all)=1,1
Ladder ground=1,16
Slope=1,32
Will accept blood on itself=1,2048

* BASIC FUNCTIONS
Ladder=0,10
Chain (ladder)=0,10,2,1
Lever (+0..9)=0,6000
Deactivated lever=0,6000
Activated lever=0,6001
Trap (+0..99)=0,8000
Teleport gate (door)=0,9000
Bonus=0,30000
Automatic closed door=0,7050,2,0
Automatic opened door=0,7050,2,1
Conveyor belt=0,11000
Special anim when hit=0,13000
Connected to other tiles (useful for explosive tiles)=0,60300

* SPECIAL FUNCTIONS
Barrel on fire=0,5000
First link of platform chain=0,7000
Wall that can be broken by a falling bowl=0,7010
Null tile=0,7020
Wall that won't be cut when selecting a map area=0,7021,1,79
Sensitive lever=0,7030
Mine activated lever=1,128,2,1,3,4
Shock activated lever=0,7140,1,128,2,1,3,4
Specify parameters for map areas=0,7040
End level=0,10000
Specify an opened door=0,7060
Stop scrolling=0,7100
Force not to get up when sliding=0,7110
Metallic object (impact sound)=0,13000,4,15
Car that can be crashed=0,60200
Poster=0,60300,1,128,3,4,4,33
Crate to be crushed=0,60400
Will stop a pushable area=0,60500
Pipe the hero can hang on=0,60600
Side pipe the hero can hang & jump from=0,60800
Destroyed wall tile=0,60700
Falling tile=0,60900
Keyhole ID (red/green/blue)=0,14000
Send leaves=0,13100

* SLOPES - DOWN TO UP
45 degree slope=1,32,2,0
22.5 degree slope/lower part=1,32,2,1
22.5 degree slope/higher part=1,32,2,2
Volcano slope=1,32,2,3
Double tile hemisphere=1,32,2,4
Single tile hemisphere=1,32,2,5
45 degree stairs=1,32,2,29
45 degree slippery slope=1,32,2,30
4 tiles slope (first)=1,32,2,34

* SLOPES - UP TO DOWN
45 degree slope=1,32,2,128
22.5 degree slope/lower part=1,32,2,129
22.5 degree slope/higher part=1,32,2,130
Volcano slope=1,32,2,131
Double tile hemisphere=1,32,2,132
Single tile Hemisphere=1,32,2,133
Ambulance (6 tiles)=1,32,2,134
45 degree stairs=1,32,2,157
45 degree slippery slope=1,32,2,158
4 tiles slope (first)=1,32,2,162

* LADDERS
Can't move horizontally=3,1
Cant go down=3,2

* EXPLOSIVE TILES
Explosive wall (for all)=1,207,2,1,3,7
Explosive wall (for projectiles only)=1,192,2,1,3,7
Explosive wall (for projectiles+flamer)=1,1216,2,1,3,7
Explosive wall (for heavy missiles only)=1,384,2,1,3,7
Explosive wall (for flamer only)=1,1152,2,1,3,7
Explosive/no solidity=1,128,2,1,3,7
Explosive ground=1,129,2,1,3,7

Can be destructed by a bullet=3,7
Will be destructed by an explosion only=3,4
Will be destructed by a land mine only=3,16
Will be destructed by demand only=3,128
Will be destructed by the caterpillar only=3,256

* TELEPORT GATES
Vent gate=0,9000,2,257
Warp gate=0,9000,2,4096

* TRAPS
Sewer poisonous water=0,8050
Spikes=0,8060

* ANIMATION PARAMETERS
Begin-end=100,1
Begin-end-begin=100,2
Reversed begin-end=100,3
Faster begin-end=100,4
Faster reversed begin-end=100,5
Blink (Anim Length=Second Duration)=100,6

* ICONS
Basket ball player=0,60000
Bruce Lee=0,60001
Big man with crowbar=0,60002
Bitch=0,60010
Granny on wheelchair=0,60020
Senator=0,60030
Falling bowl=0,60050
Falling crate=0,60051
Land mine=0,60100
Sector lever=0,61700

* BONUS VALUES
Gain energy=0,30000,3,0
Gain gun bullets=0,30000,3,10
Gain machine gun bullets=0,30000,3,11
Gain full of energy=0,30000,3,20
Gain key (+0..9)=0,30000,3,30
Gain camera=0,30000,3,39

* EXTENDED PARAMETERS
Lever is a button=2,1
Can't bouge the lever=2,2
Lever is a keyhole=2,4

1 pixel left conveyor belt=0,11000,3,-1
1 pixel right conveyor belt=0,11000,3,1
2 pixels left conveyor belt=0,11000,3,-2
2 pixels right conveyor belt=0,11000,3,2

* ANIMATION WHEN ACTIVATED
Normal bonus anim+sound=4,1
Big bonus anim+sound=4,3
Lever metallic sound=4,129
Factory tile explosion=4,12
Metallic sound=4,15

* 3D ENGINE TILES
Change tile when hit by a projectile=0,1000