Straw hat. (#24997)
* Straw hat. A craftable, flammable straw hat. Thats it. * seems to made it go in flames!
This commit is contained in:
@@ -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" ]
|
||||
|
||||
|
||||
@@ -52,6 +52,9 @@
|
||||
Quantity: 10
|
||||
- type: Produce
|
||||
seedId: wheat
|
||||
- type: Tag
|
||||
tags:
|
||||
- Wheat
|
||||
|
||||
- type: entity
|
||||
name: oat bushel
|
||||
|
||||
31
Resources/Prototypes/Recipes/Crafting/Graphs/strawhat.yml
Normal file
31
Resources/Prototypes/Recipes/Crafting/Graphs/strawhat.yml
Normal 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
|
||||
@@ -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
|
||||
|
||||
@@ -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 |
BIN
Resources/Textures/Clothing/Head/Hats/straw_hat.rsi/icon.png
Normal file
BIN
Resources/Textures/Clothing/Head/Hats/straw_hat.rsi/icon.png
Normal file
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 |
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user