Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Massening Vacsuits And Hardsuits #1411

Merged
merged 2 commits into from
Jan 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Resources/Prototypes/Entities/Clothing/OuterClothing/armor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@
Heat: 0.80
- type: ExplosionResistance
damageCoefficient: 0.90
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.25,-0.25,0.25,0.25"
density: 9.6 # Assuming a level 3 bulletproof vest weighs 2.4kg
mask:
- ItemMask
restitution: 0.3
friction: 0.2

#Alternate / slim basic armor vest
- type: entity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@
- type: Tag
tags:
- WhitelistChameleon
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.25,-0.25,0.25,0.25"
density: 22
mask:
- ItemMask
restitution: 0.3
friction: 0.2

- type: entity
abstract: true
Expand Down Expand Up @@ -159,6 +170,17 @@
staminaCost: 44
soundHit:
collection: MetalThud
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.25,-0.25,0.25,0.25"
density: 400 # According to Google, a NASA Eva Suit weighs 68kg. Since Hardsuits are "Armored", I'm setting it to 100kg
mask:
- ItemMask
restitution: 0.3
friction: 0.2

- type: entity
abstract: true
Expand Down Expand Up @@ -186,6 +208,17 @@
unequipDelay: 1
- type: ClothingRequiredStepTriggerImmune
slots: WITHOUT_POCKET
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.25,-0.25,0.25,0.25"
density: 272 # According to Google, a NASA Eva Suit weighs 68kg. Thus, my reference.
mask:
- ItemMask
restitution: 0.3
friction: 0.2

- type: entity
parent: ClothingOuterBase
Expand Down
Loading