-
Notifications
You must be signed in to change notification settings - Fork 81
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 #371 from VividPups/Oni-Brassnuckles
Nonlethal Weapon for an ONI
- Loading branch information
Showing
15 changed files
with
220 additions
and
1 deletion.
There are no files selected for viewing
83 changes: 83 additions & 0 deletions
83
Resources/Prototypes/Floof/Entities/Objects/Weapons/Melee.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,83 @@ | ||
- type: entity | ||
name: brass knuckles | ||
parent: ClothingHandsBase | ||
id: WeaponBrassKnuckles | ||
description: Ever wanted to protect your bar but your hands are too big for guns? S.E.S.W.C has what you need! | ||
components: | ||
- type: Sprite | ||
sprite: Floof/Objects/Weapons/Melee/brassknuckles.rsi | ||
state: icon | ||
- type: Clothing | ||
sprite: Floof/Objects/Weapons/Melee/brassknuckles.rsi | ||
- type: MeleeWeapon | ||
autoAttack: true | ||
attackRate: 2 # ~12 dps | ||
damage: | ||
types: | ||
Blunt: 6 | ||
soundHit: | ||
collection: Punch | ||
animation: WeaponArcFist | ||
mustBeEquippedToUse: true | ||
- type: StaminaDamageOnHit | ||
damage: 11 | ||
- type: Armor | ||
modifiers: | ||
coefficients: | ||
Shock: 1.05 # oh no so conductive | ||
- type: Insulated | ||
coefficient: 1.5 # Extra damage. Don't punch wires, kids. | ||
- type: Tag | ||
tags: | ||
- WhitelistChameleon | ||
- BrassKnuckles | ||
- type: PhysicalComposition | ||
materialComposition: | ||
Brass: 1000 | ||
- type: StaticPrice | ||
price: 300 # Ensures these can be sold and have a reasonable vending value. | ||
|
||
- type: entity | ||
name: improvised brass knuckles | ||
parent: WeaponBrassKnuckles | ||
id: WeaponBrassKnucklesImprovised | ||
description: Ever wanted to punch just a little harder? | ||
components: | ||
- type: MeleeWeapon | ||
attackRate: 1.6 # ~9.6 dps | ||
- type: Construction | ||
graph: GraphWeaponBrassKnucklesImprovised | ||
node: WeaponBrassKnucklesImprovised | ||
|
||
- type: entity | ||
name: crass knuckles | ||
parent: WeaponBrassKnuckles | ||
id: WeaponBrassKnucklesWhoopie | ||
description: Questionably silent, questionably deadly. | ||
components: | ||
- type: Sprite | ||
sprite: Floof/Objects/Weapons/Melee/crassknuckles.rsi | ||
state: icon | ||
- type: Clothing | ||
sprite: Floof/Objects/Weapons/Melee/crassknuckles.rsi | ||
- type: MeleeWeapon | ||
damage: | ||
types: | ||
Blunt: 0 # ~0 dps :^) | ||
Structural: 0 | ||
soundHit: | ||
collection: Parp | ||
- type: Construction | ||
graph: GraphWeaponBrassKnucklesWhoopie | ||
node: WeaponBrassKnucklesWhoopie | ||
- type: StaminaDamageOnHit | ||
damage: 4 # 8 per second, similar to the toy hammer | ||
- type: Armor | ||
modifiers: | ||
coefficients: | ||
Shock: 1.0 # Nothing special. | ||
- type: Insulated | ||
coefficient: 1 # Nothing special. | ||
- type: Tag | ||
tags: | ||
- WhitelistChameleon |
36 changes: 36 additions & 0 deletions
36
Resources/Prototypes/Floof/Recipes/Crafting/Graphs/brassknuckles_graph.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,36 @@ | ||
- type: constructionGraph | ||
id: GraphWeaponBrassKnucklesImprovised | ||
start: start | ||
graph: | ||
- node: start | ||
edges: | ||
- to: WeaponBrassKnucklesImprovised | ||
steps: | ||
- material: Brass | ||
amount: 10 | ||
doAfter: 4 | ||
- node: WeaponBrassKnucklesImprovised | ||
entity: WeaponBrassKnucklesImprovised | ||
|
||
- type: constructionGraph | ||
id: GraphWeaponBrassKnucklesWhoopie | ||
start: start | ||
graph: | ||
- node: start | ||
edges: | ||
- to: WeaponBrassKnucklesWhoopie | ||
steps: | ||
- tag: BrassKnuckles | ||
icon: | ||
sprite: Floof/Objects/Weapons/Melee/brassknuckles.rsi | ||
state: icon | ||
name: brass knuckles | ||
doAfter: 2 | ||
- tag: WhoopieCushion | ||
icon: | ||
sprite: Objects/Fun/whoopie.rsi | ||
state: icon | ||
name: whoopie cushion | ||
doAfter: 2 | ||
- node: WeaponBrassKnucklesWhoopie | ||
entity: WeaponBrassKnucklesWhoopie |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1363,3 +1363,8 @@ | |
|
||
- type: Tag | ||
id: WriteIgnoreStamps | ||
|
||
#Floof tags | ||
|
||
- type: Tag | ||
id: BrassKnuckles |
Binary file added
BIN
+218 Bytes
Resources/Textures/Floof/Objects/Weapons/Melee/brassknuckles.rsi/equipped-HAND.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
+223 Bytes
Resources/Textures/Floof/Objects/Weapons/Melee/brassknuckles.rsi/icon.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
+193 Bytes
Resources/Textures/Floof/Objects/Weapons/Melee/brassknuckles.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
+203 Bytes
Resources/Textures/Floof/Objects/Weapons/Melee/brassknuckles.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.
26 changes: 26 additions & 0 deletions
26
Resources/Textures/Floof/Objects/Weapons/Melee/brassknuckles.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,26 @@ | ||
{ | ||
"version": 1, | ||
"license": "CC-BY-SA-3.0", | ||
"copyright": "icon by Whatstone, inhand-left, inhand-right by VividPups, equipped-HAND by VividPups and modified by Whatstone", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "icon" | ||
}, | ||
{ | ||
"name": "equipped-HAND", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "inhand-left", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "inhand-right", | ||
"directions": 4 | ||
} | ||
] | ||
} |
Binary file added
BIN
+192 Bytes
Resources/Textures/Floof/Objects/Weapons/Melee/crassknuckles.rsi/equipped-HAND.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
+223 Bytes
Resources/Textures/Floof/Objects/Weapons/Melee/crassknuckles.rsi/icon.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
+162 Bytes
Resources/Textures/Floof/Objects/Weapons/Melee/crassknuckles.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
+176 Bytes
Resources/Textures/Floof/Objects/Weapons/Melee/crassknuckles.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.
26 changes: 26 additions & 0 deletions
26
Resources/Textures/Floof/Objects/Weapons/Melee/crassknuckles.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,26 @@ | ||
{ | ||
"version": 1, | ||
"license": "CC-BY-SA-3.0", | ||
"copyright": "icon by Whatstone, inhand-left, inhand-right, equipped-HAND by VividPups, modified by Whatstone", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "icon" | ||
}, | ||
{ | ||
"name": "equipped-HAND", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "inhand-left", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "inhand-right", | ||
"directions": 4 | ||
} | ||
] | ||
} |