Fix a few test failures (#15727)

This commit is contained in:
Leon Friedrich
2023-04-24 19:19:35 +12:00
committed by GitHub
parent a6baf77204
commit ca08a045db
3 changed files with 10 additions and 5 deletions

View File

@@ -14,10 +14,10 @@ namespace Content.Server.Shuttles.Components
/// Whether the thruster has been force to be enabled / disabled (e.g. VV, interaction, etc.)
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("enabled")]
public bool Enabled
{
get => _enabled;
[Obsolete("Use the system method")]
set
{
if (_enabled == value) return;
@@ -36,6 +36,7 @@ namespace Content.Server.Shuttles.Components
}
}
[DataField("enabled")]
private bool _enabled = true;
/// <summary>

View File

@@ -9,9 +9,9 @@
netsync: false
state: firstaid
- type: Storage
capacity: 30
capacity: 35
- type: Item
size: 30
size: 35
sprite: Objects/Specific/Medical/firstaidkits.rsi
heldPrefix: firstaid
- type: Tag
@@ -94,3 +94,7 @@
state: blackkit
- type: Item
heldPrefix: blackkit
size: 50
- type: Storage
capacity: 50

View File

@@ -83,7 +83,7 @@
- type: Item
sprite: Objects/Tools/Toolboxes/toolbox_syn.rsi
- type: Storage
capacity: 120
capacity: 170 # this seems silly high
- type: MeleeWeapon
damage:
types: