leather workbench construction

This commit is contained in:
Alexsey Bezyuk
2025-06-04 18:04:51 +10:00
parent a98c8b7dde
commit 6d4c600fee
3 changed files with 32 additions and 4 deletions

View File

@@ -126,12 +126,12 @@
- CP14RecipeSewing
- type: entity
id: CP14WorkbenchLeatherWorking
id: CP14WorkbenchLeather
parent:
- CP14BaseWorkbench
- CP14BaseFlammable
name: tanner table
suffix: Leather Workbench
suffix: Leather Workbench
description: Table for leather processing and creation of leather goods.
components:
- type: Sprite
@@ -139,8 +139,8 @@
- type: Icon
state: tanner_table
- type: Construction
graph: CP14WorkbenchTanner
node: CP14WorkbenchTanner
graph: CP14WorkbenchLeather
node: CP14WorkbenchLeather
- type: CP14Workbench
craftSound:
collection: CP14Leather # TODO?

View File

@@ -124,3 +124,19 @@
doAfter: 2
- node: CP14WorkbenchSewing
entity: CP14WorkbenchSewing
- type: constructionGraph
id: CP14WorkbenchLeather
start: start
graph:
- node: start
actions:
- !type:DestroyEntity {}
edges:
- to: CP14WorkbenchLeather
steps:
- stackGroup: WoodenPlanks
amount: 3
doAfter: 2
- node: CP14WorkbenchLeather
entity: CP14WorkbenchLeather

View File

@@ -37,3 +37,15 @@
conditions:
- !type:TileNotBlocked
- type: construction
crystallPunkAllowed: true
id: CP14WorkbenchLeather
graph: CP14WorkbenchLeather
startNode: start
targetNode: CP14WorkbenchLeather
category: construction-category-machines
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked