Add flashlights for hardsuit helmets (#2947)

* Fixed engineering hardsuit helmet sprites and add flashlight component

* Add better cell for helmets and setup all engi helmets

* Flashlights for rd and medicals

* Mining and secs helmets

* HoS and syndies

* Wiz hardsuit
This commit is contained in:
Alex Evgrashin
2021-01-10 17:29:59 +03:00
committed by GitHub
parent ee6c28aede
commit 7d78f6779f
85 changed files with 180 additions and 48 deletions

View File

@@ -29,3 +29,33 @@
- type: PressureProtection
highPressureMultiplier: 0.5
lowPressureMultiplier: 100
- type: entity
parent: ClothingHeadHardsuitBase
id: ClothingHeadHardsuitWithLightBase
name: base hardsuit helmet with light
abstract: true
components:
- type: Sprite
layers:
- state: icon
- state: icon-flash
visible: false
- type: Clothing
HeldPrefix: off
ClothingPrefix: off
- type: PointLight
enabled: false
radius: 3
- type: LoopingSound
- type: Appearance
visuals:
- type: FlashLightVisualizer
- type: ItemActions
actions:
- actionType: ToggleLight
# right now there is no power system for hardsuits
# so hardsuit helmet just have small battery inside
- type: HandheldLight
- type: PowerCellSlot
startingCellType: PowerCellSmallHigh

View File

@@ -1,5 +1,5 @@
- type: entity
parent: ClothingHeadHardsuitBase
parent: ClothingHeadHardsuitWithLightBase
id: ClothingHeadHelmetHardsuitAtmos
name: atmos hardsuit helmet
description: A special hardsuit helmet designed for working in low-pressure, high thermal environments.
@@ -32,7 +32,7 @@
sprite: Clothing/Head/Hardsuits/deathsquad.rsi
- type: entity
parent: ClothingHeadHardsuitBase
parent: ClothingHeadHardsuitWithLightBase
id: ClothingHeadHelmetHardsuitEngineering
name: engineering hardsuit helmet
description: An engineering hardsuit helmet designed for working in low-pressure, high radioactive environments.
@@ -46,7 +46,7 @@
lowPressureMultiplier: 100
- type: entity
parent: ClothingHeadHardsuitBase
parent: ClothingHeadHardsuitWithLightBase
id: ClothingHeadHelmetHardsuitEngineeringWhite
name: CE hardsuit helmet
description: Special hardsuit helmet, made for the chief engineer of the station.
@@ -71,7 +71,7 @@
lowPressureMultiplier: 100
- type: entity
parent: ClothingHeadHardsuitBase
parent: ClothingHeadHardsuitWithLightBase
id: ClothingHeadHelmetHardsuitMedical
name: medical hardsuit helmet
description: Lightweight medical hardsuit helmet that doesn't restrict your head movements.
@@ -85,9 +85,9 @@
lowPressureMultiplier: 55
- type: entity
parent: ClothingHeadHardsuitBase
parent: ClothingHeadHardsuitWithLightBase
id: ClothingHeadHelmetHardsuitRd
name: rd hardsuit helmet
name: research director's hardsuit helmet
description: Lightweight hardsuit helmet that doesn't restrict your head movements.
components:
- type: Sprite
@@ -99,7 +99,7 @@
lowPressureMultiplier: 55
- type: entity
parent: ClothingHeadHardsuitBase
parent: ClothingHeadHardsuitWithLightBase
id: ClothingHeadHelmetHardsuitSalvage
name: salvage hardsuit helmet
description: A special helmet designed for work in a hazardous, low pressure environment. Has reinforced plating for wildlife encounters and dual floodlights.
@@ -113,7 +113,7 @@
lowPressureMultiplier: 100
- type: entity
parent: ClothingHeadHardsuitBase
parent: ClothingHeadHardsuitWithLightBase
id: ClothingHeadHelmetHardsuitSecurity
name: security hardsuit helmet
description: Armored hardsuit helmet for security needs.
@@ -127,7 +127,7 @@
lowPressureMultiplier: 100
- type: entity
parent: ClothingHeadHardsuitBase
parent: ClothingHeadHardsuitWithLightBase
id: ClothingHeadHelmetHardsuitSecurityRed
name: hos hardsuit helmet
description: Red armored hardsuit helmet for security needs. Belongs to the HoS.
@@ -141,7 +141,7 @@
lowPressureMultiplier: 100
- type: entity
parent: ClothingHeadHardsuitBase
parent: ClothingHeadHardsuitWithLightBase
id: ClothingHeadHelmetHardsuitSyndie
name: blood red hardsuit helmet
description: An advanced red hardsuit helmet designed for work in special operations.
@@ -150,9 +150,11 @@
sprite: Clothing/Head/Hardsuits/syndicate.rsi
- type: Clothing
sprite: Clothing/Head/Hardsuits/syndicate.rsi
- type: PointLight
color: green
- type: entity
parent: ClothingHeadHardsuitBase
parent: ClothingHeadHardsuitWithLightBase
id: ClothingHeadHelmetHardsuitWizard
name: wizard hardsuit helmet
description: A bizarre gem-encrusted helmet that radiates magical energies.

View File

@@ -1,4 +1,4 @@
# Power cells
# Power cells
- type: entity
id: PowerCellBase

Binary file not shown.

Before

Width:  |  Height:  |  Size: 407 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 413 B

View File

@@ -16,19 +16,27 @@
"directions": 1
},
{
"name": "equipped-HELMET",
"name": "off-equipped-HELMET",
"directions": 4
},
{
"name": "flash-equipped-HELMET",
"name": "off-inhand-left",
"directions": 4
},
{
"name": "inhand-left",
"name": "off-inhand-right",
"directions": 4
},
{
"name": "inhand-right",
"name": "on-equipped-HELMET",
"directions": 4
},
{
"name": "on-inhand-left",
"directions": 4
},
{
"name": "on-inhand-right",
"directions": 4
}
]

