diff --git a/.voidbot/state/aetheria.cc b/.voidbot/state/aetheria.cc index a400c09f1..f6302a11f 100644 Binary files a/.voidbot/state/aetheria.cc and b/.voidbot/state/aetheria.cc differ diff --git a/Assets/Scripts/Gameplay/EntityInstance.cs b/Assets/Scripts/Gameplay/EntityInstance.cs index 44d9e63d9..9beca9af3 100644 --- a/Assets/Scripts/Gameplay/EntityInstance.cs +++ b/Assets/Scripts/Gameplay/EntityInstance.cs @@ -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(); Barrels = new Dictionary(); diff --git a/Assets/Scripts/Gameplay/ShipInstance.cs b/Assets/Scripts/Gameplay/ShipInstance.cs index c83b1ab33..bdb05f7d7 100644 --- a/Assets/Scripts/Gameplay/ShipInstance.cs +++ b/Assets/Scripts/Gameplay/ShipInstance.cs @@ -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 { diff --git a/Assets/Scripts/ServerShared/ItemData.cs b/Assets/Scripts/ServerShared/ItemData.cs index 8e93d17c0..1a52cedc7 100644 --- a/Assets/Scripts/ServerShared/ItemData.cs +++ b/Assets/Scripts/ServerShared/ItemData.cs @@ -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; diff --git a/docs/aetheria-perfect-machine-map.md b/docs/aetheria-perfect-machine-map.md index 952af081d..41a014625 100644 --- a/docs/aetheria-perfect-machine-map.md +++ b/docs/aetheria-perfect-machine-map.md @@ -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