Skip to content

Commit

Permalink
the bladed flatcap (space-wizards#25780)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuietlyWhisper committed Mar 5, 2024
1 parent bad1174 commit 4d0ec65
Show file tree
Hide file tree
Showing 5 changed files with 115 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Resources/Prototypes/Entities/Clothing/Head/hats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,9 @@
name: grey flatcap
description: Fashionable for both the working class and old man Jenkins.
components:
- type: Tag
tags:
- BrimFlatcapGrey
- type: Sprite
sprite: Clothing/Head/Hats/greyflatcap.rsi
- type: Clothing
Expand All @@ -938,6 +941,9 @@
name: brown flatcap
description: Stupid clown! You made me look bad!
components:
- type: Tag
tags:
- BrimFlatcapBrown
- type: Sprite
sprite: Clothing/Head/Hats/brownflatcap.rsi
- type: Clothing
Expand Down
38 changes: 38 additions & 0 deletions Resources/Prototypes/Entities/Objects/Weapons/Melee/knife.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,44 @@
- type: Item
sprite: Objects/Weapons/Melee/kukri_knife.rsi

- type: entity
parent: ClothingHeadHatGreyFlatcap
id: BladedFlatcapGrey
name: grey flatcap
description: Fashionable for both the working class and old man Jenkins. It has glass shards hidden in the brim.
suffix: Bladed
components:
- type: Construction
graph: BladedFlatcapGrey
node: icon
- type: MeleeWeapon
wideAnimationRotation: 90
attackRate: 1.2
damage:
types:
Slash: 5
- type: DamageOtherOnHit
damage:
types:
Slash: 10
- type: Sprite
sprite: Clothing/Head/Hats/greyflatcap.rsi
- type: Clothing
sprite: Clothing/Head/Hats/greyflatcap.rsi

- type: entity
parent: BladedFlatcapGrey
id: BladedFlatcapBrown
name: brown flatcap
description: Stupid clown! You made me look bad! It has glass shards hidden in the brim.
components:
- type: Construction
graph: BladedFlatcapBrown
- type: Sprite
sprite: Clothing/Head/Hats/brownflatcap.rsi
- type: Clothing
sprite: Clothing/Head/Hats/brownflatcap.rsi

- type: entity
name: shiv
parent: BaseKnife
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
- type: constructionGraph
id: BladedFlatcapGrey
start: start
graph:
- node: start
edges:
- to: icon
steps:
- tag: GlassShard
name: a glass shard
icon:
sprite: Objects/Materials/Shards/shard.rsi
state: shard1
doAfter: 1
- tag: BrimFlatcapGrey
name: a grey flatcap
icon:
sprite: Clothing/Head/Hats/greyflatcap.rsi
state: icon
- node: icon
entity: BladedFlatcapGrey

- type: constructionGraph
id: BladedFlatcapBrown
start: start
graph:
- node: start
edges:
- to: icon
steps:
- tag: GlassShard
name: a glass shard
icon:
sprite: Objects/Materials/Shards/shard.rsi
state: shard1
doAfter: 1
- tag: BrimFlatcapBrown
name: a brown flatcap
icon:
sprite: Clothing/Head/Hats/brownflatcap.rsi
state: icon
- node: icon
entity: BladedFlatcapBrown
22 changes: 22 additions & 0 deletions Resources/Prototypes/Recipes/Construction/weapons.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
- type: construction
name: grey bladed flatcap
id: BladedFlatcapGrey
graph: BladedFlatcapGrey
startNode: start
targetNode: icon
category: construction-category-weapons
description: An inconspicuous hat with glass shards sewn into the brim.
icon: { sprite: Clothing/Head/Hats/greyflatcap.rsi, state: icon }
objectType: Item

- type: construction
name: brown bladed flatcap
id: BladedFlatcapBrown
graph: BladedFlatcapBrown
startNode: start
targetNode: icon
category: construction-category-weapons
description: An inconspicuous hat with glass shards sewn into the brim.
icon: { sprite: Clothing/Head/Hats/brownflatcap.rsi, state: icon }
objectType: Item

- type: construction
name: glass shiv
id: Shiv
Expand Down
6 changes: 6 additions & 0 deletions Resources/Prototypes/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,12 @@
- type: Tag
id: Briefcase

- type: Tag
id: BrimFlatcapBrown

- type: Tag
id: BrimFlatcapGrey

- type: Tag
id: Brutepack

Expand Down

0 comments on commit 4d0ec65

Please sign in to comment.