##Main info##########################
#
#  Default level of Tower2x
#  Pictures are not made by me
#  -> freebie stuff
#
#  These lines are commented lines and ignored by the level reader
#  If you make a comment line, you have to start a new line for it
#  This wont work:
#  Name = Strawberry pie # because i like em
#  Lines starting with > are comments that are echoed to console

#  Basic info about the level
Name=Default level
Comment=Default level of TD2X
Author=Joonas Haapala

#  Bitmap file for this level
TileSet=level.bmp

###Bullets###########################
#   Possible effects are:
#	Slow
#	...any suggestions? :)

> Loading bullets...

NewBullet
BulletName=Goo
BulletImg=0,17
BulletSpeed=2
BulletDamage=2

NewBullet
BulletName=Flame
BulletImg=1,17
BulletSpeed=8
BulletDamage=8

NewBullet
BulletName=Laser
BulletImg=2,17
BulletSpeed=6
BulletDamage=30

NewBullet
BulletName=Salad
BulletImg=3,17
BulletSpeed=1
BulletDamage=50

NewBullet
BulletName=Soundwave
BulletImg=4,17
BulletSpeed=10
BulletDamage=500

NewBullet
BulletName=Ice
BulletImg=5,17
BulletSpeed=5
BulletDamage=0
BulletEffect=Slow

###Monsters##########################
#   Speed is in pixels/frame
#   Immunity is a name of a bullet, or a name of a built in effect. Freeze, slow, etc...
#   A monster can have multiple immunities
> Loading monsters...

NewMonster
MonsterName=Zombie
MonsterImg=0,6
MonsterHealth=5
MonsterSpeed=1
MonsterMoney=2
MonsterNumber=10
MonsterImmunity=Flame,0.5
MonsterImmunity=Slow,2.0

NewMonster
MonsterName=Snake
MonsterImg=2,6
MonsterHealth=10
MonsterSpeed=1.5
MonsterMoney=5
MonsterNumber=20
MonsterImmunity=

NewMonster
MonsterName=Dragon
MonsterImg=6,6
MonsterHealth=50
MonsterSpeed=2
MonsterMoney=20
MonsterNumber=10
MonsterImmunity=Flame,0.5

NewMonster
MonsterName=Pacman
MonsterImg=4,6
MonsterHealth=100
MonsterSpeed=2
MonsterMoney=30
MonsterNumber=20
MonsterImmunity=

NewMonster
MonsterName=Eagle
MonsterImg=0,9
MonsterHealth=200
MonsterSpeed=3
MonsterMoney=50
MonsterNumber=10
MonsterImmunity=

NewMonster
MonsterName=Orc
MonsterImg=5,9
MonsterHealth=600
MonsterSpeed=2
MonsterMoney=70
MonsterNumber=40
MonsterImmunity=

NewMonster
MonsterName=Scorpion
MonsterImg=6,15
MonsterHealth=800
MonsterSpeed=2
MonsterMoney=100
MonsterNumber=30
MonsterImmunity=

NewMonster
MonsterName=Blob
MonsterImg=9,7
MonsterHealth=2000
MonsterSpeed=1
MonsterMoney=120
MonsterNumber=20
MonsterImmunity=Laser,2.0
MonsterImmunity=Slow,0.5

###Turrets###########################
#   Range is in pixels
#   Rate is 'how many frames to wait' after each shot
> Turrets...

NewTurret
TurretName=Goo Turret
TurretCost=10
TurretImg=0,18
TurretDesc=Shoots green stuff
TurretBullet=Goo
TurretRange=80
TurretRate=30
TurretAccuracy=1

NewTurret
TurretName=Fire Turret
TurretCost=50
TurretImg=1,18
TurretDesc=Shoots flames
TurretBullet=Flame
TurretRange=100
TurretRate=1
TurretAccuracy=4

NewTurret
TurretName=Icemachine
TurretCost=100
TurretImg=5,18
TurretDesc=Makes ice
TurretBullet=Ice
TurretRange=100
TurretRate=30
TurretAccuracy=0

