Skip to content

Commit

Permalink
The Goliath Hardsuit (#34721)
Browse files Browse the repository at this point in the history
* Entities for hardsuit and helmet, graph and crafting recipe; modifies goliath hide drop rate

* Added hardsuit sprites, corrected some crafting YAML

* fixed crafting recipe, adjusted resource requirements

* Added durathread material req

---------

Co-authored-by: august-sun <[email protected]>
  • Loading branch information
august-sun and august-sun authored Jan 30, 2025
1 parent 163a55c commit 4085fe7
Show file tree
Hide file tree
Showing 23 changed files with 195 additions and 0 deletions.
35 changes: 35 additions & 0 deletions Resources/Prototypes/Entities/Clothing/Head/hardsuit-helmets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,41 @@
radius: 7
energy: 3

- type: entity
parent: ClothingHeadHardsuitWithLightBase
id: ClothingHeadHelmetHardsuitGoliath
name: goliath hardsuit helmet
description: A sturdy hardsuit helmet, infused with a goliath's hide and an eerie, unblinking eye cut from its mass.
components:
- type: Sprite
sprite: Clothing/Head/Hardsuits/goliathhelm.rsi
layers:
- state: icon
- state: icon-unshaded
shader: unshaded
- state: light-overlay
visible: false
shader: unshaded
map: [ "light" ]
- type: HandheldLight
addPrefix: false
- type: ToggleableLightVisuals
clothingVisuals:
head:
- state: equipped-head-light
shader: unshaded
- type: Clothing
clothingVisuals:
head:
- state: equipped-head
- state: equipped-head-unshaded
shader: unshaded
- type: PointLight
radius: 6
- type: PressureProtection
highPressureMultiplier: 0.72
lowPressureMultiplier: 1000

- type: entity
parent: ClothingHeadHardsuitBase
id: ClothingHeadHelmetHardsuitMaxim
Expand Down
41 changes: 41 additions & 0 deletions Resources/Prototypes/Entities/Clothing/OuterClothing/hardsuits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@
- type: HeldSpeedModifier
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitSpatio
- type: Tag
tags:
- Hardsuit
- WhitelistChameleon
- HardsuitSpatio

#Salvage Hardsuit
- type: entity
Expand Down Expand Up @@ -156,6 +161,42 @@
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitSalvage

#Goliath Hardsuit
- type: entity
parent: [ClothingOuterHardsuitBase, BaseCargoContraband]
id: ClothingOuterHardsuitGoliath
name: goliath hardsuit
description: A lightweight hardsuit, adorned with a patchwork of thick, chitinous goliath hide.
components:
- type: Sprite
sprite: Clothing/OuterClothing/Hardsuits/goliath.rsi
- type: Clothing
sprite: Clothing/OuterClothing/Hardsuits/goliath.rsi
- type: PressureProtection
highPressureMultiplier: 0.5
lowPressureMultiplier: 1000
- type: ExplosionResistance
damageCoefficient: 0.3
- type: Armor
modifiers:
coefficients:
Blunt: 0.7
Slash: 0.7
Piercing: 0.5
Heat: 0.7 #Goliath hide gets grilled instead of you
Radiation: 0.3
Caustic: 0.8
- type: ClothingSpeedModifier
walkModifier: 0.8
sprintModifier: 0.8
- type: HeldSpeedModifier
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitGoliath
- type: Construction
graph: HardsuitGoliath
node: hardsuitGoliath

#Maxim Hardsuit
- type: entity
parent: [ClothingOuterHardsuitBase, BaseCargoContraband]
id: ClothingOuterHardsuitMaxim
Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/Entities/Mobs/NPCs/asteroid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
- id: FoodMeatGoliath
amount: 3
- id: MaterialGoliathHide1
amount: 3

- type: entity
id: ActionGoliathTentacle
Expand Down
22 changes: 22 additions & 0 deletions Resources/Prototypes/Recipes/Crafting/Graphs/goliath_hardsuit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
- type: constructionGraph
id: HardsuitGoliath
start: start
graph:
- node: start
edges:
- to: hardsuitGoliath
steps:
- tag: HardsuitSpatio
icon:
sprite: Clothing/OuterClothing/Hardsuits/spatio.rsi
state: icon
name: spationaut hardsuit
doAfter: 10
- material: Durathread
amount: 5
doAfter: 10
- material: GoliathHide
amount: 12
doAfter: 10
- node: hardsuitGoliath
entity: ClothingOuterHardsuitGoliath
13 changes: 13 additions & 0 deletions Resources/Prototypes/Recipes/Crafting/improvised.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,3 +240,16 @@
icon:
sprite: Objects/Storage/petcarrier.rsi
state: icon

- type: construction
name: goliath hardsuit
id: HardsuitGoliath
graph: HardsuitGoliath
startNode: start
targetNode: hardsuitGoliath
category: construction-category-clothing
objectType: Item
description: A lightweight hardsuit, adorned with a patchwork of thick, chitinous goliath hide.
icon:
sprite: Clothing/OuterClothing/Hardsuits/goliath.rsi
state: icon
3 changes: 3 additions & 0 deletions Resources/Prototypes/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,9 @@
- type: Tag
id: Hardsuit # Prevent melee injectors that can't penetrate hardsuits from injecting the wearer (nettles)

- type: Tag
id: HardsuitSpatio

- type: Tag
id: Haunted

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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "All sprites created by https://github.com/Pronana / princesscheeseballs (Discord)",

"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "icon-unshaded"
},
{
"name": "icon-flash"
},
{
"name": "light-overlay"
},
{
"name": "equipped-head",
"directions": 4
},
{
"name": "equipped-head-light",
"directions": 4
},
{
"name": "equipped-head-unshaded",
"directions": 4
},
{
"name": "equipped-head-vox",
"directions": 4
},
{
"name": "equipped-head-light-vox",
"directions": 4
},
{
"name": "equipped-head-unshaded-vox",
"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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@

{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "All sprites created by https://github.com/Pronana / princesscheeseballs (Discord)",

"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "equipped-OUTERCLOTHING",
"directions": 4
},
{
"name": "equipped-OUTERCLOTHING-vox",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}

0 comments on commit 4085fe7

Please sign in to comment.