metal foam grenades (#29428)

* metal foam grenades

* wow okay

* meh

* bruh

* test

* push
This commit is contained in:
Nemanja
2024-07-07 10:26:58 -04:00
committed by GitHub
parent ff93070d25
commit 21d0f85cc2
19 changed files with 219 additions and 14 deletions

View File

@@ -28,6 +28,16 @@
category: cargoproduct-category-name-engineering
group: market
- type: cargoProduct
id: EngineeringFoamGrenade
icon:
sprite: Objects/Weapons/Grenades/metalfoam.rsi
state: icon
product: CrateEngineeringFoamGrenade
cost: 2500
category: cargoproduct-category-name-engineering
group: market
- type: cargoProduct
id: EngineeringCableBulk
icon:

View File

@@ -76,6 +76,17 @@
- id: CableHVStack
amount: 3
- type: entity
id: CrateEngineeringFoamGrenade
parent: CrateEngineeringSecure
name: sealant grenade crate
description: 5 metal foam sealant grenades.
components:
- type: StorageFill
contents:
- id: MetalFoamGrenade
amount: 5
- type: entity
id: CrateEngineeringCableBulk
parent: CrateElectrical

View File

@@ -101,6 +101,8 @@
state: m_foam-north
- map: [ "enum.EdgeLayer.West" ]
state: m_foam-west
- type: EdgeSpreader
id: MetalFoam
- type: FoamVisuals
animationTime: 0.6
animationState: m_foam-dissolve
@@ -135,7 +137,7 @@
- type: RCDDeconstructable
cost: 2
delay: 2
fx: EffectRCDDeconstruct2
fx: EffectRCDDeconstruct2
- type: Clickable
- type: InteractionOutline
- type: Sprite
@@ -159,6 +161,13 @@
- type: Transform
anchored: true
- type: Airtight
- type: ReplaceFloorOnSpawn
replaceableTiles:
- Plating
- Lattice
- TrainLattice
replacementTiles:
- FloorMetalFoam
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Metallic

View File

@@ -422,6 +422,21 @@
- ReagentId: TearGas
Quantity: 50
- type: entity
parent: SmokeGrenade
id: MetalFoamGrenade
name: metal foam grenade
description: An emergency tool used for patching up holes. Almost as good as real walls.
components:
- type: Sprite
sprite: Objects/Weapons/Grenades/metalfoam.rsi
- type: SmokeOnTrigger
duration: 10
spreadAmount: 13
smokePrototype: AluminiumMetalFoam
- type: StaticPrice
price: 350
# Non-explosive "dummy" grenades to use as a distraction.
- type: entity

View File

@@ -201,7 +201,7 @@
collection: FootstepHull
itemDrop: FloorTileItemBrassFilled
heatCapacity: 10000
- type: tile
id: FloorBrassReebe
name: tiles-brass-floor-reebe
@@ -1391,6 +1391,21 @@
itemDrop: SheetRGlass1
heatCapacity: 10000
- type: tile
id: FloorMetalFoam
name: tiles-metal-foam
sprite: /Textures/Tiles/foammetal.png
variants: 1
placementVariants:
- 1.0
baseTurf: Plating
isSubfloor: false
deconstructTools: [ Prying ]
footstepSounds:
collection: FootstepHull
itemDrop: SheetSteel1
heatCapacity: 10000
# Circuits
- type: tile
id: FloorGreenCircuit

View File

@@ -9,3 +9,8 @@
- type: edgeSpreader
id: Smoke
updatesPerSecond: 8
- type: edgeSpreader
id: MetalFoam
updatesPerSecond: 16
preventSpreadOnSpaced: false