Paintings (#479)

* oppa

* fix

* Update Resources/Textures/_CP14/Structures/Wallmount/wallmount_painting.rsi/meta.json

---------

Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com>
This commit is contained in:
Nim
2024-10-04 21:18:01 +03:00
committed by GitHub
parent c55241355e
commit 21ea4290a5
7 changed files with 90 additions and 1 deletions

View File

@@ -0,0 +1,63 @@
- type: entity
id: CP14BaseWallmountPainting
parent: CP14BaseWallmount
abstract: true
components:
- type: Damageable
damageContainer: Inorganic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 20
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: CP14WallmountPaintingSkull
name: skull painting
parent: CP14BaseWallmountPainting
description: A bizarre skull painting. Depressing.
components:
- type: Sprite
sprite: _CP14/Structures/Wallmount/wallmount_painting.rsi
state: skull_painting
- type: entity
id: CP14WallmountPaintingCandle
name: candle painting
parent: CP14BaseWallmountPainting
description: A nicely drawn candle in a frame.
components:
- type: Sprite
sprite: _CP14/Structures/Wallmount/wallmount_painting.rsi
state: candle_painting
- type: entity
id: CP14WallmountPaintingWoman
name: painting of a woman
parent: CP14BaseWallmountPainting
description: The painting depicts a woman with a mysterious smile.
components:
- type: Sprite
sprite: _CP14/Structures/Wallmount/wallmount_painting.rsi
state: painting_woman
- type: entity
id: CP14WallmountPaintingSaint
name: painting of a saint
parent: CP14BaseWallmountPainting
description: A drawing of a nun with a halo over her head. This is how you can feel the holiness of the picture.
components:
- type: Sprite
sprite: _CP14/Structures/Wallmount/wallmount_painting.rsi
state: painting_saint
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 60
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]

View File

@@ -177,4 +177,3 @@
- map: ["enum.StorageFillLayers.Fill"]
- type: StorageFillVisualizer
fillBaseName: bottleB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,27 @@
{
"version": 1,
"license": "CLA",
"copyright": "Created by Max Gab for CrystallPunk14",
"size": {
"x": 32,
"y": 96
},
"states": [
{
"name": "skull_painting",
"directions": 4
},
{
"name": "candle_painting",
"directions": 4
},
{
"name": "painting_woman",
"directions": 4
},
{
"name": "painting_saint",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB