ServerStorage yaml case fix
This commit is contained in:
@@ -44,7 +44,7 @@ namespace Content.Server.GameObjects.Components.Items.Storage
|
||||
|
||||
private bool _storageInitialCalculated;
|
||||
private int _storageUsed;
|
||||
private int _storageCapacityMax = 10000;
|
||||
private int _storageCapacityMax;
|
||||
public readonly HashSet<IPlayerSession> SubscribedSessions = new HashSet<IPlayerSession>();
|
||||
|
||||
public IReadOnlyCollection<IEntity>? StoredEntities => _storage?.ContainedEntities;
|
||||
@@ -320,7 +320,7 @@ namespace Content.Server.GameObjects.Components.Items.Storage
|
||||
{
|
||||
base.ExposeData(serializer);
|
||||
|
||||
serializer.DataField(ref _storageCapacityMax, "Capacity", 10000);
|
||||
serializer.DataField(ref _storageCapacityMax, "capacity", 10000);
|
||||
//serializer.DataField(ref StorageUsed, "used", 0);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
mass: 25
|
||||
Anchored: false
|
||||
- type: EntityStorage
|
||||
Capacity: 60
|
||||
capacity: 60
|
||||
CanWeldShut: false
|
||||
- type: PlaceableSurface
|
||||
- type: Damageable
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
sprite: Clothing/Back/Backpacks/backpack.rsi
|
||||
HeldPrefix: backpack
|
||||
- type: Storage
|
||||
Capacity: 100
|
||||
capacity: 100
|
||||
|
||||
- type: entity
|
||||
parent: BackpackClothing
|
||||
@@ -131,7 +131,7 @@
|
||||
sprite: Clothing/Back/Satchels/satchel.rsi
|
||||
ClothingPrefix: satchel
|
||||
- type: Storage
|
||||
Capacity: 300
|
||||
capacity: 300
|
||||
|
||||
- type: entity
|
||||
parent: BackpackClothing
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
QuickEquip: false
|
||||
sprite: Clothing/Belt/belt_utility.rsi
|
||||
- type: Storage
|
||||
Capacity: 40 # Full tool loadout is 35, plus an extra
|
||||
capacity: 40 # Full tool loadout is 35, plus an extra
|
||||
|
||||
- type: entity
|
||||
id: UtilityBeltClothingFilled
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
- type: entity
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
id: TrashBase
|
||||
description: This is rubbish.
|
||||
@@ -180,7 +180,7 @@
|
||||
- type: Icon
|
||||
sprite: Objects/Consumable/Trash/trashbag.rsi
|
||||
- type: Storage
|
||||
Capacity: 125
|
||||
capacity: 125
|
||||
|
||||
- type: entity
|
||||
name: tray (trash)
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
- type: Icon
|
||||
texture: Objects/Specific/Medical/medkit_r.png
|
||||
- type: Storage
|
||||
Capacity: 60
|
||||
capacity: 60
|
||||
- type: Item
|
||||
size: 9999
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
abstract: true
|
||||
components:
|
||||
- type: Storage
|
||||
Capacity: 60
|
||||
capacity: 60
|
||||
- type: Item
|
||||
size: 9999
|
||||
- type: ItemCooldown
|
||||
|
||||
Reference in New Issue
Block a user