From 6df3cd0edeace7e44d370c62a27b8af1673c2734 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 14 Jun 2026 18:09:57 +0100 Subject: [PATCH] Delete dormant legacy audio DTO reads --- .voidbot/state/aetheria.cc | Bin 85201 -> 85260 bytes Assets/Scripts/Gameplay/EntityInstance.cs | 9 --------- Assets/Scripts/Gameplay/ShipInstance.cs | 5 ----- Assets/Scripts/ServerShared/ItemData.cs | 3 --- docs/aetheria-perfect-machine-map.md | 3 +++ 5 files changed, 3 insertions(+), 17 deletions(-) diff --git a/.voidbot/state/aetheria.cc b/.voidbot/state/aetheria.cc index a400c09f1b167776e5084137dc15e259e7d24bff..f6302a11f3ca42c314b368c627f3fd2914cad3da 100644 GIT binary patch delta 1076 zcmZ`(J!lj`6lP-*l19>ahJf%2K_ju2&tUx&fX5$ompmP?>rPv zv`u5SSWIDM2(hwDD~PpN2)WYMDutbmZ+7=ikysr!_ul)y_kG{HuWyF-4~IS+4~#C} znXXo<3yV9itt-jrf&Jp4Hk&<&OV4@_^V!45AXr~sO%9$;4qCN^Yqts2K9!8vE+wu_ zVwVZq)xwteHT5rBZfCkKWJtJ%fHsKJ2Bv8USs~Q7H^CGtXi-VQr2*B{tsFT4VPW^( z8rMv>*SXS!I~2HpK=1~YMUNR&sS`~qTO#J}D&c$J2?+!%Z4rS_q#KD2L+IT=ID2Iv z+yxvKP;f*TQjTDteHkl_L$e`ko<|+MEm_0hIKrjSA_@UR(ZphgT#zpa4_cB$5t2RD zlq)89_uB?*(qgfYYT_a@MC-610Q!_Etw3vCZq?pA?K9<+hDNbq0K zoL=TrU`X#$pEMb|hBUOz5DJ3U{u&PI!->6xA1E2)8! delta 1072 zcmZWoOKa3n6efMz;sa3`MHdIUsyb%e18aHPO$d|>P?;vwn1%|X0END+qib&(6q-x1_u(2*GR+yG4HFK6Hr(@KOonlx zfq^TP&x8SP(6{5M_JRzBJI%x@5EW-Ng;c>Bt8=OD0P)lWtUYNJF(4eg&J4z5t9%8@ zi#IjIQhG6Pu7C@JN-&Rln1MuHUE=|8O)Z|s0*!8TZ~NrNZdrnmhGmld?C{)`NCr 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