2023-12-30 20:27:53 -08:00
|
|
|
[outfit."plasma engines"]
|
2023-12-30 21:05:06 -08:00
|
|
|
|
|
|
|
space.engine = 20
|
|
|
|
|
2023-12-30 20:27:53 -08:00
|
|
|
engine.thrust = 100
|
2024-01-20 12:42:20 -08:00
|
|
|
engine.flare.sprite = "flare::ion"
|
|
|
|
engine.flare.on_start = "rise:top"
|
|
|
|
engine.flare.on_stop = "rise:bot"
|
2023-12-30 20:27:53 -08:00
|
|
|
steering.power = 20
|
2024-01-08 20:43:58 -08:00
|
|
|
|
|
|
|
|
|
|
|
[outfit."shield generator"]
|
|
|
|
|
|
|
|
space.outfit = 5
|
|
|
|
|
|
|
|
shield.generation = 10
|
|
|
|
shield.strength = 500
|
|
|
|
shield.delay = 2.0
|
2024-01-09 17:22:52 -08:00
|
|
|
|
|
|
|
|
|
|
|
[outfit."blaster"]
|
|
|
|
|
|
|
|
space.weapon = 10
|
|
|
|
|
|
|
|
# Average delay between shots
|
|
|
|
gun.rate = 0.2
|
|
|
|
# Random rate variation (each cooldown is +- this)
|
|
|
|
gun.rate_rng = 0.1
|
|
|
|
|
|
|
|
# TODO: apply force to ship on fire
|
|
|
|
gun.projectile.sprite = "projectile::blaster"
|
|
|
|
# Height of projectile in game units
|
|
|
|
gun.projectile.size = 6
|
|
|
|
gun.projectile.size_rng = 0.0
|
|
|
|
# Speed of projectile, in game units/second
|
|
|
|
gun.projectile.speed = 300
|
|
|
|
gun.projectile.speed_rng = 10.0
|
|
|
|
# Lifetime of projectile, in seconds
|
|
|
|
gun.projectile.lifetime = 2.0
|
|
|
|
gun.projectile.lifetime_rng = 0.2
|
|
|
|
gun.projectile.damage = 10.0
|
|
|
|
# Random variation of firing angle.
|
|
|
|
# If this is 0, the projectile always goes straight.
|
|
|
|
# If this is 10, projectiles will form a cone of 10 degrees
|
|
|
|
# ( 5 degrees on each side )
|
|
|
|
gun.projectile.angle_rng = 2
|
|
|
|
# How much force this projectile will apply to an object it hits
|
|
|
|
gun.projectile.force = 0.0
|
|
|
|
|
|
|
|
gun.projectile.collider.ball.radius = 2.0
|
|
|
|
|
|
|
|
gun.projectile.impact_effect = "blaster impact"
|
|
|
|
|
2024-01-23 18:44:32 -08:00
|
|
|
gun.projectile.expire_effect.sprite = "effect::blaster"
|
2024-01-09 17:22:52 -08:00
|
|
|
gun.projectile.expire_effect.lifetime = "inherit"
|
|
|
|
gun.projectile.expire_effect.size = 3.0
|
2024-01-23 21:21:15 -08:00
|
|
|
gun.projectile.expire_effect.velocity.scale_parent = 1.0
|