Binary file not shown.

After

Width:  |  Height:  |  Size: 919 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 994 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -16,19 +16,27 @@
"directions": 1
},
{
"name": "equipped-HELMET",
"name": "off-equipped-HELMET",
"directions": 4
},
{
"name": "flash-equipped-HELMET",
"name": "off-inhand-left",
"directions": 4
},
{
"name": "inhand-left",
"name": "off-inhand-right",
"directions": 4
},
{
"name": "inhand-right",
"name": "on-equipped-HELMET",
"directions": 4
},
{
"name": "on-inhand-left",
"directions": 4
},
{
"name": "on-inhand-right",
"directions": 4
}
]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -16,19 +16,27 @@
"directions": 1
},
{
"name": "equipped-HELMET",
"name": "off-equipped-HELMET",
"directions": 4
},
{
"name": "flash-equipped-HELMET",
"name": "off-inhand-left",
"directions": 4
},
{
"name": "inhand-left",
"name": "off-inhand-right",
"directions": 4
},
{
"name": "inhand-right",
"name": "on-equipped-HELMET",
"directions": 4
},
{
"name": "on-inhand-left",
"directions": 4
},
{
"name": "on-inhand-right",
"directions": 4
}
]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 388 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 393 B

View File

@@ -16,19 +16,27 @@
"directions": 1
},
{
"name": "equipped-HELMET",
"name": "off-equipped-HELMET",
"directions": 4
},
{
"name": "flash-equipped-HELMET",
"name": "off-inhand-left",
"directions": 4
},
{
"name": "inhand-left",
"name": "off-inhand-right",
"directions": 4
},
{
"name": "inhand-right",
"name": "on-equipped-HELMET",
"directions": 4
},
{
"name": "on-inhand-left",
"directions": 4
},
{
"name": "on-inhand-right",
"directions": 4
}
]

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 870 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 995 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

