Last Infantry Weapons (#987)

* preparations for deploying oicw little buddy projectiles

* oicw little buddy projectiles spawn and animate properly, but damage dealing is inconclusive

* radiator clouds cause damage to infantry health

* oicw little buddy projectiles do damage upon detonation; different descent pattern; projectile types given own Enumeration

* proximity terminals for vehicle actions no longer need to use the vehicle event system as a middleman for making changes

* redid the workflow of the proximity terminal resolution so that it avoids SessionActor as much as is possible; this may be a mistake, but my future self will pay the price instead

* changed the timing and the angles of the little buddy explosions; fixed proximity terminal tests
This commit is contained in:
Fate-JH 2022-03-27 19:57:32 -04:00 committed by GitHub
parent 2b58d126b5
commit 0d8c717b73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 1092 additions and 585 deletions

View file

@ -26,7 +26,7 @@ class ProjectileTest extends Specification {
"define (default)" in {
val obj = new ProjectileDefinition(31) //9mmbullet_projectile
obj.ProjectileType mustEqual Projectiles.bullet_9mm_projectile
obj.ProjectileType mustEqual Projectiles.Types.bullet_9mm_projectile
obj.ObjectId mustEqual 31
obj.Damage0 mustEqual 0
obj.Damage1 mustEqual 0
@ -84,9 +84,9 @@ class ProjectileTest extends Specification {
}
"define (failure)" in {
Projectiles(31) mustEqual Projectiles.bullet_9mm_projectile
Projectiles.Types(31) mustEqual Projectiles.Types.bullet_9mm_projectile
try {
ProjectileDefinition(Projectiles.bullet_9mm_projectile) //passes
ProjectileDefinition(Projectiles.Types.bullet_9mm_projectile) //passes
} catch {
case _: NoSuchElementException =>
ko