hardsuit clothing should be large and not fit in pockets (#5368)
Co-authored-by: xRiriq <xRiriq.git@gmail.com>
This commit is contained in:
@@ -231,9 +231,10 @@ namespace Content.Server.Inventory.Components
|
||||
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);
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
id: ClothingHeadHardsuitBase
|
||||
name: base hardsuit helmet
|
||||
components:
|
||||
- type: Clothing
|
||||
size: 15
|
||||
- type: PressureProtection
|
||||
highPressureMultiplier: 0.5
|
||||
lowPressureMultiplier: 100
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
- type: PressureProtection
|
||||
highPressureMultiplier: 0.75
|
||||
lowPressureMultiplier: 100
|
||||
- type: Clothing
|
||||
size: 25
|
||||
- type: Armor
|
||||
modifiers:
|
||||
coefficients:
|
||||
|
||||
Reference in New Issue
Block a user