From 7109ce9e573111165ecdda8d10201a6fa8b6ca9e Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Thu, 8 Oct 2026 13:55:55 +0200 Subject: [PATCH] retire-longinusx command: import its serializer namespace; keep the Python enum names equal to the enum until the enum member goes The previous commit did not compile AetherDb (missing using) and dropped the Python name while HardpointType.AetherDrive still existed, which ShipSchemaPinTests pins. Both repaired; the name leaves with the enum member. Co-Authored-By: Claude Sonnet 5.5 --- tools/AetherDb/Program.cs | 1 + tools/blender/aetheria_ships/ship_cc.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/AetherDb/Program.cs b/tools/AetherDb/Program.cs index 5f2fc61bd..4c2c40d7a 100644 --- a/tools/AetherDb/Program.cs +++ b/tools/AetherDb/Program.cs @@ -10,6 +10,7 @@ using System.Linq; using System.Reflection; using CultMath; using GameCult.Caching; +using GameCult.Caching.MessagePack; using Random = CultMath.Random; // Commands over the game database, run with: dotnet run --project tools/AetherDb -- diff --git a/tools/blender/aetheria_ships/ship_cc.py b/tools/blender/aetheria_ships/ship_cc.py index 6018d6a96..f16fe72a5 100644 --- a/tools/blender/aetheria_ships/ship_cc.py +++ b/tools/blender/aetheria_ships/ship_cc.py @@ -33,7 +33,7 @@ HARDPOINT_MEMBERS = ("Type", "Position", "Shape", "Transform", "Rotation", "Armo ANCHOR_MEMBERS = ("Id", "Role", "ModelNodeId", "ParentId", "Order") # Enum member names in value order (HardpointType, ItemRotation). HARDPOINT_TYPE_NAMES = ("Hull", "Tool", "Thermal", "Thruster", "WarpDrive", "Reactor", "Radiator", - "Shield", "Sensors", "Energy", "Ballistic", "Launcher", "ControlModule") + "Shield", "Sensors", "Energy", "Ballistic", "Launcher", "ControlModule", "AetherDrive") ROTATION_NAMES = ("None", "CounterClockwise", "Reversed", "Clockwise")