Transparent tear gas (#36440)

* tweaked tear gas

* changed color of tear gas

* sped up metabolism rate of tear gas

* sped up tear gas passing more

* reduced tear gas content in grenades

* added threshold for better effect end timing

* removed clickable component from foams

* Suggestion changes

* Hide in spawn menu

---------

Co-authored-by: SlamBamActionman <slambamactionman@gmail.com>
This commit is contained in:
Nikovnik 2025-06-13 15:53:44 +02:00 committed by Quanteey
parent 45837e455d
commit b3333d9aae
5 changed files with 75 additions and 8 deletions

View File

@ -9,7 +9,6 @@
- type: SmokeVisuals
- type: Transform
anchored: true
- type: Clickable
- type: Physics
- type: Fixtures
fixtures:
@ -48,6 +47,29 @@
tags:
- HideContextMenu
- type: entity
parent: BaseFoam
id: TearGasSmoke
name: tear gas
categories: [ HideSpawnMenu ]
components:
- type: Sprite
sprite: Effects/chemsmoke.rsi
state: chemsmoke
- type: TimedDespawn
lifetime: 10
- type: Tag
tags:
- HideContextMenu
- type: entity
parent: TearGasSmoke
id: TearGasSmokeWhite
categories: [ HideSpawnMenu ]
components:
- type: Sprite
state: chemsmoke_white
- type: entity
parent: Smoke
id: WizardSmoke

View File

@ -454,10 +454,11 @@
- type: SmokeOnTrigger
duration: 10
spreadAmount: 30
smokePrototype: TearGasSmokeWhite
solution:
reagents:
- ReagentId: TearGas
Quantity: 50
Quantity: 20
- type: entity
parent: [ BaseEngineeringContraband, SmokeGrenade ]

View File

@ -421,7 +421,7 @@
desc: reagent-desc-tear-gas
physicalDesc: reagent-physical-desc-milky
flavor: salty
color: "#96a8b5"
color: "#ffffff4d"
boilingPoint: 255.0
meltingPoint: 36.0
metabolisms:
@ -447,18 +447,28 @@
- norepinephricacid-effect-eye-pain
- norepinephricacid-effect-darkness
- norepinephricacid-effect-blindness
conditions:
- !type:ReagentThreshold
min: 15
- !type:Emote
emote: Scream
probability: 0.08
conditions:
- !type:ReagentThreshold
min: 4
- !type:Emote
emote: Cough
probability: 0.08
- !type:GenericStatusEffect
key: TemporaryBlindness
component: TemporaryBlindness
conditions:
- !type:ReagentThreshold
min: 20
min: 4
- !type:MovespeedModifier
walkSpeedModifier: 0.65
sprintSpeedModifier: 0.65
statusLifetime: 1.5
conditions: # because of the remainding after effect, threshold is given so the effects ends simultaniously
- !type:ReagentThreshold
min: 4
- type: reagent
id: Happiness

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

View File

@ -1 +1,35 @@
{"version": 1, "size": {"x": 96, "y": 96}, "license": "CC-BY-SA-3.0", "copyright": "Taken from https://github.com/discordia-space/CEV-Eris/blob/81b3a082ccdfb425f36bbed6e5bc1f0faed346ec/icons/effects/chemsmoke.dmi", "states": [{"name": "chemsmoke", "directions": 4, "delays": [[0.2, 0.2, 0.2], [0.2, 0.2, 0.2], [0.2, 0.2, 0.2], [0.2, 0.2, 0.2]]}]}
{
"version": 1,
"size":
{
"x": 96,
"y": 96
},
"license": "CC-BY-SA-3.0",
"copyright": "Taken from https://github.com/discordia-space/CEV-Eris/blob/81b3a082ccdfb425f36bbed6e5bc1f0faed346ec/icons/effects/chemsmoke.dmi",
"states":
[
{
"name": "chemsmoke",
"directions": 4,
"delays":
[
[0.2, 0.2, 0.2],
[0.2, 0.2, 0.2],
[0.2, 0.2, 0.2],
[0.2, 0.2, 0.2]
]
},
{
"name": "chemsmoke_white",
"directions": 4,
"delays":
[
[0.2, 0.2, 0.2],
[0.2, 0.2, 0.2],
[0.2, 0.2, 0.2],
[0.2, 0.2, 0.2]
]
}
]
}