Keep the export probe, and the uid files beside the new scripts
_export_probe.gd is the check that found the empty planets: run inside a built pack with --main-pack, it reports how many planet setups the registry actually finds and what garrisons they carry. The suite runs from source and structurally cannot see an export-only fault, so this is the thing to run before a deploy. The .uid files go with it because the repo tracks one beside every other script; the ones added this session were left behind. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019AJMdB7iuHuLFZM1aBu3GD
This commit is contained in:
parent
df4d5e35f9
commit
54b883d545
23 changed files with 46 additions and 0 deletions
1
buildings/FleetOfficeBuildingVisual.gd.uid
Normal file
1
buildings/FleetOfficeBuildingVisual.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://d0nc3bp5hgtsd
|
||||||
1
tests/_berths.gd.uid
Normal file
1
tests/_berths.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://bkjsot4jia8y5
|
||||||
1
tests/_building_health_preview.gd.uid
Normal file
1
tests/_building_health_preview.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://cu80bgudkg8rw
|
||||||
24
tests/_export_probe.gd
Normal file
24
tests/_export_probe.gd
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
extends SceneTree
|
||||||
|
|
||||||
|
# Run INSIDE an exported pack, not from source:
|
||||||
|
# godot --headless --main-pack builds/web/index.pck -s res://tests/_export_probe.gd
|
||||||
|
#
|
||||||
|
# The suite cannot see export-only faults - it runs from a source tree where
|
||||||
|
# every .tres is really there. This probe asks the questions that only have a
|
||||||
|
# different answer inside a pack, where text resources have been converted to
|
||||||
|
# binary and reached through .remap files.
|
||||||
|
|
||||||
|
|
||||||
|
func _initialize() -> void:
|
||||||
|
var setups: Array = load("res://surface/PlanetSetups.gd").all()
|
||||||
|
print("EXPORT_PROBE setups=%d" % setups.size())
|
||||||
|
for setup in setups:
|
||||||
|
print("EXPORT_PROBE %s (%s) enemies=%d" % [
|
||||||
|
String(setup.setup_id), String(setup.surface_profile_id),
|
||||||
|
setup.enemy_spawns.size()])
|
||||||
|
var rocky: Resource = load("res://surface/PlanetSetups.gd").setup_for_planet(
|
||||||
|
"probe:planet", "rocky")
|
||||||
|
print("EXPORT_PROBE rocky_pick=%s enemies=%d" % [
|
||||||
|
"none" if rocky == null else String(rocky.setup_id),
|
||||||
|
0 if rocky == null else rocky.enemy_spawns.size()])
|
||||||
|
quit(0)
|
||||||
1
tests/_export_probe.gd.uid
Normal file
1
tests/_export_probe.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://bmydo8uo6a2wb
|
||||||
1
tests/_fleet_upkeep_preview.gd.uid
Normal file
1
tests/_fleet_upkeep_preview.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://c8gix670vshmk
|
||||||
1
tests/_intro_marker_preview.gd.uid
Normal file
1
tests/_intro_marker_preview.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://dedtc5r8jbnrw
|
||||||
1
tests/_staff.gd.uid
Normal file
1
tests/_staff.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://v2sfbrmfn3dr
|
||||||
1
tests/_station_menu_preview.gd.uid
Normal file
1
tests/_station_menu_preview.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://bksyxlbtif8u1
|
||||||
1
tests/test_crafter_availability.gd.uid
Normal file
1
tests/test_crafter_availability.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://b4ncxu54133f8
|
||||||
1
tests/test_fleet_office_stock.gd.uid
Normal file
1
tests/test_fleet_office_stock.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://ig2wwnbbi012
|
||||||
1
tests/test_fleet_upkeep_scaling.gd.uid
Normal file
1
tests/test_fleet_upkeep_scaling.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://cprf0ix2or54e
|
||||||
1
tests/test_logistics_hull_identity.gd.uid
Normal file
1
tests/test_logistics_hull_identity.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://bt61a67olrqt7
|
||||||
1
tests/test_planet_garrison.gd.uid
Normal file
1
tests/test_planet_garrison.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://n64qt8jfhhxw
|
||||||
1
tests/test_planet_setup_export_names.gd.uid
Normal file
1
tests/test_planet_setup_export_names.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://cnicwixdekyqo
|
||||||
1
tests/test_propulser_upgrades.gd.uid
Normal file
1
tests/test_propulser_upgrades.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://pso08126oo2o
|
||||||
1
tests/test_research_points_explainer.gd.uid
Normal file
1
tests/test_research_points_explainer.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://dnmydxidr64qo
|
||||||
1
tests/test_station_condition_readout.gd.uid
Normal file
1
tests/test_station_condition_readout.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://caqecvhuga2ha
|
||||||
1
tests/test_transporter_burn.gd.uid
Normal file
1
tests/test_transporter_burn.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://dekihw4g1d0bd
|
||||||
1
tests/test_workshop_staffing.gd.uid
Normal file
1
tests/test_workshop_staffing.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://tov1s4ebxxr7
|
||||||
1
ui/menus/FleetUpkeepMenu.gd.uid
Normal file
1
ui/menus/FleetUpkeepMenu.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://dot2ajk0mh1s7
|
||||||
1
ui/menus/ResearchPointsMenu.gd.uid
Normal file
1
ui/menus/ResearchPointsMenu.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://ci4ma7yo3sop
|
||||||
1
ui/menus/StationMenu.gd.uid
Normal file
1
ui/menus/StationMenu.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://d2nt17npe5hss
|
||||||
Loading…
Reference in a new issue