Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Head Chef Hat #27559

Closed
wants to merge 16 commits into from
Closed
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
36 changes: 36 additions & 0 deletions Resources/Prototypes/Entities/Clothing/Head/hats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,42 @@
- HamsterWearable
- WhitelistChameleon

- type: entity
parent: ClothingHeadHatChef
id: ClothingHeadHatSousChef
name: sous-chef's hat
description: "It's a hat used by chefs on the path to mastery. This one is quite tall."
components:
- type: Sprite
sprite: Clothing/Head/Hats/chefhatsous.rsi
- type: Clothing
sprite: Clothing/Head/Hats/chefhatsous.rsi
- type: Storage
grid:
- 0,0,0,3

- type: entity
parent: ClothingHeadHatChef
id: ClothingHeadHatHeadChef
name: head chef's hat
description: "It's a hat used by chefs who have truly mastered their craft. This one is shockingly tall."
components:
- type: Sprite
sprite: Clothing/Head/Hats/chefhathead.rsi
- type: Clothing
sprite: Clothing/Head/Hats/chefhathead.rsi
clothingVisuals:
head:
- state: equipped-HELMET
offset: "0, 1.34375"
- type: Storage
grid:
- 0,0,0,9
- type: Tag
tags:
- ClothMade
- WhitelistChameleon

- type: entity
parent: ClothingHeadBase
id: ClothingHeadHatFedoraBrown
Expand Down
44 changes: 43 additions & 1 deletion Resources/Prototypes/Loadouts/Jobs/Civilian/chef.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
- type: loadoutEffectGroup
id: SousChef
effects:
- !type:JobRequirementLoadoutEffect
requirement:
!type:RoleTimeRequirement
role: JobChef
time: 36000 #10 hrs

- type: loadoutEffectGroup
id: HeadChef
effects:
- !type:JobRequirementLoadoutEffect
requirement:
!type:RoleTimeRequirement
role: JobChef
time: 108000 #30 hrs

# Head
- type: loadout
id: ChefHead
Expand All @@ -8,6 +26,30 @@
equipment:
head: ClothingHeadHatChef

- type: loadout
id: ChefSousHat
equipment: ChefSousHat
effects:
- !type:GroupLoadoutEffect
proto: SousChef

- type: startingGear
id: ChefSousHat
equipment:
head: ClothingHeadHatSousChef

- type: loadout
id: ChefHeadHat
equipment: ChefHeadHat
effects:
- !type:GroupLoadoutEffect
proto: HeadChef

- type: startingGear
id: ChefHeadHat
equipment:
head: ClothingHeadHatHeadChef

# Mask
- type: loadout
id: ChefMask
Expand Down Expand Up @@ -63,4 +105,4 @@
- type: startingGear
id: ChefWintercoat
equipment:
outerClothing: ClothingOuterWinterChef
outerClothing: ClothingOuterWinterChef
2 changes: 2 additions & 0 deletions Resources/Prototypes/Loadouts/loadout_groups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@
minLimit: 0
loadouts:
- ChefHead
- ChefSousHat
- ChefHeadHat

- type: loadoutGroup
id: ChefMask
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.
26 changes: 26 additions & 0 deletions Resources/Textures/Clothing/Head/Hats/chefhathead.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Modified from tgstation at commit https://github.com/tgstation/tgstation/commit/4f6190e2895e09116663ef282d3ce1d8b35c032e",
"size": {
"x": 32,
"y": 64
},
"states": [
{
"name": "icon"
},
{
"name": "equipped-HELMET",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions Resources/Textures/Clothing/Head/Hats/chefhatsous.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Modified from tgstation at commit https://github.com/tgstation/tgstation/commit/4f6190e2895e09116663ef282d3ce1d8b35c032e",
"size": {
"x": 32,
"y": 64
},
"states": [
{
"name": "icon"
},
{
"name": "equipped-HELMET",
"directions": 4
},
{
"name": "equipped-HELMET-hamster",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}
Loading