Skip to content
Open
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
82 changes: 82 additions & 0 deletions Resources/Prototypes/Entities/Objects/Misc/fire_extinguisher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,85 @@
reagents:
- ReagentId: Water
Quantity: 1

#DS14-Start
- type: entity
name: продвинутый огнетушитель
parent: BaseItem
id: FireExtinguisherPRO
description: Тушит огонь без необходимости в перезарядке.
components:
- type: Sprite
sprite: _DeadSpace/Objects/Misc/fire_extinguisherPRO.rsi
layers:
- state: fire_extinguisher_closed
map: [ "enum.ToggleableVisuals.Layer" ]
- type: Item
sprite: _DeadSpace/Objects/Misc/fire_extinguisherPRO.rsi
size: Normal
- type: SolutionContainerManager
solutions:
spray:
maxVol: 100
reagents:
- ReagentId: Water
Quantity: 100
- type: RefillableSolution
solution: spray
- type: DrainableSolution
solution: spray
- type: SolutionTransfer
maxTransferAmount: 100
transferAmount: 100
- type: UseDelay
- type: Spray
transferAmount: 10
pushbackAmount: 60
spraySound:
path: /Audio/Effects/extinguish.ogg
sprayedPrototype: ExtinguisherSpray
vaporAmount: 3
vaporSpread: 90
sprayVelocity: 2.0
- type: ItemToggle
soundActivate:
path: /Audio/Machines/button.ogg
params:
variation: 0.125
volume: -4
soundDeactivate:
path: /Audio/Machines/button.ogg
params:
variation: 0.125
volume: -4
verbToggleOn: fire-extinguisher-component-verb-remove
verbToggleOff: fire-extinguisher-component-verb-engage
- type: SpraySafety
- type: MeleeWeapon
wideAnimationRotation: 180
damage:
types:
Blunt: 10
soundHit:
path: /Audio/Weapons/smash.ogg
- type: Tool
qualities:
- Rolling
speedModifier: 0.5
- type: Appearance
- type: Tag
tags:
- FireExtinguisherPRO
- type: GenericVisualizer
visuals:
enum.ToggleableVisuals.Enabled:
enum.ToggleableVisuals.Layer:
True: { state: fire_extinguisher_open }
False: { state: fire_extinguisher_closed }
- type: SolutionRegeneration
solution: spray
generated:
reagents:
- ReagentId: Water
Quantity: 5
#DS14-End
1 change: 1 addition & 0 deletions Resources/Prototypes/Recipes/Lathes/Packs/service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
- ClothingBackpackWaterTank
- MegaSprayBottle
- BagOfSummoningGarbage # DS14
- FireExtinguisherPRO #DS14

- type: latheRecipePack
id: Instruments
Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/Research/civilianservices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@
recipeUnlocks:
- WeaponSprayNozzle
- ClothingBackpackWaterTank
- FireExtinguisherPRO #DS14

- type: technology
id: BluespaceCargoTransport
Expand Down
8 changes: 8 additions & 0 deletions Resources/Prototypes/_DeadSpace/Recipes/Lathes/mics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,11 @@
Steel: 1500
Plastic: 1500
Gold: 2500

- type: latheRecipe
id: FireExtinguisherPRO
result: FireExtinguisherPRO
completetime: 2
materials:
Steel: 1000
Gold: 1500
3 changes: 3 additions & 0 deletions Resources/Prototypes/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,9 @@
- type: Tag
id: Fruit # SpecialDigestible: OrganReptilianStomach. CargoBounty: BountyFruit

- type: Tag
id: FireExtinguisherPRO

## G ##

- type: Tag
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from https://github.com/tgstation/tgstation at commit 9bebd81ae0b0a7f952b59886a765c681205de31f, edited for pro version by IvanKuvalda(github)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "fire_extinguisher_open"
},
{
"name": "fire_extinguisher_closed"
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
}
]
}
Loading