[common] added Type bundle

This commit is contained in:
2018-02-09 10:59:25 +03:00
parent a7effef412
commit 5c57454998
25 changed files with 214 additions and 228 deletions

View File

@@ -20,14 +20,14 @@ bricks:
teams:
- id: human
tanks:
- {group: human, type: 0, rate: 1}
- {type: human0, rate: 1}
- id: bot
spawnInterval: 3000
tanks:
- {group: bot, type: 0, rate: 0.5}
- {group: bot, type: 1, rate: 0.5}
- {group: bot, type: 2, rate: 0.5}
- {group: bot, type: 3, rate: 0.5}
- {type: bot0, rate: 0.5}
- {type: bot1, rate: 0.5}
- {type: bot2, rate: 0.5}
- {type: bot3, rate: 0.5}
points:
- {team: human, type: eagle, index: -1, direction: right, x: 12, y: 24}
@@ -44,91 +44,89 @@ bullet: &bullet
piercing: 1
tanks:
human:
- type: 0
width: 36
height: 36
speed: 2.5
bullet:
<<: *bullet
speed: 8.0
bullets: 1
skin: pa
- type: human0
width: 36
height: 36
speed: 2.5
bullet:
<<: *bullet
speed: 8.0
bullets: 1
skin: pa
- type: 1
width: 40
height: 36
speed: 3.0
bullet:
<<: *bullet
speed: 8.5
bullets: 1
skin: pb
- type: human1
width: 40
height: 36
speed: 3.0
bullet:
<<: *bullet
speed: 8.5
bullets: 1
skin: pb
- type: 2
width: 40
height: 36
speed: 3.0
bullet:
<<: *bullet
speed: 9.0
bullets: 2
skin: pc
- type: human2
width: 40
height: 36
speed: 3.0
bullet:
<<: *bullet
speed: 9.0
bullets: 2
skin: pc
- type: 3
width: 42
height: 38
speed: 2.9
bullet:
<<: *bullet
speed: 9.0
piercing: 3
bullets: 2
hits: 1
skin: pd
- type: human3
width: 42
height: 38
speed: 2.9
bullet:
<<: *bullet
speed: 9.0
piercing: 3
bullets: 2
hits: 1
skin: pd
bot:
- type: 0
width: 38
height: 36
speed: 2.0
bullet:
<<: *bullet
speed: 7.0
bullets: 1
score: 100
skin: ba
- type: bot0
width: 38
height: 36
speed: 2.0
bullet:
<<: *bullet
speed: 7.0
bullets: 1
score: 100
skin: ba
- type: 1
width: 40
height: 36
speed: 4.0
bullet:
<<: *bullet
speed: 7.0
bullets: 1
score: 200
skin: bb
- type: bot1
width: 40
height: 36
speed: 4.0
bullet:
<<: *bullet
speed: 7.0
bullets: 1
score: 200
skin: bb
- type: 2
width: 38
height: 36
speed: 2.0
bullet:
<<: *bullet
speed: 9.0
bullets: 1
score: 300
skin: bc
- type: bot2
width: 38
height: 36
speed: 2.0
bullet:
<<: *bullet
speed: 9.0
bullets: 1
score: 300
skin: bc
- type: 3
width: 40
height: 36
speed: 1.8
bullet:
<<: *bullet
speed: 8.0
bullets: 1
score: 400
hits: 3
skin: bd
- type: bot3
width: 40
height: 36
speed: 1.8
bullet:
<<: *bullet
speed: 8.0
bullets: 1
score: 400
hits: 3
skin: bd

View File

@@ -19,8 +19,8 @@ bricks:
team_tanks: &team_tanks
tanks:
- {group: any, type: 0, rate: 0.5}
- {group: any, type: 1, rate: 0.5}
- {type: slow, rate: 0.5}
- {type: fast, rate: 0.5}
teams:
- <<: *team_tanks
@@ -51,23 +51,22 @@ bullet: &bullet
piercing: 1
tanks:
any:
- type: 0
width: 38
height: 36
speed: 2.0
bullet:
<<: *bullet
speed: 10.0
bullets: 1
skin: bc
- type: slow
width: 38
height: 36
speed: 2.0
bullet:
<<: *bullet
speed: 10.0
bullets: 1
skin: bc
- type: 1
width: 40
height: 36
speed: 4.0
bullet:
<<: *bullet
speed: 7.0
bullets: 1
skin: bb
- type: fast
width: 40
height: 36
speed: 4.0
bullet:
<<: *bullet
speed: 7.0
bullets: 1
skin: bb