Straw hat. (#24997)

* Straw hat.

A craftable, flammable straw hat.

Thats it.

* seems to made it go in flames!
This commit is contained in:
Adrian16199
2024-02-09 00:17:00 +01:00
committed by GitHub
parent a6de63cfd0
commit 007adfc8a6
11 changed files with 126 additions and 1 deletions

View File

@@ -963,4 +963,49 @@
- type: Sprite
sprite: Clothing/Head/Hats/cowboyhatbountyhunter.rsi
- type: Clothing
sprite: Clothing/Head/Hats/cowboyhatbountyhunter.rsi
sprite: Clothing/Head/Hats/cowboyhatbountyhunter.rsi
- type: entity
parent: ClothingHeadBase
id: ClothingHeadHatStrawHat
name: straw hat
description: A fancy hat for hot days! Not recommended to wear near fires.
components:
- type: Sprite
sprite: Clothing/Head/Hats/straw_hat.rsi
- type: Clothing
sprite: Clothing/Head/Hats/straw_hat.rsi
- type: Construction
graph: StrawHat
node: strawhat
- type: Tag
tags:
- HamsterWearable
- type: Flammable
fireSpread: true
canResistFire: false
alwaysCombustible: true
canExtinguish: true
damage:
types:
Heat: 1
- type: Damageable
damageModifierSet: Wood
- type: Appearance
- type: FireVisuals
sprite: Effects/fire.rsi
normalState: fire
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 15
behaviors:
- !type:SpawnEntitiesBehavior
spawn:
Ash:
min: 1
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]

View File

@@ -52,6 +52,9 @@
Quantity: 10
- type: Produce
seedId: wheat
- type: Tag
tags:
- Wheat
- type: entity
name: oat bushel

View File

@@ -0,0 +1,31 @@
- type: constructionGraph
id: StrawHat
start: start
graph:
- node: start
edges:
- to: strawhat
steps:
- tag: Wheat
name: Wheat Bushel
icon:
sprite: Objects/Specific/Hydroponics/wheat.rsi
state: produce
- tag: Wheat
name: Wheat Bushel
icon:
sprite: Objects/Specific/Hydroponics/wheat.rsi
state: produce
- tag: Wheat
name: Wheat Bushel
icon:
sprite: Objects/Specific/Hydroponics/wheat.rsi
state: produce
- tag: Wheat
name: Wheat Bushel
icon:
sprite: Objects/Specific/Hydroponics/wheat.rsi
state: produce
doAfter: 10
- node: strawhat
entity: ClothingHeadHatStrawHat

View File

@@ -201,3 +201,16 @@
sprite: Objects/Materials/materials.rsi
state: cloth_3
objectType: Item
- type: construction
name: straw hat
id: strawHat
graph: StrawHat
startNode: start
targetNode: strawhat
category: construction-category-clothing
description: A fancy hat for hot days! Not recommended to wear near fires.
icon:
sprite: Clothing/Head/Hats/straw_hat.rsi
state: icon
objectType: Item

View File

@@ -1169,6 +1169,9 @@
- type: Tag
id: WetFloorSign
- type: Tag
id: Wheat
- type: Tag
id: WhitelistChameleon

Binary file not shown.

After

Width:  |  Height:  |  Size: 983 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 982 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 743 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 963 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 932 B

View File

@@ -0,0 +1,30 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Made by Adrian16199",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "equipped-HELMET",
"directions": 4
},
{
"name": "equipped-HELMET-hamster",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}