-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from Xelasto/master
Миниатюрный огнетушитель
- Loading branch information
Showing
11 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
Resources/Locale/ru-RU/ADT/Objects/Misc/mini_fire_extinguisher.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ent-MiniFireExtinguisher = миниатюрный огнетушитель | ||
.desc = Идентичен обычному огнетушителю, но имеет меньшие размеры и меньшую емкость. |
57 changes: 57 additions & 0 deletions
57
Resources/Prototypes/ADT/Entities/Objects/Misc/mini_fire_extinguisher.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
- type: entity | ||
name: Miniature Fire Extinguisher | ||
parent: BaseItem | ||
id: MiniFireExtinguisher | ||
description: It extinguishes fires. | ||
components: | ||
- type: Sprite | ||
sprite: ADT/Objects/Misc/minifire_extinguisher.rsi | ||
scale: 0.8, 0.8 | ||
layers: | ||
- state: fire_extinguisher_closed | ||
map: [ "enabled" ] | ||
- type: Item | ||
sprite: ADT/Objects/Misc/minifire_extinguisher.rsi | ||
size: 5 | ||
- type: SolutionContainerManager | ||
solutions: | ||
spray: | ||
maxVol: 50 | ||
reagents: | ||
- ReagentId: Water | ||
Quantity: 50 | ||
- type: RefillableSolution | ||
solution: spray | ||
- type: DrainableSolution | ||
solution: spray | ||
- type: SolutionTransfer | ||
- type: ItemCooldown | ||
- type: Spray | ||
transferAmount: 10 | ||
pushbackAmount: 60 | ||
spraySound: | ||
path: /Audio/Effects/extinguish.ogg | ||
sprayedPrototype: ExtinguisherSpray | ||
vaporAmount: 3 | ||
vaporSpread: 90 | ||
sprayVelocity: 2.0 | ||
- type: FireExtinguisher | ||
hasSafety: true | ||
- type: MeleeWeapon | ||
damage: | ||
types: | ||
Blunt: 2 | ||
soundHit: | ||
path: /Audio/Weapons/smash.ogg | ||
- type: Appearance | ||
- type: GenericVisualizer | ||
visuals: | ||
enum.FireExtinguisherVisuals.Safety: | ||
enabled: | ||
True: { state: fire_extinguisher_closed } | ||
False: { state: fire_extinguisher_open } | ||
- type: Tag | ||
tags: | ||
- MiniFireExtinguisher | ||
- type: Tag | ||
id: MiniFireExtinguisher |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+4.67 KB
...extures/ADT/Objects/Misc/minifire_extinguisher.rsi/fire_extinguisher_closed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.69 KB
.../Textures/ADT/Objects/Misc/minifire_extinguisher.rsi/fire_extinguisher_open.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.35 KB
Resources/Textures/ADT/Objects/Misc/minifire_extinguisher.rsi/inhand-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.34 KB
Resources/Textures/ADT/Objects/Misc/minifire_extinguisher.rsi/inhand-right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions
25
Resources/Textures/ADT/Objects/Misc/minifire_extinguisher.rsi/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"version": 1, | ||
"license": "", | ||
"copyright": "", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "fire_extinguisher_open" | ||
}, | ||
{ | ||
"name": "fire_extinguisher_closed" | ||
}, | ||
{ | ||
"name": "inhand-right", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "inhand-left", | ||
"directions": 4 | ||
} | ||
] | ||
} |