chest fix

This commit is contained in:
Ed
2025-05-31 18:07:14 +03:00
parent 10090292a1
commit 1818f253ae
5 changed files with 30 additions and 4 deletions

View File

@@ -117,6 +117,9 @@
fillBaseName: liq
- type: ExaminableSolution
solution: barrel
- type: PhysicalComposition
materialComposition:
CP14WoodenPlanks: 30
- type: entity
id: CP14BarrelWater

View File

@@ -59,6 +59,9 @@
- type: Construction
graph: CP14CraneBarrel
node: CP14CraneBarrel
- type: PhysicalComposition
materialComposition:
CP14WoodenPlanks: 50
- type: entity
parent: CP14CraneBarrel

View File

@@ -6,6 +6,17 @@
name: wooden chest
description: A simple wooden chest for easy storage of junk.
components:
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.4,-0.4,0.4,0.29"
density: 500
mask:
- SmallMobMask #this is so they can go under plastic flaps
layer:
- MachineLayer
- type: Icon
sprite: _CP14/Structures/Storage/Crates/chest.rsi
state: icon
@@ -28,8 +39,8 @@
- !type:SpawnEntitiesBehavior
spawn:
CP14WoodenPlanks1:
min: 1
max: 2
min: 3
max: 5
- !type:PlaySoundBehavior
sound:
collection: WoodDestroy
@@ -40,8 +51,14 @@
path: /Audio/Effects/woodenclosetclose.ogg
openSound:
path: /Audio/Effects/woodenclosetopen.ogg
- type: StaticPrice
price: 0
- type: Construction
graph: CP14WoodenChest
node: CP14WoodenChest
containers:
- entity_storage
- type: PhysicalComposition
materialComposition:
CP14WoodenPlanks: 50
CP14Iron: 10

View File

@@ -9,7 +9,7 @@
- to: CP14BaseBarrel
steps:
- stackGroup: WoodenPlanks
amount: 5
amount: 3
doAfter: 3
- node: CP14BaseBarrel
entity: CP14BaseBarrel

View File

@@ -9,7 +9,10 @@
- to: CP14WoodenChest
steps:
- material: CP14WoodenPlanks
amount: 2
amount: 5
doAfter: 2
- material: CP14IronBar
amount: 1
doAfter: 2
- node: CP14WoodenChest