Some mild item size balancing + fixes (#21250)
This commit is contained in:
@@ -180,14 +180,13 @@ namespace Content.Server.Chemistry.EntitySystems
|
||||
var user = message.Session.AttachedEntity;
|
||||
var maybeContainer = _itemSlotsSystem.GetItemOrNull(chemMaster, SharedChemMaster.OutputSlotName);
|
||||
if (maybeContainer is not { Valid: true } container
|
||||
|| !TryComp(container, out StorageComponent? storage)
|
||||
|| storage.Container is null)
|
||||
|| !TryComp(container, out StorageComponent? storage))
|
||||
{
|
||||
return; // output can't fit pills
|
||||
}
|
||||
|
||||
// Ensure the number is valid.
|
||||
if (message.Number == 0 || _storageSystem.HasSpace((chemMaster, storage)))
|
||||
if (message.Number == 0 || !_storageSystem.HasSpace((container, storage)))
|
||||
return;
|
||||
|
||||
// Ensure the amount is valid.
|
||||
|
||||
@@ -267,6 +267,11 @@
|
||||
name: syndicate hardsuit bundle
|
||||
description: "Contains the Syndicate's signature blood red hardsuit."
|
||||
components:
|
||||
- type: Storage
|
||||
maxItemSize: Huge
|
||||
whitelist: #to snub 'dem metagamers
|
||||
components:
|
||||
- Clothing
|
||||
- type: StorageFill
|
||||
contents:
|
||||
- id: ClothingOuterHardsuitSyndie
|
||||
|
||||
@@ -86,9 +86,16 @@
|
||||
suffix: Filled
|
||||
parent: ToolboxSyndicate
|
||||
components:
|
||||
- type: Storage
|
||||
maxSlots: 8
|
||||
- type: StorageFill
|
||||
contents:
|
||||
- id: ClothingBeltUtilityEngineering
|
||||
- id: Crowbar
|
||||
- id: Wrench
|
||||
- id: Screwdriver
|
||||
- id: Wirecutter
|
||||
- id: Welder
|
||||
- id: Multitool
|
||||
- id: ClothingHandsGlovesCombat
|
||||
- id: ClothingMaskGasSyndicate
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
maxSlots: 7
|
||||
maxItemSize: Normal
|
||||
- type: Item
|
||||
size: Large
|
||||
size: Huge
|
||||
- type: ContainerContainer
|
||||
containers:
|
||||
storagebase: !type:Container
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
id: ClothingOuterBaseLarge
|
||||
components:
|
||||
- type: Item
|
||||
size: Normal
|
||||
size: Large
|
||||
- type: Clothing
|
||||
slots:
|
||||
- outerClothing
|
||||
@@ -28,8 +28,6 @@
|
||||
parent: ClothingOuterBase
|
||||
id: ClothingOuterStorageBase
|
||||
components:
|
||||
- type: Item
|
||||
size: Normal
|
||||
- type: Storage
|
||||
maxSlots: 3
|
||||
- type: ContainerContainer
|
||||
@@ -72,7 +70,7 @@
|
||||
walkModifier: 0.4
|
||||
sprintModifier: 0.6
|
||||
- type: Item
|
||||
size: Large
|
||||
size: Huge
|
||||
- type: Armor
|
||||
modifiers:
|
||||
coefficients:
|
||||
@@ -107,7 +105,7 @@
|
||||
walkModifier: 0.8
|
||||
sprintModifier: 0.8
|
||||
- type: Item
|
||||
size: Normal
|
||||
size: Large
|
||||
|
||||
- type: entity
|
||||
parent: ClothingOuterBase
|
||||
@@ -130,7 +128,7 @@
|
||||
id: ClothingOuterBaseMedium
|
||||
components:
|
||||
- type: Item
|
||||
size: Normal
|
||||
size: Large
|
||||
- type: Clothing
|
||||
slots:
|
||||
- outerClothing
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
- type: Item
|
||||
size: Huge
|
||||
- type: Storage
|
||||
maxSlots: 12
|
||||
maxSlots: 5
|
||||
maxItemSize: Normal
|
||||
quickInsert: true
|
||||
areaInsert: true
|
||||
|
||||
Reference in New Issue
Block a user