View File

@@ -16,11 +16,27 @@
"directions": 1
},
{
"name": "equipped-HELMET",
"name": "off-equipped-HELMET",
"directions": 4
},
{
"name": "flash-equipped-HELMET",
"name": "off-inhand-left",
"directions": 4
},
{
"name": "off-inhand-right",
"directions": 4
},
{
"name": "on-equipped-HELMET",
"directions": 4
},
{
"name": "on-inhand-left",
"directions": 4
},
{
"name": "on-inhand-right",
"directions": 4
}
]

Binary file not shown.

After

Width:  |  Height:  |  Size: 834 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 890 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 413 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 419 B

View File

@@ -16,19 +16,27 @@
"directions": 1
},
{
"name": "equipped-HELMET",
"name": "off-equipped-HELMET",
"directions": 4
},
{
"name": "flash-equipped-HELMET",
"name": "off-inhand-left",
"directions": 4
},
{
"name": "inhand-left",
"name": "off-inhand-right",
"directions": 4
},
{
"name": "inhand-right",
"name": "on-equipped-HELMET",
"directions": 4
},
{
"name": "on-inhand-left",
"directions": 4
},
{
"name": "on-inhand-right",
"directions": 4
}
]

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 983 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 392 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 407 B

View File

@@ -16,19 +16,27 @@
"directions": 1
},
{
"name": "equipped-HELMET",
"name": "off-equipped-HELMET",
"directions": 4
},
{
"name": "flash-equipped-HELMET",
"name": "off-inhand-left",
"directions": 4
},
{
"name": "inhand-left",
"name": "off-inhand-right",
"directions": 4
},
{
"name": "inhand-right",
"name": "on-equipped-HELMET",
"directions": 4
},
{
"name": "on-inhand-left",
"directions": 4
},
{
"name": "on-inhand-right",
"directions": 4
}
]

Binary file not shown.

After

Width:  |  Height:  |  Size: 916 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 945 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -16,11 +16,27 @@
"directions": 1
},
{
"name": "equipped-HELMET",
"name": "off-equipped-HELMET",
"directions": 4
},
{
"name": "flash-equipped-HELMET",
"name": "off-inhand-left",
"directions": 4
},
{
"name": "off-inhand-right",
"directions": 4
},
{
"name": "on-equipped-HELMET",
"directions": 4
},
{
"name": "on-inhand-left",
"directions": 4
},
{
"name": "on-inhand-right",
"directions": 4
}
]

Binary file not shown.

After

Width:  |  Height:  |  Size: 746 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 792 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 903 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 953 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 826 B

View File

@@ -12,19 +12,31 @@
"directions": 1
},
{
"name": "equipped-HELMET",
"name": "icon-flash",
"directions": 1
},
{
"name": "off-equipped-HELMET",
"directions": 4
},
{
"name": "combat-equipped-HELMET",
"name": "off-inhand-left",
"directions": 4
},
{
"name": "inhand-left",
"name": "off-inhand-right",
"directions": 4
},
{
"name": "inhand-right",
"name": "on-equipped-HELMET",
"directions": 4
},
{
"name": "on-inhand-left",
"directions": 4
},
{
"name": "on-inhand-right",
"directions": 4
}
]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 439 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 439 B

View File

@@ -16,19 +16,27 @@
"directions": 1
},
{
"name": "equipped-HELMET",
"name": "off-equipped-HELMET",
"directions": 4
},
{
"name": "flash-equipped-HELMET",
"name": "off-inhand-left",
"directions": 4
},
{
"name": "inhand-left",
"name": "off-inhand-right",
"directions": 4
},
{
"name": "inhand-right",
"name": "on-equipped-HELMET",
"directions": 4
},
{
"name": "on-inhand-left",
"directions": 4
},
{
"name": "on-inhand-right",
"directions": 4
}
]

Binary file not shown.

After

Width:  |  Height:  |  Size: 917 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1003 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB