ServerStorage yaml case fix

This commit is contained in:
py01
2020-07-18 19:37:17 -06:00
parent 72a5a3f3fd
commit e33caaddea
7 changed files with 10 additions and 10 deletions

View File

@@ -44,7 +44,7 @@ namespace Content.Server.GameObjects.Components.Items.Storage
private bool _storageInitialCalculated; private bool _storageInitialCalculated;
private int _storageUsed; private int _storageUsed;
private int _storageCapacityMax = 10000; private int _storageCapacityMax;
public readonly HashSet<IPlayerSession> SubscribedSessions = new HashSet<IPlayerSession>(); public readonly HashSet<IPlayerSession> SubscribedSessions = new HashSet<IPlayerSession>();
public IReadOnlyCollection<IEntity>? StoredEntities => _storage?.ContainedEntities; public IReadOnlyCollection<IEntity>? StoredEntities => _storage?.ContainedEntities;
@@ -320,7 +320,7 @@ namespace Content.Server.GameObjects.Components.Items.Storage
{ {
base.ExposeData(serializer); base.ExposeData(serializer);
serializer.DataField(ref _storageCapacityMax, "Capacity", 10000); serializer.DataField(ref _storageCapacityMax, "capacity", 10000);
//serializer.DataField(ref StorageUsed, "used", 0); //serializer.DataField(ref StorageUsed, "used", 0);
} }

View File

@@ -35,7 +35,7 @@
mass: 25 mass: 25
Anchored: false Anchored: false
- type: EntityStorage - type: EntityStorage
Capacity: 60 capacity: 60
CanWeldShut: false CanWeldShut: false
- type: PlaceableSurface - type: PlaceableSurface
- type: Damageable - type: Damageable

View File

@@ -18,7 +18,7 @@
sprite: Clothing/Back/Backpacks/backpack.rsi sprite: Clothing/Back/Backpacks/backpack.rsi
HeldPrefix: backpack HeldPrefix: backpack
- type: Storage - type: Storage
Capacity: 100 capacity: 100
- type: entity - type: entity
parent: BackpackClothing parent: BackpackClothing
@@ -131,7 +131,7 @@
sprite: Clothing/Back/Satchels/satchel.rsi sprite: Clothing/Back/Satchels/satchel.rsi
ClothingPrefix: satchel ClothingPrefix: satchel
- type: Storage - type: Storage
Capacity: 300 capacity: 300
- type: entity - type: entity
parent: BackpackClothing parent: BackpackClothing

View File

@@ -23,7 +23,7 @@
QuickEquip: false QuickEquip: false
sprite: Clothing/Belt/belt_utility.rsi sprite: Clothing/Belt/belt_utility.rsi
- type: Storage - type: Storage
Capacity: 40 # Full tool loadout is 35, plus an extra capacity: 40 # Full tool loadout is 35, plus an extra
- type: entity - type: entity
id: UtilityBeltClothingFilled id: UtilityBeltClothingFilled

View File

@@ -1,4 +1,4 @@
- type: entity - type: entity
parent: BaseItem parent: BaseItem
id: TrashBase id: TrashBase
description: This is rubbish. description: This is rubbish.
@@ -180,7 +180,7 @@
- type: Icon - type: Icon
sprite: Objects/Consumable/Trash/trashbag.rsi sprite: Objects/Consumable/Trash/trashbag.rsi
- type: Storage - type: Storage
Capacity: 125 capacity: 125
- type: entity - type: entity
name: tray (trash) name: tray (trash)

View File

@@ -9,7 +9,7 @@
- type: Icon - type: Icon
texture: Objects/Specific/Medical/medkit_r.png texture: Objects/Specific/Medical/medkit_r.png
- type: Storage - type: Storage
Capacity: 60 capacity: 60
- type: Item - type: Item
size: 9999 size: 9999

View File

@@ -4,7 +4,7 @@
abstract: true abstract: true
components: components:
- type: Storage - type: Storage
Capacity: 60 capacity: 60
- type: Item - type: Item
size: 9999 size: 9999
- type: ItemCooldown - type: ItemCooldown