NewTurret
TurretName=Laser Turret
TurretCost=200
TurretImg=2,18
TurretDesc=Shoots wicked laser
TurretBullet=Laser
TurretRange=120
TurretRate=4
TurretAccuracy=1

NewTurret
TurretName=Salad Turret
TurretCost=500
TurretImg=3,18
TurretDesc=Shoots salad
TurretBullet=Salad
TurretRange=70
TurretRate=8
TurretAccuracy=0

NewTurret
TurretName=Speaker
TurretCost=2000
TurretImg=4,18
TurretDesc=Play sum NOIZE!!11
TurretBullet=Soundwave
TurretRange=200
TurretRate=10
TurretAccuracy=0


###Tiles##############################
#   These are x/y numbers of 16x16 slots in the tileset 
#   The third number determines whether turrets can be built on that tile (0 or 1)
#   Tiles must be defined before rows :P
#
#   So, TileX=0,2,1
#   defines a tile which can be built on and its image is taken from tileset.bmp, x=0*16 and y=2*16
#   It's "identifier" is X
#
#   Tilesets are always slotted 16x16
#   Tile ID's are case sensitive
#

Tile0=0,0,0
Tile1=0,0,1
Tile2=5,1,0

Tile3=1,1,0
Tile4=2,1,0
Tile5=3,1,0
Tile6=4,1,0
Tile7=6,1,0
Tile8=7,1,0
Tile9=8,1,0
Tilea=9,1,0
Tileb=10,1,0
Tilec=11,1,0
Tiled=12,1,0
Tilee=0,2,0

Tilef=1,3,0
Tileg=2,3,0
Tileh=3,3,0
Tilei=4,3,0

Tilej=6,2,0
Tilek=7,2,0
Tilel=8,2,0

LevelWidth=30
LevelHeight=30
#   128x96 is the maximum size

#   If you run out of numbers you can always use almost any printable character, for example:
#   TileB=4,3

###Level Layout#######################
#
#   Each row contains one-char ID's of tiles that were defined earlier
#

Row=ea08d22222e999d222222706222222
Row=7101899999a111622222ea06222222
Row=710000000000016222227106222222
Row=71113444445101622222c506222222
Row=c444b2222271016222222706222222
Row=22222222227101622222ea06222222
Row=222222222271016222227106222222
Row=22222222227101622222c506222222
Row=222222222271016222222706222222
Row=22222222227101622222ea06222222
Row=222222222271016222227106222222
Row=e999999999a101622222c506222222
Row=700000000000016222222706222222
Row=703445113445116222222706222222
Row=706227116227116222222706222222
Row=706227116227116222222706222222
Row=70899a11899a1162222e9a089d2222
Row=700000000000016222270001162222
Row=c44444444451016222270111162222
Row=2222b2222271016222270000062222
Row=222222222271016222271111062222
Row=222222222271016222271100062222
Row=22222222227101622e9a1101162222
Row=222222222271016227111101162222
Row=22222222227101jkkl111101162222
Row=222222222271000000000001162222
Row=22222222227111fghi111111162222
Row=22222222227111622c4444444b2222
Row=222222222271116222222222222222
Row=2222222222c444b222222222222222

###Waypoints##########################
#
#   This is the path monsters will walk through
#   First waypoint is the point monsters are spawned at
#

Waypoint=2,0
Waypoint=2,2
Waypoint=12,2
Waypoint=12,12
Waypoint=1,12
Waypoint=1,17
Waypoint=12,17
Waypoint=12,25
Waypoint=22,25
Waypoint=22,21
Waypoint=24,21
Waypoint=24,19
Waypoint=20,19
Waypoint=20,19
Waypoint=20,17
Waypoint=22,17
Waypoint=22,0

#And we're done!

######################################
# If you have any problems or just want to ask me something, email me at:
#
#   joonas@sipuli.net
#
#
# Happy gaming! =D
#