Skip to content

Commit

Permalink
Fixes and clarified descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Emily9031 committed Jan 22, 2025
1 parent 5af7c1f commit f640c98
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 28 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Content.Shared.DeviceLinking;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
using Robust.Shared.Prototypes;

namespace Content.Server._DV.DeviceLinking.Components
{
Expand All @@ -10,7 +10,7 @@ public sealed partial class DeadMansSignallerComponent : Component
/// <summary>
/// The port that gets signaled when the switch turns on.
/// </summary>
[DataField("port", customTypeSerializer: typeof(PrototypeIdSerializer<SourcePortPrototype>))]
public string Port = "Pressed";
[DataField]
public ProtoId<SourcePortPrototype> Port = "Pressed";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Content.Shared.Hands;
using Content.Shared.Item.ItemToggle;

namespace Content.Server.DeltaV.DeviceLinking.Systems;
namespace Content.Server._DV.DeviceLinking.Systems;

public sealed class DeadMansSignallerSystem : EntitySystem
{
Expand Down
2 changes: 1 addition & 1 deletion Resources/Locale/en-US/_DV/store/uplink-catalog.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ uplink-objective-syndicate-board-name = Syndicate law board
uplink-objective-syndicate-board-desc = Its expensive, don't lose it!
uplink-dead-mans-signaller-name = Dead Man's Signaller
uplink-dead-mans-signaller-desc = A device that when activated, will send a signal to any linked devices (such as bombs) when it is dropped.
uplink-dead-mans-signaller-desc = A device that if armed, will send a signal to any linked devices (such as bombs) when it is dropped or put away.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
parent: RemoteSignaller
id: DeadMansSignaler
name: dead man's signaler
description: A device that when dropped will send signals to objects within a small radius of about 50 meters.
description: A device that if armed will send signals to objects within 50 meters when dropped or put away.
components:
- type: DeadMansSignaller
- type: ItemToggle
Expand Down
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "signaller state taken from /vg/station at commit https://github.com/vgstation-coders/vgstation13/commit/2c980a1f423f26e990a578bae057d1eca19675ec. inhands & advanced made by Flaregy for Space Station 14. Dead Man's Signaller is modified from signaller",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "active"
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "signaller state taken from /vg/station at commit https://github.com/vgstation-coders/vgstation13/commit/2c980a1f423f26e990a578bae057d1eca19675ec. inhands & advanced made by Flaregy for Space Station 14. Dead Man's Signaller is modified from signaller",
"size": {
"x": 32,
"y": 32
},
{
"name": "inactive"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
"states": [
{
"name": "active"
},
{
"name": "inactive"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}

0 comments on commit f640c98

Please sign in to comment.