spaceship/LaserVesselDefinition.tres
2026-08-16 20:14:29 +02:00

30 lines
1.5 KiB
Text

[gd_resource type="Resource" script_class="VesselDefinition" load_steps=6 format=3]
[ext_resource type="Script" path="res://VesselDefinition.gd" id="1"]
[ext_resource type="PackedScene" path="res://VesselLaserComponent.tscn" id="2"]
[ext_resource type="Resource" path="res://LaserDamageUpgrade.tres" id="3"]
[ext_resource type="Resource" path="res://LaserRangeUpgrade.tres" id="4"]
[ext_resource type="Resource" path="res://LaserCooldownUpgrade.tres" id="5"]
[resource]
script = ExtResource("1")
definition_id = "laser"
display_name = "Laser Ship"
description = "Manually aimed beam vessel. No ammo, but the emitter needs to cool down between shots."
build_cost = 12
build_resource_costs = {"ore": 12, "energy": 6}
build_time = 14.0
icon = 35
glow_color = Color(0.3, 0.9, 1, 1)
hull_points = PackedVector2Array(0, -26, -9, 14, -4, 10, 4, 10, 9, 14)
fleet_eligible = true
capabilities = PackedStringArray("laser")
component_scenes = Array[PackedScene]([ExtResource("2")])
base_stats = {"max_speed": 440.0, "acceleration": 420.0, "delivery_speed": 180.0, "damage": 2.0, "beam_range": 950.0, "beam_cooldown": 4.0}
minimum_stats = {"beam_cooldown": 1.5}
upgrades = Array[Resource]([ExtResource("3"), ExtResource("4"), ExtResource("5")])
unlock_id = "unlock_laser"
unlock_name = "Unlock Laser Ship"
unlock_description = "Research a directed-energy hull for the ship crafter - manually aimed, no ammo, cools down between shots."
unlock_cost = 0
unlock_resource_costs = {"energy": 40}
research_point_cost = 1
unlock_icon = -1