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;
|
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);
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user