Delete structures on workbench (#549)

* Transfer of crafting barrels

* Sorry, error fix

* Come on, Work!
This commit is contained in:
Psycrow
2024-11-08 11:29:02 +01:00
committed by GitHub
parent c7b230857f
commit 682b0f7b78
4 changed files with 49 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
- type: entity
id: CP14BaseBarrel
parent:
parent:
- BaseStructureDynamic
- CP14BaseFlammable
name: wooden barrel
@@ -14,6 +14,9 @@
noRot: true
- type: InteractionOutline
- type: Physics
- type: Construction
graph: CP14BaseBarrel
node: CP14BaseBarrel
- type: Fixtures
fixtures:
fix1:
@@ -223,4 +226,4 @@
barrel:
reagents:
- ReagentId: CP14LumiMushroom
Quantity: 300
Quantity: 300

View File

@@ -14,10 +14,30 @@
- material: CP14WoodenPlanks
amount: 2
doAfter: 2
- node: CP14Bonfire
entity: CP14Bonfire
- type: constructionGraph
id: CP14BaseBarrel
start: start
graph:
- node: start
actions:
- !type:DestroyEntity {}
edges:
- to: CP14BaseBarrel
steps:
- material: CP14WoodenPlanks
amount: 5
doAfter: 3
- material: CP14Nail
amount: 2
doAfter: 2
- node: CP14BaseBarrel
entity: CP14BaseBarrel
- type: constructionGraph
id: CP14WallmountTorch
start: start
@@ -31,7 +51,7 @@
- material: CP14WoodenPlanks
amount: 3
doAfter: 3
- node: CP14WallmountTorch
entity: CP14WallmountTorch
@@ -48,7 +68,7 @@
- material: CP14CopperBar
amount: 3
doAfter: 3
- node: CP14WallmountLampEmpty
entity: CP14WallmountLampEmpty
@@ -65,7 +85,6 @@
- material: CP14WoodenPlanks
amount: 3
doAfter: 3
- node: CP14WallmountOrdersBorder
entity: CP14WallmountOrdersBorder

View File

@@ -16,6 +16,24 @@
conditions:
- !type:TileNotBlocked
- type: construction
crystallPunkAllowed: true
name: Wooden barrel
description: The simplest design for storing liquids.
id: CP14BaseBarrel
graph: CP14BaseBarrel
startNode: start
targetNode: CP14BaseBarrel
category: construction-category-furniture
icon:
sprite: _CP14/Structures/Furniture/barrel.rsi
state: barrel
objectType: Structure
placementMode: PlaceFree
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked
- type: construction
crystallPunkAllowed: true
name: Wooden table
@@ -131,7 +149,7 @@
- type: construction
crystallPunkAllowed: true
name: Crystal wall lamp
description: A simple wallmount magical device that converts crystal energy into bright light.
description: A simple wallmount magical device that converts crystal energy into bright light.
id: CP14WallmountLampEmpty
graph: CP14WallmountLampEmpty
startNode: start

View File

@@ -8,15 +8,6 @@
CP14WoodenPlanks: 3
result: CP14Bucket
- type: CP14Recipe
id: CP14BaseBarrel
tag: CP14RecipeWorkbench
craftTime: 3
stacks:
CP14WoodenPlanks: 5
CP14Nail: 2
result: CP14BaseBarrel
- type: CP14Recipe
id: CP14WoodenBeerMug
tag: CP14RecipeWorkbench
@@ -59,4 +50,4 @@
craftTime: 4
stacks:
CP14WoodenPlanks: 3
result: CP14BaseBattleStaff
result: CP14BaseBattleStaff