diff --git a/Content.Server/_Sunrise/InnateItem/InnateItemSystem.cs b/Content.Server/_Sunrise/InnateItem/InnateItemSystem.cs index cffc70e6c41..8707ade836c 100644 --- a/Content.Server/_Sunrise/InnateItem/InnateItemSystem.cs +++ b/Content.Server/_Sunrise/InnateItem/InnateItemSystem.cs @@ -15,7 +15,7 @@ public sealed class InnateItemSystem : EntitySystem public override void Initialize() { base.Initialize(); - SubscribeLocalEvent(OnStartup); + SubscribeLocalEvent(OnMapInit); SubscribeLocalEvent(WorldTargetActionActivate); SubscribeLocalEvent(InstantActionActivate); SubscribeLocalEvent(OnShutdown); @@ -29,7 +29,7 @@ private void OnShutdown(EntityUid uid, InnateItemComponent component, ComponentS } } - private void OnStartup(EntityUid uid, InnateItemComponent component, ComponentStartup args) + private void OnMapInit(EntityUid uid, InnateItemComponent component, MapInitEvent args) { AddItems(uid, component); } diff --git a/Content.Shared/_Sunrise/Weapons/EnergyGunFireModesComponent.cs b/Content.Shared/_Sunrise/Weapons/EnergyGunFireModesComponent.cs index b1011aaf666..fc201bebd71 100644 --- a/Content.Shared/_Sunrise/Weapons/EnergyGunFireModesComponent.cs +++ b/Content.Shared/_Sunrise/Weapons/EnergyGunFireModesComponent.cs @@ -1,4 +1,5 @@ using Content.Shared.Weapons.Ranged; +using Robust.Shared.GameStates; using Robust.Shared.Prototypes; using Robust.Shared.Serialization; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; @@ -9,7 +10,7 @@ namespace Content.Shared._Sunrise.Weapons; /// Allows for energy gun to switch between three modes. This also changes the sprite accordingly. /// /// This is BatteryWeaponFireModesSystem with additional changes to allow for different sprites. -[RegisterComponent] +[RegisterComponent, NetworkedComponent] [Access(typeof(EnergyGunFireModesSystem))] [AutoGenerateComponentState] public sealed partial class EnergyGunFireModesComponent : Component diff --git a/Content.Shared/_Sunrise/Weapons/EnergyGunFireModesSystem.cs b/Content.Shared/_Sunrise/Weapons/EnergyGunFireModesSystem.cs index 354326f068c..6cd99612918 100644 --- a/Content.Shared/_Sunrise/Weapons/EnergyGunFireModesSystem.cs +++ b/Content.Shared/_Sunrise/Weapons/EnergyGunFireModesSystem.cs @@ -23,13 +23,13 @@ public override void Initialize() { base.Initialize(); - SubscribeLocalEvent(OnStartup); + SubscribeLocalEvent(OnMapInit); SubscribeLocalEvent(OnInteractHandEvent); SubscribeLocalEvent>(OnGetVerb); SubscribeLocalEvent(OnExamined); } - private void OnStartup(Entity ent, ref ComponentStartup args) + private void OnMapInit(Entity ent, ref MapInitEvent args) { if (ent.Comp.FireModes.Count <= 0) return; diff --git a/Resources/Maps/_Sunrise/Station/delta.yml b/Resources/Maps/_Sunrise/Station/delta.yml index e642e95e4e7..ba154eea48e 100644 --- a/Resources/Maps/_Sunrise/Station/delta.yml +++ b/Resources/Maps/_Sunrise/Station/delta.yml @@ -86,8 +86,7 @@ tilemap: 127: FloorWoodTile 128: Lattice 129: Plating - 132: PlatingBurnt - 133: PlatingDamaged + 132: PlatingDamaged entities: - proto: "" entities: @@ -125829,15 +125828,6 @@ entities: - type: Transform pos: -34.520683,47.5052 parent: 2 -- proto: DungeonMasterCircuitBoard - entities: - - uid: 24243 - components: - - type: Transform - parent: 24236 - - type: Physics - canCollide: False - - type: InsideEntityStorage - proto: Eggshells entities: - uid: 23883 @@ -133018,7 +133008,7 @@ entities: - type: Transform pos: 93.5,-16.5 parent: 2 -- proto: FloraTree02 +- proto: FloraTree entities: - uid: 18175 components: @@ -133031,8 +133021,6 @@ entities: rot: 3.141592653589793 rad pos: 70.738884,-20.49512 parent: 2 -- proto: FloraTree03 - entities: - uid: 18177 components: - type: Transform @@ -133044,8 +133032,6 @@ entities: rot: 3.141592653589793 rad pos: 69.794815,-17.294529 parent: 2 -- proto: FloraTree04 - entities: - uid: 18179 components: - type: Transform @@ -133057,8 +133043,6 @@ entities: rot: 3.141592653589793 rad pos: 73.34982,-17.176535 parent: 2 -- proto: FloraTree05 - entities: - uid: 18181 components: - type: Transform @@ -133070,8 +133054,6 @@ entities: rot: 3.141592653589793 rad pos: 69.88979,-23.562963 parent: 2 -- proto: FloraTree06 - entities: - uid: 18183 components: - type: Transform @@ -133876,6 +133858,15 @@ entities: - type: Transform pos: 13.480562,-15.485751 parent: 2 +- proto: GameMasterCircuitBoard + entities: + - uid: 24243 + components: + - type: Transform + parent: 24236 + - type: Physics + canCollide: False + - type: InsideEntityStorage - proto: GasAnalyzer entities: - uid: 18292 @@ -175739,13 +175730,6 @@ entities: - type: Transform pos: 10.5,66.5 parent: 2 -- proto: HeadBorgMedical - entities: - - uid: 26922 - components: - - type: Transform - pos: -6.441073,-38.474636 - parent: 2 - proto: HeatExchanger entities: - uid: 26923 @@ -177311,6 +177295,13 @@ entities: parent: 2 - type: Physics canCollide: False +- proto: LightHeadBorg + entities: + - uid: 26922 + components: + - type: Transform + pos: -6.441073,-38.474636 + parent: 2 - proto: LightPostSmall entities: - uid: 23762 @@ -248342,13 +248333,6 @@ entities: - type: Transform pos: -27.5,-50.5 parent: 2 -- proto: WeaponRifleAKM - entities: - - uid: 39261 - components: - - type: Transform - pos: 40.57007,17.532423 - parent: 2 - proto: WeaponCapacitorRecharger entities: - uid: 23325 @@ -248819,6 +248803,13 @@ entities: - type: Transform pos: 36.47151,18.549223 parent: 2 +- proto: WeaponRifleAKM + entities: + - uid: 39261 + components: + - type: Transform + pos: 40.57007,17.532423 + parent: 2 - proto: WeaponRifleBR64 entities: - uid: 39273