Aetheria/Assets/Scripts/Gameplay
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 67cbf34b25 Switch engine asset references from Resources paths to Addressables GUIDs
Cut 2 of docs/addressables-cut.md. The asset move (git mv
Resources/{Prefabs,Schematics,Sprites/Icons} -> Content/...) and the
UnityHelpers.cs deletion already landed in 1fdf8151, picked up by a
concurrent session sharing this working tree; this commit is the rest
of Cut 2 landing on top of that shared state, atomically:

- Bump CultLib to cultlib-unity-v1.0.60 / caching-unity-v1.4.0 (both
  45c2f40) in Packages/manifest.json, packages-lock.json and
  Directory.Build.props, together with the 8 ServerShared
  [CultInspectorAssetPath] usages becoming [CultInspectorAssetGuid] -
  the .NET and Unity sides move together or nothing compiles.
- Assets/Scripts/EngineAssets.cs replaces UnityHelpers: loads an
  Addressables key (bare GUID or guid[subAsset]) synchronously,
  loading the GameObject and taking the component for the four sites
  that load a component. ActionBarSlot, EntityInstance, ShipInstance
  and ZoneRenderer call it instead of Resources.Load/UnityHelpers; the
  inline "Assets/Resources/" prefix strips are gone with them.
  CultCacheDrawers' schematic preview goes through
  AssetDatabase.GUIDToAssetPath first.
- Assets/Scripts/Editor/EngineAssetCheck.cs validates every stored
  [CultInspectorAssetGuid] value: 32 lowercase hex, resolves to a file,
  is addressable, and satisfies its member's consumer-type contract
  (Texture2D for icons/logos/schematics, a GameObject with the right
  component for prefabs) - table-driven, so an attributed member with
  no row fails loudly instead of being skipped.
- GameData/Aetheria.cc: the scratch migration (Aetheria.Shared + the
  pinned CultLib revision, a throwaway console app, never landed)
  walked all 138 attributed field slots across 180 documents,
  rewriting the 30 non-empty Resources paths to their .meta GUIDs -
  108 stayed empty, 0 unresolved, matching the map's census exactly.

Verification: dotnet test tests/Aetheria.Shared.Tests 61/61 green
against CultLib 45c2f40; Unity 6000.3.24f1 batchmode compiles clean;
EngineAssetCheck.Run passes all 30 stored references; the map's
negative greps are clean; tests/mutation_tests.py's 5 mutations (wrong
type, non-addressable, random guid, an old path, and an untabled
attributed member) are all caught and named, the control case and the
post-revert recompile stay clean, and the catalog/source are restored
byte-identical afterward.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-18 05:04:50 +02:00
..
Weapons Delete AetheriaMath in favour of CultMath 2026-09-14 18:02:41 +02:00
ActionBarSlot.cs Switch engine asset references from Resources paths to Addressables GUIDs 2026-09-18 05:04:50 +02:00
ActionBarSlot.cs.meta Action Bar (WIP) 2021-04-18 05:13:20 +01:00
ActionGameManager.cs Cut 0: give Entity its own EntitySettings copy, delete the duplicate copies 2026-09-17 18:22:22 +02:00
ActionGameManager.cs.meta Weapon Scripting Overhaul 2021-01-25 05:53:36 +00:00
ArticulationPoint.cs Swap Unity.Mathematics usings for CultMath 2026-09-14 17:39:12 +02:00
ArticulationPoint.cs.meta Weapon Scripting Overhaul 2021-01-25 05:53:36 +00:00
CapabilityPresentationBinder.cs Add presenter interfaces and a capability event binder 2026-09-17 14:36:27 +02:00
CapabilityPresentationBinder.cs.meta Add presenter interfaces and a capability event binder 2026-09-17 14:36:27 +02:00
CapabilityPresenters.cs Add presenter interfaces and a capability event binder 2026-09-17 14:36:27 +02:00
CapabilityPresenters.cs.meta Add presenter interfaces and a capability event binder 2026-09-17 14:36:27 +02:00
EntityInstance.cs Switch engine asset references from Resources paths to Addressables GUIDs 2026-09-18 05:04:50 +02:00
EntityInstance.cs.meta Combat & Visibility & Collisions 2021-02-26 19:01:47 +00:00
FieldDriver.cs Make FieldDriver a capability presenter, not an owner 2026-09-17 14:36:40 +02:00
FieldDriver.cs.meta Shields 2025-01-30 01:58:05 +00:00
GameSettings.cs Cut 0: delete dead soundbank and HullHitColor fields (fork X) 2026-09-17 18:22:00 +02:00
GameSettings.cs.meta Misc. Improvements 2021-01-27 16:14:41 +00:00
GridObject.cs Convert engine types through CultMath.UnityBridge 2026-09-14 17:47:33 +02:00
GridObject.cs.meta Loot 2021-04-15 04:25:22 +01:00
HullCollider.cs Convert engine types through CultMath.UnityBridge 2026-09-14 17:47:33 +02:00
HullCollider.cs.meta Weapon Scripting Overhaul 2021-01-25 05:53:36 +00:00
ItemPickup.cs Convert engine types through CultMath.UnityBridge 2026-09-14 17:47:33 +02:00
ItemPickup.cs.meta Loot 2021-04-15 04:25:22 +01:00
RadiatorHardpoint.cs Heat System v2 + Lasers 2021-01-27 00:05:30 +00:00
RadiatorHardpoint.cs.meta Heat System v2 + Lasers 2021-01-27 00:05:30 +00:00
ShieldAnimation.cs Loot 2021-04-15 04:25:22 +01:00
ShieldAnimation.cs.meta Loot 2021-04-15 04:25:22 +01:00
ShieldManager.cs Convert engine types through CultMath.UnityBridge 2026-09-14 17:47:33 +02:00
ShieldManager.cs.meta Loot 2021-04-15 04:25:22 +01:00
ShieldTest.cs Swap Unity.Mathematics usings for CultMath 2026-09-14 17:39:12 +02:00
ShieldTest.cs.meta Loot 2021-04-15 04:25:22 +01:00
ShipInstance.cs Switch engine asset references from Resources paths to Addressables GUIDs 2026-09-18 05:04:50 +02:00
ShipInstance.cs.meta Combat & Visibility & Collisions 2021-02-26 19:01:47 +00:00
ThrusterHardpoint.cs Weapon Scripting Overhaul 2021-01-25 05:53:36 +00:00
ThrusterHardpoint.cs.meta Weapon Scripting Overhaul 2021-01-25 05:53:36 +00:00
TimedDestroy.cs Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
TimedDestroy.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
TractorBeam.cs Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
TractorBeam.cs.meta Loot 2021-04-15 04:25:22 +01:00
WeaponHardpoint.cs Weapon Scripting Overhaul 2021-01-25 05:53:36 +00:00
WeaponHardpoint.cs.meta Weapon Scripting Overhaul 2021-01-25 05:53:36 +00:00
Weapons.meta Weapon Scripting Overhaul 2021-01-25 05:53:36 +00:00