wood furniture resprite (#360)

* wood table + workbench

* cupboard + dresser

* wooden bucket

* wooden crates

* Update Resources/Prototypes/_CP14/Entities/Structures/Storage/Crates/crates.yml

* barrel

---------

Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com>
This commit is contained in:
Jaraten
2024-07-30 17:07:43 +03:00
committed by GitHub
parent 1f587c10b8
commit 5072800d4a
38 changed files with 201 additions and 6 deletions

View File

@@ -387,7 +387,7 @@ ent-CP14EnergyCrystalMediumEmpty = { ent-CP14EnergyCrystalMedium }
ent-CP14Bucket = ведро
.desc = Старое скучное ведро
.suffix = CP14, Нужен респрайт!
.suffix = CP14!
ent-CP14OldLantern = Старая Лампа
.desc = Пережиток прошлого техномагии. Большой, тяжелый, непрактичный. Таким приятно разве что бить по голове.

View File

@@ -3,14 +3,14 @@
id: CP14Bucket
name: bucket
description: It's a boring old bucket.
suffix: CP14, need resprite
suffix: CP14
components:
- type: Drink
solution: bucket
ignoreEmpty: true
- type: Clickable
- type: Sprite
sprite: Objects/Tools/bucket.rsi
sprite: _CP14/Objects/Tools/wooden_bucket.rsi
layers:
- state: icon
- map: ["enum.SolutionContainerLayers.Fill"]

View File

@@ -0,0 +1,126 @@
- type: entity
id: CP14BaseCrate
abstract: true
parent: BaseStructureDynamic
components:
- type: InteractionOutline
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Wood
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 150
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:EmptyAllContainersBehaviour
- !type:SpawnEntitiesBehavior
spawn:
CP14WoodenPlanks1:
min: 3
max: 5
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Climbable
- type: Sprite
drawdepth: Mobs
layers:
- map: [ base ]
state: icon
- type: Appearance
- type: GenericVisualizer
visuals:
enum.StorageVisuals.Open:
base:
True: { state: open }
False: { state: icon }
- type: Storage
grid:
- 0,0,6,6
maxItemSize: Large
storageOpenSound: /Audio/Effects/closetopen.ogg
storageCloseSound: /Audio/Effects/closetclose.ogg
- type: UserInterface
interfaces:
enum.StorageUiKey.Key:
type: StorageBoundUserInterface
- type: ContainerContainer
containers:
storagebase: !type:Container
ents: [ ]
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.4,-0.4,0.4,0.4"
density: 155
mask:
- MachineMask
layer:
- WallLayer
- type: entity
id: CP14BaseSmallCrate
abstract: true
parent: CP14BaseCrate
components:
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.3,-0.3,0.3,0.3"
density: 95
mask:
- MachineMask
layer:
- WallLayer
- type: Storage
grid:
- 0,0,4,4
maxItemSize: Normal
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 70
behaviors:
- !type:EmptyAllContainersBehaviour
- !type:SpawnEntitiesBehavior
spawn:
CP14WoodenPlanks1:
min: 3
max: 5
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: CP14LargeWoodenCrate
name: large wooden crate
description: solid wooden crate
parent: CP14BaseCrate
components:
- type: Sprite
sprite: _CP14/Structures/Storage/Crates/large_wooden_crate.rsi
- type: entity
id: CP14SmallWoodenCrate
name: small wooden crate
description: solid wooden crate
parent: CP14BaseSmallCrate
components:
- type: Sprite
sprite: _CP14/Structures/Storage/Crates/small_wooden_crate.rsi

Binary file not shown.

After

Width:  |  Height:  |  Size: 856 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 665 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 594 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 642 B

View File

@@ -0,0 +1,35 @@
{
"version": 1,
"license": "All rights reserved for the CrystallPunk14 project only",
"copyright": "Created by Jaraten (github/discord) for CrystallPunk14",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "fill-1"
},
{
"name": "fill-2"
},
{
"name": "fill-3"
},
{
"name": "equipped-HELMET",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 483 B

After

Width:  |  Height:  |  Size: 698 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 454 B

After

Width:  |  Height:  |  Size: 732 B

View File

@@ -1,7 +1,7 @@
{
"version": 1,
"license": "All rights reserved for the CrystallPunk14 project only",
"copyright": "Created by TheShuEd (Github) for CrystallPunk14",
"copyright": "Created by TheShuEd (Github) for CrystallPunk14 and resprite by Jaraten",
"size": {
"x": 32,
"y": 32

Binary file not shown.

Before

Width:  |  Height:  |  Size: 737 B

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 636 B

After

Width:  |  Height:  |  Size: 901 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 737 B

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 652 B

After

Width:  |  Height:  |  Size: 676 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 606 B

After

Width:  |  Height:  |  Size: 882 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 559 B

After

Width:  |  Height:  |  Size: 736 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 602 B

After

Width:  |  Height:  |  Size: 700 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 299 B

After

Width:  |  Height:  |  Size: 660 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 808 B

After

Width:  |  Height:  |  Size: 792 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 827 B

After

Width:  |  Height:  |  Size: 799 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 445 B

After

Width:  |  Height:  |  Size: 496 B

View File

@@ -3,8 +3,8 @@
"license": "All rights reserved for the CrystallPunk14 project only",
"copyright": "Created by jaraten(discord) for CrystallPunk14",
"size": {
"x": 32,
"y": 32
"x": 48,
"y": 48
},
"states": [
{

Binary file not shown.

Before

Width:  |  Height:  |  Size: 408 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"license": "All rights reserved for the CrystallPunk14 project only",
"copyright": "Created by Jaraten (Github/discord) for CrystallPunk",
"size": {
"x": 32,
"y": 48
},
"states": [
{
"name": "icon"
},
{
"name": "open"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 805 B

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"license": "All rights reserved for the CrystallPunk14 project only",
"copyright": "Created by Jaraten (Github/discord) for CrystallPunk",
"size": {
"x": 32,
"y": 48
},
"states": [
{
"name": "icon"
},
{
"name": "open"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 909 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 599 B

After

Width:  |  Height:  |  Size: 701 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB