Workshop content (#1526)

* Update marble tile textures and attribution

Replaced 'marble.png' and 'double_edge_S.png' with new versions and updated attribution.yml to credit KREKS for the resprite work.

* gold & old chest + fix crate fixtures

* Update r_hand.png

* Update base_chest.yml
This commit is contained in:
Red
2025-07-12 15:10:13 +03:00
committed by GitHub
parent ab2c2a1652
commit ff12e333c8
19 changed files with 186 additions and 28 deletions

View File

@@ -4,6 +4,7 @@
categories: [ HideSpawnMenu, ForkFiltered ]
name: Chest
description: Chest.
abstract: true
components:
- type: Transform
noRot: true
@@ -27,12 +28,18 @@
shape:
!type:PhysShapeAabb
bounds: "-0.4,-0.4,0.4,0.29"
density: 50
density: 500
mask:
- SmallMobMask #this is so they can go under plastic flaps
layer:
- MachineLayer
- type: EntityStorage
closeSound:
path: /Audio/Effects/woodenclosetclose.ogg
openSound:
path: /Audio/Effects/woodenclosetopen.ogg
- type: StaticPrice
price: 0
- type: PlaceableSurface
isPlaceable: false # defaults to closed.
- type: Appearance
@@ -51,8 +58,6 @@
entity_storage: !type:Container
paper_label: !type:ContainerSlot
- type: ItemSlots
- type: StaticPrice
price: 5
- type: CP14Lock #Empty, for installing new locks
- type: Lock
locked: false

View File

@@ -6,17 +6,6 @@
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
@@ -46,19 +35,89 @@
collection: WoodDestroy
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: EntityStorage
closeSound:
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
CP14Iron: 10
- type: entity
parent: CP14WoodenChest
id: CP14WoodenChestOld
name: old wooden chest
description: An old chest. It has seen a lot.
components:
- type: Icon
sprite: _CP14/Structures/Storage/Crates/chest_old.rsi
state: icon
- type: Sprite
sprite: _CP14/Structures/Storage/Crates/chest_old.rsi
layers:
- state: base
map: ["enum.StorageVisualLayers.Base"]
- state: closed
map: ["enum.StorageVisualLayers.Door"]
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 30
behaviors:
- !type:SpawnEntitiesBehavior
spawn:
CP14WoodenPlanks1:
min: 3
max: 5
- !type:PlaySoundBehavior
sound:
collection: WoodDestroy
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
parent:
- CP14ChestGeneric
- CP14BaseFlammable
id: CP14GoldChest
name: gold chest
description: Someone spent a lot of money and effort to decorate this chest with gold. It didn't make the chest more functional, but it did make it beautiful.
components:
- type: Icon
sprite: _CP14/Structures/Storage/Crates/chest_gold.rsi
state: icon
- type: Sprite
sprite: _CP14/Structures/Storage/Crates/chest_gold.rsi
layers:
- state: base
map: ["enum.StorageVisualLayers.Base"]
- state: closed
map: ["enum.StorageVisualLayers.Door"]
- type: Damageable
damageContainer: StructuralInorganic
damageModifierSet: CP14WoodStructural
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 50
behaviors:
- !type:SpawnEntitiesBehavior
spawn:
CP14WoodenPlanks1:
min: 3
max: 5
- !type:PlaySoundBehavior
sound:
collection: WoodDestroy
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Construction
graph: CP14GoldChest
node: CP14GoldChest
- type: PhysicalComposition
materialComposition:
CP14WoodenPlanks: 50
CP14Iron: 10
CP14Gold: 10

View File

@@ -41,9 +41,9 @@
radius: 0.45
density: 525
mask:
- MachineMask
- SmallMobMask #this is so they can go under plastic flaps
layer:
- WallLayer
- MachineLayer
- type: entity
id: CP14BaseSmallCrate

View File

@@ -29,3 +29,38 @@
steps:
- tool: Prying
doAfter: 4
- type: constructionGraph
id: CP14GoldChest
start: start
graph:
- node: start
actions:
- !type:DestroyEntity {}
edges:
- to: CP14GoldChest
steps:
- material: CP14WoodenPlanks
amount: 5
doAfter: 2
- material: CP14IronBar
amount: 1
doAfter: 2
- material: CP14GoldBar
amount: 1
doAfter: 2
- node: CP14GoldChest
entity: CP14GoldChest
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: CP14WoodenPlanks1
amount: 2
conditions:
- !type:Locked
locked: false
steps:
- tool: Prying
doAfter: 4

View File

@@ -27,6 +27,19 @@
conditions:
- !type:TileNotBlocked
- type: construction
crystallPunkAllowed: true
id: CP14GoldChest
graph: CP14GoldChest
startNode: start
targetNode: CP14GoldChest
category: construction-category-storage
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked
- type: construction
crystallPunkAllowed: true
id: CP14SmallWoodenCrate

Binary file not shown.

Before

Width:  |  Height:  |  Size: 253 B

After

Width:  |  Height:  |  Size: 274 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 969 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,23 @@
{
"version": 1,
"license": "CC-BY-SA-4.0",
"copyright": "Created by .kreks. (Discord)",
"size": {
"x": 32,
"y": 48
},
"states": [
{
"name": "icon"
},
{
"name": "base"
},
{
"name": "closed"
},
{
"name": "open"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 801 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 852 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,23 @@
{
"version": 1,
"license": "CC-BY-SA-4.0",
"copyright": "Created by .kreks. (Discord)",
"size": {
"x": 32,
"y": 48
},
"states": [
{
"name": "icon"
},
{
"name": "base"
},
{
"name": "closed"
},
{
"name": "open"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 658 B

View File

@@ -3,5 +3,5 @@
- double_edge_S.png
- small_bricks
license: "All Right Reserved"
copyright: "Created by TheShuEd"
source: "https://github.com/crystallpunk-14/crystall-punk-14"
copyright: "Created by TheShuEd, marble.png & double_edge_S.png resprite by KREKS"
source: "https://github.com/crystallpunk-14/crystall-punk-14"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 525 B

After

Width:  |  Height:  |  Size: 581 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB