Мясной крюк
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
ent-KitchenSpike = мясной крюк
|
||||
.desc = Крюк для снятия мяса с животных.
|
||||
ent-KitchenSpikeFrame = каркас мясного крюка
|
||||
.desc = Незаконченный мясной крюк, требуется ещё немного терпения.
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
Empty: { state: spike }
|
||||
Bloody: { state: spikebloody }
|
||||
- type: Construction
|
||||
graph: MeatSpike
|
||||
graph: MeatSpikeWD # WD Edit
|
||||
node: MeatSpike
|
||||
- type: GuideHelp
|
||||
guides:
|
||||
|
||||
@@ -1017,7 +1017,7 @@
|
||||
id: KitchenSpike
|
||||
name: meat spike
|
||||
description: A spike found in kitchens butchering animals.
|
||||
graph: MeatSpike
|
||||
graph: MeatSpikeWD # WD Edit
|
||||
startNode: start
|
||||
targetNode: MeatSpike
|
||||
category: construction-category-furniture
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
- type: constructionGraph
|
||||
id: MeatSpikeWD
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
actions:
|
||||
- !type:DeleteEntity {}
|
||||
edges:
|
||||
- to: middle
|
||||
completed:
|
||||
- !type:SnapToGrid
|
||||
southRotation: true
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 15
|
||||
doAfter: 5
|
||||
- node: middle
|
||||
entity: KitchenSpikeFrame
|
||||
edges:
|
||||
- to: MeatSpike
|
||||
steps:
|
||||
- tool: Welding
|
||||
doAfter: 3
|
||||
- node: MeatSpike
|
||||
entity: KitchenSpike
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 15
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 5
|
||||
@@ -0,0 +1,57 @@
|
||||
- type: entity
|
||||
id: KitchenSpikeFrame
|
||||
parent: BaseStructure
|
||||
name: meat spike frame
|
||||
description: Unfinished meat hook, needs a little more patience.
|
||||
components:
|
||||
- type: InteractionOutline
|
||||
- type: Sprite
|
||||
sprite: White/Structures/meat_spike.rsi
|
||||
state: spike
|
||||
layers:
|
||||
- state: spike
|
||||
map: ["base"]
|
||||
- type: Damageable
|
||||
damageContainer: StructuralInorganic
|
||||
damageModifierSet: Metallic
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 200
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 100
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: MetalBreak
|
||||
params:
|
||||
volume: -4
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
SheetSteel1:
|
||||
min: 1
|
||||
max: 1
|
||||
- type: Transform
|
||||
noRot: true
|
||||
- type: Anchorable
|
||||
- type: Pullable
|
||||
- type: Appearance
|
||||
- type: GenericVisualizer
|
||||
visuals:
|
||||
enum.KitchenSpikeVisuals.Status:
|
||||
base:
|
||||
Empty: { state: spike }
|
||||
Bloody: { state: spikebloody }
|
||||
- type: Construction
|
||||
graph: MeatSpikeWD
|
||||
node: middle
|
||||
- type: GuideHelp
|
||||
guides:
|
||||
- Chef
|
||||
20
Resources/Textures/White/Structures/meat_spike.rsi/meta.json
Normal file
20
Resources/Textures/White/Structures/meat_spike.rsi/meta.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from https://github.com/discordia-space/CEV-Eris/blob/2b969adc2dfd3e9621bf3597c5cbffeb3ac8c9f0/icons/obj/kitchen.dmi",
|
||||
"states": [
|
||||
{
|
||||
"name": "spike",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1.0
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/White/Structures/meat_spike.rsi/spike.png
Normal file
BIN
Resources/Textures/White/Structures/meat_spike.rsi/spike.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
Reference in New Issue
Block a user