Delete dormant legacy audio DTO reads

This commit is contained in:
Meta Vens 2026-06-14 18:09:57 +01:00
commit 6df3cd0ede
5 changed files with 3 additions and 17 deletions

Binary file not shown.

View file

@ -264,15 +264,6 @@ public class EntityInstance : MonoBehaviour
}
}
var hp = Entity.Hardpoints[item.Position.x, item.Position.y];
if (hp != null && item.Data.SoundBank != 0)
{
var hardpointTransform = EquipmentHardpoints.FirstOrDefault(x => x.name == hp.Transform);
if (hardpointTransform != null)
{
var hardpointGameObject = hardpointTransform.gameObject;
}
}
}
RadiatorMeshes = new Dictionary<Radiator, MeshRenderer>();
Barrels = new Dictionary<HardpointData, Transform[]>();

View file

@ -68,11 +68,6 @@ public class ShipInstance : EntityInstance
var thrusterHardpoint = ThrusterHardpoints
.FirstOrDefault(t => t.name == ship.Hardpoints[thruster.Item.Position.x, thruster.Item.Position.y].Transform);
particlesShape.meshRenderer = thrusterHardpoint?.Emitter;
// if (!string.IsNullOrEmpty(thruster.Item.Data.SoundEffectTrigger) && thrusterHardpoint != null)
// {
// AkSoundEngine.RegisterGameObj(thrusterHardpoint.gameObject);
// AkSoundEngine.PostEvent(thruster.Item.Data.SoundEffectTrigger, thrusterHardpoint.gameObject);
// }
return new ThrusterInstance
{

View file

@ -387,9 +387,6 @@ public abstract class EquippableItemData : CraftedItemData
[Inspectable, LegacyPayloadKey(18)]
public float ThermalResilience = 1;
// [Inspectable, LegacyPayloadKey(19)]
// public string SoundEffectTrigger;
[InspectableTexture, LegacyPayloadKey(20)]
public string ActionBarIcon;

View file

@ -1020,6 +1020,9 @@ First Aetheria surfaces to publish:
- Done: move HUD ammo display reads off `WeaponData`; `SchematicDisplay`
consumes `Weapon.AmmoType`, `Weapon.MagazineSize`, and `Weapon.UsesAmmo`,
and the public `WeaponData` escape hatch has been removed.
- Done: delete dormant legacy item audio reads in `EntityInstance` and stale
commented thruster sound-trigger code; those paths had no live output and
therefore earned deletion rather than a new runtime metadata owner.
- Done: delete the legacy `Behaviors` lists from `ConsumableItemData` and
`EquippableItemData`; item DTOs can no longer carry behavior config state.
- Done: move runtime blueprint price aggregation and conductivity restore