int_speed/shd_speed granted +max_speed/+acceleration per level to a single vessel, which is redundant now that #59/#62 gave the whole fleet a shared speed fader instead - a per-ship speed stat has nothing left to meaningfully affect since #59's multiplier is applied at the point of use in Ship.gd regardless of the ship's own base stats. Deleted both upgrade resources and their vessel-definition references outright rather than leaving them unused. test_ship_lab.gd's per-vessel-type isolation check used int_speed as an arbitrary interceptor-only upgrade to prove it doesn't leak into transporter stats - swapped to int_range, which still exists. Its upgrade-card-count assertion updated for 3 remaining interceptor upgrades instead of 4.
27 lines
1.4 KiB
Text
27 lines
1.4 KiB
Text
[gd_resource type="Resource" script_class="VesselDefinition" load_steps=5 format=3]
|
|
[ext_resource type="Script" path="res://VesselDefinition.gd" id="1"]
|
|
[ext_resource type="PackedScene" path="res://VesselShieldComponent.tscn" id="3"]
|
|
[ext_resource type="Resource" path="res://ShieldHitsUpgrade.tres" id="4"]
|
|
[ext_resource type="Resource" path="res://ShieldRechargeUpgrade.tres" id="5"]
|
|
[resource]
|
|
script = ExtResource("1")
|
|
definition_id = "shield"
|
|
display_name = "Shield Vessel"
|
|
description = "Combat vessel whose rechargeable personal shield absorbs lethal impacts."
|
|
build_cost = 14
|
|
build_time = 16.0
|
|
icon = 30
|
|
glow_color = Color(0.45, 0.8, 1, 1)
|
|
fleet_eligible = true
|
|
capabilities = PackedStringArray("shield")
|
|
component_scenes = Array[PackedScene]([ExtResource("3")])
|
|
hull_points = PackedVector2Array(0, -24, 20.7846, -12, 20.7846, 12, 0, 24, -20.7846, 12, -20.7846, -12)
|
|
base_stats = {"damage": 1.0, "fire_cooldown": 0.5, "fire_range": 320.0, "max_speed": 460.0, "acceleration": 450.0, "shield_charges": 1.0, "shield_recharge": 6.0, "delivery_speed": 180.0}
|
|
minimum_stats = {"shield_recharge": 2.0}
|
|
upgrades = Array[Resource]([ExtResource("4"), ExtResource("5")])
|
|
unlock_id = "unlock_shield"
|
|
unlock_name = "Unlock Shield Vessel"
|
|
unlock_description = "Lets the ship crafter build shield vessels. Its shield absorbs one lethal hit, then cycles back up."
|
|
unlock_cost = 45
|
|
research_point_cost = 1
|
|
unlock_icon = 23
|