mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-18 14:07:53 +03:00
* make changes * fix yaml linter bug * locales * consolidations * fix DeltaV comment appearing in uplink * e * Update emag.yml Signed-off-by: WarMechanic <69510347+WarMechanic@users.noreply.github.com> * emag invalid target locale * change id 'airlockaccessoverride' to 'doorjack' * name consolidations + doorjack sprite * Update Resources/Locale/en-US/deltav/store/uplink-catalog.ftl Co-authored-by: DEATHB4DEFEAT <77995199+DEATHB4DEFEAT@users.noreply.github.com> Signed-off-by: WarMechanic <69510347+WarMechanic@users.noreply.github.com> * Update Resources/Locale/en-US/store/uplink-catalog.ftl Co-authored-by: DEATHB4DEFEAT <77995199+DEATHB4DEFEAT@users.noreply.github.com> Signed-off-by: WarMechanic <69510347+WarMechanic@users.noreply.github.com> * Update Resources/Locale/en-US/emag/emag.ftl Co-authored-by: DEATHB4DEFEAT <77995199+DEATHB4DEFEAT@users.noreply.github.com> Signed-off-by: WarMechanic <69510347+WarMechanic@users.noreply.github.com> * Update Resources/Prototypes/DeltaV/Catalog/uplink_catalog.yml Co-authored-by: DEATHB4DEFEAT <77995199+DEATHB4DEFEAT@users.noreply.github.com> Signed-off-by: WarMechanic <69510347+WarMechanic@users.noreply.github.com> * Update Resources/Prototypes/DeltaV/Entities/Objects/Tools/emag.yml Co-authored-by: DEATHB4DEFEAT <77995199+DEATHB4DEFEAT@users.noreply.github.com> Signed-off-by: WarMechanic <69510347+WarMechanic@users.noreply.github.com> * deltanedas --------- Signed-off-by: WarMechanic <69510347+WarMechanic@users.noreply.github.com> Co-authored-by: DEATHB4DEFEAT <77995199+DEATHB4DEFEAT@users.noreply.github.com> (cherry picked from commit c0af9b33761de17bb72207b337809fc20c10687c)
36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
using Content.Shared.Emag.Systems;
|
|
using Content.Shared.Tag;
|
|
using Content.Shared.Whitelist;
|
|
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Emag.Components;
|
|
|
|
[Access(typeof(EmagSystem))]
|
|
[RegisterComponent, NetworkedComponent]
|
|
[AutoGenerateComponentState]
|
|
public sealed partial class EmagComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The tag that marks an entity as immune to emags
|
|
/// </summary>
|
|
[DataField("emagImmuneTag", customTypeSerializer: typeof(PrototypeIdSerializer<TagPrototype>)), ViewVariables(VVAccess.ReadWrite)]
|
|
[AutoNetworkedField]
|
|
public string EmagImmuneTag = "EmagImmune";
|
|
|
|
// DeltaV - Add a whitelist/blacklist to the Emag
|
|
/// <summary>
|
|
/// Whitelist that entities must be on to work.
|
|
/// </summary>
|
|
[DataField]
|
|
public EntityWhitelist? Whitelist;
|
|
|
|
/// <summary>
|
|
/// Blacklist that entities must be off to work.
|
|
/// </summary>
|
|
[DataField]
|
|
public EntityWhitelist? Blacklist;
|
|
// End of DeltaV code
|
|
}
|