forked from space-wizards/space-station-14
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Crowbar variants (space-wizards#28988)
* add * comma * sprites * yaml-ify * add s * lathe and engi belt * yes * fix maybe * progress * nearly there * fix * fix yaml linter having a stroke
- Loading branch information
Showing
21 changed files
with
222 additions
and
75 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
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
195 changes: 195 additions & 0 deletions
195
Resources/Prototypes/Entities/Objects/Tools/crowbars.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,195 @@ | ||
- type: entity | ||
name: crowbar | ||
parent: BaseItem | ||
id: BaseCrowbar | ||
abstract: true | ||
components: | ||
- type: EmitSoundOnLand | ||
sound: | ||
path: /Audio/Items/crowbar_drop.ogg | ||
- type: Tag | ||
tags: | ||
- Crowbar | ||
- type: MeleeWeapon | ||
wideAnimationRotation: -135 | ||
damage: | ||
types: | ||
Blunt: 8 | ||
soundHit: | ||
collection: MetalThud | ||
- type: Tool | ||
qualities: | ||
- Prying | ||
useSound: | ||
path: /Audio/Items/crowbar.ogg | ||
- type: ToolTileCompatible | ||
- type: PhysicalComposition | ||
materialComposition: | ||
Steel: 100 | ||
- type: StaticPrice | ||
price: 22 | ||
- type: Prying | ||
- type: Clothing | ||
quickEquip: false | ||
slots: | ||
- Belt | ||
- type: Item | ||
size: Normal | ||
shape: | ||
- 0,0,0,1 | ||
|
||
# Standard (grey) Crowbar | ||
- type: entity | ||
parent: BaseCrowbar | ||
id: Crowbar | ||
description: A multipurpose tool to pry open doors and fight interdimensional invaders. | ||
components: | ||
- type: Sprite | ||
sprite: Objects/Tools/crowbar.rsi | ||
state: icon | ||
- type: Item | ||
sprite: Objects/Tools/crowbar.rsi | ||
storedSprite: | ||
sprite: Objects/Tools/crowbar.rsi | ||
state: storage | ||
|
||
# Emergency (red) Crowbar | ||
- type: entity | ||
name: emergency crowbar | ||
parent: BaseCrowbar | ||
id: CrowbarRed | ||
description: A pocket crowbar designed to pry open doors and firelocks during power outages. | ||
components: | ||
- type: Tag | ||
tags: | ||
- Crowbar | ||
- CrowbarRed | ||
- type: Sprite | ||
sprite: Objects/Tools/crowbar.rsi | ||
layers: | ||
- state: icon | ||
- state: cover-icon | ||
color: "#990000" | ||
- type: Item | ||
sprite: Objects/Tools/crowbar.rsi | ||
storedSprite: | ||
state: red-storage | ||
sprite: Objects/Tools/crowbar.rsi | ||
inhandVisuals: | ||
left: | ||
- state: inhand-left | ||
- state: cover-inhand-left | ||
color: "#990000" | ||
right: | ||
- state: inhand-right | ||
- state: cover-inhand-right | ||
color: "#990000" | ||
- type: Clothing | ||
sprite: Objects/Tools/crowbar.rsi | ||
clothingVisuals: | ||
belt: | ||
- state: equipped-BELT | ||
- state: cover-equipped-BELT | ||
color: "#990000" | ||
|
||
# Autolathe (green) Crowbar | ||
- type: entity | ||
parent: BaseCrowbar | ||
id: CrowbarGreen | ||
description: A multipurpose tool to pry open doors and fight interdimensional invaders, printed from an autolathe. | ||
components: | ||
- type: Sprite | ||
sprite: Objects/Tools/crowbar.rsi | ||
layers: | ||
- state: icon | ||
- state: cover-icon | ||
color: "#00621c" | ||
- type: Item | ||
sprite: Objects/Tools/crowbar.rsi | ||
storedSprite: | ||
state: green-storage | ||
sprite: Objects/Tools/crowbar.rsi | ||
inhandVisuals: | ||
left: | ||
- state: inhand-left | ||
- state: cover-inhand-left | ||
color: "#00621c" | ||
right: | ||
- state: inhand-right | ||
- state: cover-inhand-right | ||
color: "#00621c" | ||
- type: Clothing | ||
sprite: Objects/Tools/crowbar.rsi | ||
clothingVisuals: | ||
belt: | ||
- state: equipped-BELT | ||
- state: cover-equipped-BELT | ||
color: "#00621c" | ||
|
||
# Toolbox (orange) Crowbar | ||
- type: entity | ||
parent: BaseCrowbar | ||
id: CrowbarOrange | ||
description: A multipurpose tool to pry open doors and fight interdimensional invaders, found in toolboxes. | ||
components: | ||
- type: Sprite | ||
sprite: Objects/Tools/crowbar.rsi | ||
layers: | ||
- state: icon | ||
- state: cover-icon | ||
color: "#673800" | ||
- type: Item | ||
sprite: Objects/Tools/crowbar.rsi | ||
storedSprite: | ||
state: orange-storage | ||
sprite: Objects/Tools/crowbar.rsi | ||
inhandVisuals: | ||
left: | ||
- state: inhand-left | ||
- state: cover-inhand-left | ||
color: "#673800" | ||
right: | ||
- state: inhand-right | ||
- state: cover-inhand-right | ||
color: "#673800" | ||
- type: Clothing | ||
sprite: Objects/Tools/crowbar.rsi | ||
clothingVisuals: | ||
belt: | ||
- state: equipped-BELT | ||
- state: cover-equipped-BELT | ||
color: "#673800" | ||
|
||
# Engineering (yellow) Crowbar | ||
- type: entity | ||
parent: BaseCrowbar | ||
id: CrowbarYellow | ||
description: A pocket crowbar designed to pry open doors and firelocks during power outages, dispensed from Engineering. | ||
components: | ||
- type: Sprite | ||
sprite: Objects/Tools/crowbar.rsi | ||
layers: | ||
- state: icon | ||
- state: cover-icon | ||
color: "#968000" | ||
- type: Item | ||
sprite: Objects/Tools/crowbar.rsi | ||
storedSprite: | ||
state: yellow-storage | ||
sprite: Objects/Tools/crowbar.rsi | ||
inhandVisuals: | ||
left: | ||
- state: inhand-left | ||
- state: cover-inhand-left | ||
color: "#968000" | ||
right: | ||
- state: inhand-right | ||
- state: cover-inhand-right | ||
color: "#968000" | ||
- type: Clothing | ||
sprite: Objects/Tools/crowbar.rsi | ||
clothingVisuals: | ||
belt: | ||
- state: equipped-BELT | ||
- state: cover-equipped-BELT | ||
color: "#968000" |
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
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.
Binary file modified
BIN
+1.04 KB
(810%)
Resources/Textures/Objects/Tools/crowbar.rsi/equipped-BELT.png
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.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-150 Bytes
Resources/Textures/Objects/Tools/crowbar.rsi/red-equipped-BELT.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-329 Bytes
Resources/Textures/Objects/Tools/crowbar.rsi/red-inhand-right.png
Binary file not shown.
Binary file modified
BIN
+915 Bytes
(350%)
Resources/Textures/Objects/Tools/crowbar.rsi/red-storage.png
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.