Makes tools and welders ECS, add ToolQualityPrototype. (#4741)
This commit is contained in:
committed by
GitHub
parent
f2760d0002
commit
365c7da4dc
@@ -24,30 +24,18 @@
|
||||
- type: Tool
|
||||
qualities:
|
||||
- Prying
|
||||
- type: MultipleTool
|
||||
statusShowBehavior: true
|
||||
- type: MultiTool
|
||||
tools:
|
||||
entries:
|
||||
- behavior: Prying
|
||||
state: icon
|
||||
useSound:
|
||||
path: /Audio/Items/jaws_pry.ogg
|
||||
changeSound:
|
||||
path: /Audio/Items/change_jaws.ogg
|
||||
useSound: /Audio/Items/jaws_pry.ogg
|
||||
changeSound: /Audio/Items/change_jaws.ogg
|
||||
- behavior: Cutting
|
||||
state: icon
|
||||
useSound:
|
||||
path: /Audio/Items/jaws_cut.ogg
|
||||
changeSound:
|
||||
path: /Audio/Items/change_jaws.ogg
|
||||
useSound: /Audio/Items/jaws_cut.ogg
|
||||
changeSound: /Audio/Items/change_jaws.ogg
|
||||
- behavior: Screwing
|
||||
state: icon
|
||||
useSound:
|
||||
path: /Audio/Items/drill_use.ogg
|
||||
changeSound:
|
||||
path: /Audio/Items/change_drill.ogg
|
||||
useSound: /Audio/Items/drill_use.ogg
|
||||
changeSound: /Audio/Items/change_drill.ogg
|
||||
- behavior: Anchoring
|
||||
state: icon
|
||||
useSound:
|
||||
path: /Audio/Items/drill_use.ogg
|
||||
changeSound:
|
||||
path: /Audio/Items/change_drill.ogg
|
||||
useSound: /Audio/Items/drill_use.ogg
|
||||
changeSound: /Audio/Items/change_drill.ogg
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
sprite: Objects/Tools/Cowtools/mooltitool.rsi
|
||||
- type: Tool
|
||||
qualities:
|
||||
- Multitool
|
||||
- Pulsing
|
||||
- type: SignalLinker
|
||||
|
||||
- type: entity
|
||||
|
||||
@@ -20,21 +20,21 @@
|
||||
- type: Tool
|
||||
qualities:
|
||||
- Prying
|
||||
- type: MultipleTool
|
||||
statusShowBehavior: true
|
||||
- type: MultiTool
|
||||
tools:
|
||||
entries:
|
||||
- behavior: Prying
|
||||
state: jaws_pry
|
||||
useSound:
|
||||
path: /Audio/Items/jaws_pry.ogg
|
||||
changeSound:
|
||||
path: /Audio/Items/change_jaws.ogg
|
||||
sprite:
|
||||
sprite: Objects/Tools/jaws_of_life.rsi
|
||||
state: jaws_pry
|
||||
useSound: /Audio/Items/jaws_pry.ogg
|
||||
changeSound: /Audio/Items/change_jaws.ogg
|
||||
- behavior: Cutting
|
||||
state: jaws_cutter
|
||||
useSound:
|
||||
path: /Audio/Items/jaws_cut.ogg
|
||||
changeSound:
|
||||
path: /Audio/Items/change_jaws.ogg
|
||||
sprite:
|
||||
sprite: Objects/Tools/jaws_of_life.rsi
|
||||
state: jaws_cutter
|
||||
useSound: /Audio/Items/jaws_cut.ogg
|
||||
changeSound: /Audio/Items/change_jaws.ogg
|
||||
|
||||
- type: entity
|
||||
name: syndicate jaws of life
|
||||
@@ -43,10 +43,19 @@
|
||||
description: Useful for entering the station or its departments.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/jaws_of_life.rsi
|
||||
state: syn_jaws_pry
|
||||
- type: MultiTool
|
||||
tools:
|
||||
- type: MultipleTool
|
||||
entries:
|
||||
- behavior: Prying
|
||||
state: syn_jaws_pry
|
||||
sprite:
|
||||
sprite: Objects/Tools/jaws_of_life.rsi
|
||||
state: syn_jaws_pry
|
||||
useSound: /Audio/Items/jaws_pry.ogg
|
||||
changeSound: /Audio/Items/change_jaws.ogg
|
||||
- behavior: Cutting
|
||||
state: syn_jaws_cutter
|
||||
sprite:
|
||||
sprite: Objects/Tools/jaws_of_life.rsi
|
||||
state: syn_jaws_cutter
|
||||
useSound: /Audio/Items/jaws_cut.ogg
|
||||
changeSound: /Audio/Items/change_jaws.ogg
|
||||
|
||||
@@ -177,7 +177,7 @@
|
||||
- Belt
|
||||
- type: Tool
|
||||
qualities:
|
||||
- Multitool
|
||||
- Pulsing
|
||||
- type: SignalLinker
|
||||
|
||||
- type: entity
|
||||
@@ -198,17 +198,21 @@
|
||||
- type: Tool
|
||||
qualities:
|
||||
- Screwing
|
||||
- type: MultipleTool
|
||||
statusShowBehavior: true
|
||||
- type: MultiTool
|
||||
tools:
|
||||
entries:
|
||||
- behavior: Screwing
|
||||
state: drill_screw
|
||||
sprite:
|
||||
sprite: Objects/Tools/drill.rsi
|
||||
state: drill_screw
|
||||
useSound:
|
||||
path: /Audio/Items/drill_use.ogg
|
||||
changeSound:
|
||||
path: /Audio/Items/change_drill.ogg
|
||||
- behavior: Anchoring
|
||||
state: drill_bolt
|
||||
sprite:
|
||||
sprite: Objects/Tools/drill.rsi
|
||||
state: drill_bolt
|
||||
useSound:
|
||||
path: /Audio/Items/drill_use.ogg
|
||||
changeSound:
|
||||
|
||||
@@ -25,14 +25,18 @@
|
||||
Blunt: 10
|
||||
- type: ItemStatus
|
||||
- type: RefillableSolution
|
||||
solution: welder
|
||||
solution: Welder
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
welder:
|
||||
Welder:
|
||||
reagents:
|
||||
- ReagentId: WeldingFuel
|
||||
Quantity: 100
|
||||
maxVol: 100
|
||||
- type: Tool
|
||||
useSound:
|
||||
collection: Welder
|
||||
qualities: Welding
|
||||
- type: Welder
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
@@ -53,7 +57,7 @@
|
||||
solution: welder
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
welder:
|
||||
Welder:
|
||||
reagents:
|
||||
- ReagentId: WeldingFuel
|
||||
Quantity: 1000
|
||||
@@ -74,10 +78,10 @@
|
||||
- type: Item
|
||||
sprite: Objects/Tools/welder_mini.rsi
|
||||
- type: RefillableSolution
|
||||
solution: welder
|
||||
solution: Welder
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
welder:
|
||||
Welder:
|
||||
reagents:
|
||||
- ReagentId: WeldingFuel
|
||||
Quantity: 25
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
tankType: Fuel
|
||||
- type: DamageOnToolInteract
|
||||
tools:
|
||||
- 16 # welding
|
||||
- Welding
|
||||
weldingDamage:
|
||||
types:
|
||||
Heat: 10
|
||||
|
||||
41
Resources/Prototypes/tool_qualities.yml
Normal file
41
Resources/Prototypes/tool_qualities.yml
Normal file
@@ -0,0 +1,41 @@
|
||||
- type: tool
|
||||
id: Anchoring
|
||||
name: tool-quality-anchoring-name
|
||||
toolName: tool-quality-anchoring-tool-name
|
||||
spawn: Wrench
|
||||
icon: Objects/Tools/wrench.rsi/icon.png
|
||||
|
||||
- type: tool
|
||||
id: Prying
|
||||
name: tool-quality-prying-name
|
||||
toolName: tool-quality-prying-tool-name
|
||||
spawn: Crowbar
|
||||
icon: Objects/Tools/crowbar.rsi/icon.png
|
||||
|
||||
- type: tool
|
||||
id: Screwing
|
||||
name: tool-quality-screwing-name
|
||||
toolName: tool-quality-screwing-tool-name
|
||||
spawn: Screwdriver
|
||||
icon: Objects/Tools/screwdriver.rsi/screwdriver-map.png
|
||||
|
||||
- type: tool
|
||||
id: Cutting
|
||||
name: tool-quality-cutting-name
|
||||
toolName: tool-quality-cutting-tool-name
|
||||
spawn: Wirecutter
|
||||
icon: Objects/Tools/wirecutters.rsi/cutters-map.png
|
||||
|
||||
- type: tool
|
||||
id: Welding
|
||||
name: tool-quality-welding-name
|
||||
toolName: tool-quality-welding-tool-name
|
||||
spawn: Welder
|
||||
icon: Objects/Tools/welder.rsi/icon.png
|
||||
|
||||
- type: tool
|
||||
id: Pulsing
|
||||
name: tool-quality-pulsing-name
|
||||
toolName: tool-quality-pulsing-tool-name
|
||||
spawn: Multitool
|
||||
icon: Objects/Tools/multitool.rsi/icon.png
|
||||
Reference in New Issue
Block a user