space cleaner and fuel dispensers (#21610)

* cleaner and oil wall dispensers

* fuel

* meta jason

* yaml

* fixed error

* suggest

Co-authored-by: Emisse <99158783+Emisse@users.noreply.github.com>

* fuck webedit

---------

Co-authored-by: Emisse <99158783+Emisse@users.noreply.github.com>
This commit is contained in:
Tunguso4ka
2023-11-14 01:00:51 +02:00
committed by GitHub
parent 7e81c8ade7
commit aeceea0ff3
6 changed files with 88 additions and 1 deletions

View File

@@ -178,3 +178,4 @@
fillBaseName: watertank-2-
- type: ExaminableSolution
solution: tank

View File

@@ -0,0 +1,77 @@
- type: entity
id: CleanerDispenser
name: space cleaner dispenser
description: Wallmount reagent dispenser.
components:
- type: WallMount
arc: 180
- type: Sprite
sprite: Structures/Storage/tanks.rsi
state: cleanerdispenser
- type: Appearance
- type: InteractionOutline
- type: Clickable
- type: Transform
anchored: true
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Metallic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 50
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTypeTrigger
damageType: Heat
damage: 5
behaviors:
- !type:SolutionExplosionBehavior
solution: tank
- trigger:
!type:DamageTypeTrigger
damageType: Piercing
damage: 5
behaviors:
- !type:SolutionExplosionBehavior
solution: tank
- trigger:
!type:DamageTrigger
damage: 10
behaviors:
- !type:SpillBehavior
solution: tank
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/metalbreak.ogg
- !type:DoActsBehavior
acts: ["Destruction"]
- type: SolutionContainerManager
solutions:
tank:
reagents:
- ReagentId: SpaceCleaner
Quantity: 5000
- type: DrainableSolution
solution: tank
- type: ReagentTank
- type: ExaminableSolution
solution: tank
- type: entity
parent: CleanerDispenser
id: FuelDispenser
name: fuel dispenser
components:
- type: Sprite
sprite: Structures/Storage/tanks.rsi
state: fueldispenser
- type: SolutionContainerManager
solutions:
tank:
reagents:
- ReagentId: WeldingFuel
Quantity: 1000

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/8442af39ee82b813194f71db82edd2923d97818d, watercooler Taken from paradise at https://github.com/ParadiseSS13/Paradise/commit/ae2258d9235752ac6d80ec11e36553fe3b6ae59e",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/8442af39ee82b813194f71db82edd2923d97818d, watercooler Taken from paradise at https://github.com/ParadiseSS13/Paradise/commit/ae2258d9235752ac6d80ec11e36553fe3b6ae59e, dispensers taken from paradise at https://github.com/ParadiseSS13/Paradise/commit/846ce475b2258a4336d8895f07f2c0f4053963bc",
"size": {
"x": 32,
"y": 32
@@ -117,6 +117,15 @@
},
{
"name": "generictank-1"
},
{
"name": "cleanerdispenser"
},
{
"name": "fueldispenser"
},
{
"name": "pepperdispenser"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB