Fleet Offices sit behind a new Berth Authority doctrine. It costs ore and no research points, deliberately: points come only from conquering a planet, conquering needs a fleet, and the fleet caps at its opening hull until an office exists - so pricing the fleet's own gate in them would lock a player behind a fight that one vessel has to win first. The research unlocks the STRUCTURE; capacity is still the built, supplied thing #219 made it. The tree gains a sixth lane for it, so the branch that fleet size vacated is occupied again rather than reading as a hole. Also fixes a shape #216 exposed: a stationed transporter drew a hull written into its own script while a delivered one drew the definition's, and the transporter's definition declared none at all - so one in flight was an empty polygon. Both vessels now draw the definition, and a test pins that the two paths agree. The repair drone had the same fault, off by two units. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019AJMdB7iuHuLFZM1aBu3GD
20 lines
1 KiB
Text
20 lines
1 KiB
Text
[gd_resource type="Resource" script_class="VesselDefinition" load_steps=4 format=3]
|
|
[ext_resource type="Script" path="res://vessels/VesselDefinition.gd" id="1"]
|
|
[ext_resource type="Resource" path="res://vessels/RepairYieldUpgrade.tres" id="2"]
|
|
[ext_resource type="Resource" path="res://vessels/RepairSpeedUpgrade.tres" id="3"]
|
|
[resource]
|
|
script = ExtResource("1")
|
|
definition_id = "repair_drone"
|
|
display_name = "Repair Drone"
|
|
description = "Workshop-owned tender. Flies out to damaged structures and puts them back together, spending ore delivered to its workshop. Cannot be crafted - a workshop brings its own."
|
|
build_cost = 10
|
|
build_resource_costs = {
|
|
"ore": 10
|
|
}
|
|
support_craftable = true
|
|
build_time = 11.0
|
|
icon = 43
|
|
glow_color = Color(0.5, 0.95, 0.8, 1)
|
|
hull_points = PackedVector2Array(0, -11, 8, -3, 6, 10, -6, 10, -8, -3)
|
|
base_stats = {"max_speed": 620.0, "acceleration": 1800.0, "transport_speed": 190.0, "repair_amount": 25.0, "delivery_speed": 180.0}
|
|
upgrades = Array[Resource]([ExtResource("2"), ExtResource("3")])
|