#216: transport hubs and spacial workshops no longer conjure their crews. Transporters and repair drones are ordered at a ship crafter, assigned per building through a new Station menu, flown out from the mothership hangar, and spent by the work they do - 20 runs, 12 repairs, counted where the run ENDS so nothing retires with cargo in the air or a building half repaired. A spent vessel is gone, so the structure is short again and the player has to build another. The menu shows what each one has left, worst first. Craftability needed its own flag: "the crafter can make it" and "it can take a berth in the fleet" stopped being the same question. #217: transporters crawl at 120 rather than 150, and a Burn Drive lets them carry energy and spend it to travel far faster. Fetching it is a leg of its own, to the nearest store that has any - so a refuelling transporter cannot be dispatched mid-errand - and the leg flown to COLLECT fuel is not charged for it. Unresearched, nothing detours and nothing changes. 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, -14, 9, -4, 7, 10, -7, 10, -9, -4)
|
|
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")])
|