hardsuit clothing should be large and not fit in pockets (#5368)

Co-authored-by: xRiriq <xRiriq.git@gmail.com>
This commit is contained in:
xRiriq
2021-11-16 19:05:41 -05:00
committed by GitHub
parent 4b6b33e742
commit ad4db6ba00
3 changed files with 7 additions and 2 deletions

View File

@@ -231,9 +231,10 @@ namespace Content.Server.Inventory.Components
reason = controllerReason ?? reason; reason = controllerReason ?? reason;
} }
if (!pass && reason == null) if (!pass)
{ {
reason = Loc.GetString("inventory-component-can-equip-cannot"); reason = reason ?? Loc.GetString("inventory-component-can-equip-cannot");
return false;
} }
var canEquip = pass && _slotContainers[slot].CanInsert(item.Owner); var canEquip = pass && _slotContainers[slot].CanInsert(item.Owner);

View File

@@ -26,6 +26,8 @@
id: ClothingHeadHardsuitBase id: ClothingHeadHardsuitBase
name: base hardsuit helmet name: base hardsuit helmet
components: components:
- type: Clothing
size: 15
- type: PressureProtection - type: PressureProtection
highPressureMultiplier: 0.5 highPressureMultiplier: 0.5
lowPressureMultiplier: 100 lowPressureMultiplier: 100

View File

@@ -18,6 +18,8 @@
- type: PressureProtection - type: PressureProtection
highPressureMultiplier: 0.75 highPressureMultiplier: 0.75
lowPressureMultiplier: 100 lowPressureMultiplier: 100
- type: Clothing
size: 25
- type: Armor - type: Armor
modifiers: modifiers:
coefficients: coefficients: