]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Serializable emag flags (#34766)
authorScarKy0 <106310278+ScarKy0@users.noreply.github.com>
Thu, 30 Jan 2025 13:15:01 +0000 (14:15 +0100)
committerGitHub <noreply@github.com>
Thu, 30 Jan 2025 13:15:01 +0000 (14:15 +0100)
* serializable idk

* guh

Content.Shared/Emag/Systems/EmagSystem.cs
Resources/Prototypes/Entities/Objects/Tools/emag.yml

index e6d0e1e653cbbd452742eeb7e1f57a9b201f2687..9626f177192ff171fdf6ee079b93348a00ce64f1 100644 (file)
@@ -8,6 +8,7 @@ using Content.Shared.Interaction;
 using Content.Shared.Popups;
 using Content.Shared.Tag;
 using Robust.Shared.Audio.Systems;
+using Robust.Shared.Serialization;
 
 namespace Content.Shared.Emag.Systems;
 
@@ -127,6 +128,7 @@ public sealed class EmagSystem : EntitySystem
 
 
 [Flags]
+[Serializable, NetSerializable]
 public enum EmagType : byte
 {
     None = 0,
index 28c007a63f1b0aab8158a19444fdacb961b2dd27..616772a4fcd90f9d6ae1aec68a57bf8de62d02a6 100644 (file)
@@ -3,7 +3,7 @@
   id: EmagUnlimited
   suffix: Unlimited
   name: cryptographic sequencer
-  description: The all-in-one hacking solution. The thinking man's lockpick. The iconic EMAG.
+  description: The all-in-one hacking solution. Friend of any syndicate. The iconic EMAG.
   components:
   - type: Emag
   - type: Sprite