Decorative sprite pack (#1009)

* cobweb

* statue

* demiplan fun

* flowers

* head

* head

---------

Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com>
This commit is contained in:
Nim
2025-03-18 15:33:11 +02:00
committed by GitHub
parent 08bc5289cd
commit e4eea533a5
21 changed files with 380 additions and 2 deletions

View File

@@ -0,0 +1,66 @@
- type: entity
id: CP14CobwebRight1
parent:
- CP14BaseWallmount
- CP14BaseFlammable
name: cobweb
description: The sticky web is surprisingly strong and unpleasant.
categories: [ ForkFiltered ]
suffix: Right. Corner.
placement:
mode: SnapgridCenter
components:
- type: Clickable
- type: Sprite
sprite: _CP14/Structures/Decoration/cobweb.rsi
state: cobweb_right1
- type: Transform
anchored: true
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Wood
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 20
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: SpriteFade
- type: SpeedModifierContacts
walkSpeedModifier: 0.5
sprintSpeedModifier: 0.5
- type: CP14IgnitionModifier
ignitionTimeModifier: 0.75
hideCaution: true
- type: FireVisuals
sprite: Mobs/Effects/onfire.rsi
normalState: Mouse_burning # I need a burning sprite on the Wallmount
- type: entity
id: CP14CobwebLeft1
parent: CP14CobwebRight1
suffix: Left. Corner.
components:
- type: Sprite
sprite: _CP14/Structures/Decoration/cobweb.rsi
state: cobweb_left1
- type: entity
id: CP14CobwebLeft2
parent: CP14CobwebRight1
suffix: Left. Flat.
components:
- type: Sprite
sprite: _CP14/Structures/Decoration/cobweb.rsi
state: cobweb_left2
- type: entity
id: CP14CobwebRight2
parent: CP14CobwebLeft2
suffix: Right. Flat.
components:
- type: Sprite
sprite: _CP14/Structures/Decoration/cobweb.rsi
state: cobweb_right2

View File

@@ -158,7 +158,7 @@
shape:
!type:PhysShapeAabb
bounds: "-0.45,-0.45,0.45,0.45"
density: 60
density: 120
mask:
- MachineMask
layer:
@@ -213,3 +213,109 @@
map: ["ritual"]
visible: false
shader: unshaded
- type: entity
id: CP14StatueStoneHeadHigh
parent: BaseStructure
name: stone head
description: Strange stone heads, they seem to be watching.
categories: [ ForkFiltered ]
suffix: High
components:
- type: Sprite
noRot: true
sprite: _CP14/Structures/Decoration/stone_head_high.rsi
layers:
- state: statue_head_h
drawdepth: Mobs
offset: "0.0,0.5"
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.45,-0.45,0.45,0.45"
density: 200
mask:
- MachineMask
layer:
- MachineLayer
- type: Damageable
damageContainer: StructuralInorganic
damageModifierSet: Rock
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 150
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/break_stone.ogg
params:
volume: -4
- !type:SpawnEntitiesBehavior
spawn:
CP14StoneBlock1:
min: 4
max: 5
- type: entity
id: CP14StatueStoneHeadLow
parent: CP14StatueStoneHeadHigh
suffix: Low
components:
- type: Sprite
sprite: _CP14/Structures/Decoration/stone_head_low.rsi
layers:
- state: statue_head_l
- type: entity
id: CP14StatueWizard
parent: BaseStructure
name: statue wizard
description: A statue of a magician holding magic.
categories: [ ForkFiltered ]
components:
- type: Sprite
noRot: true
sprite: _CP14/Structures/Decoration/wizard_statue.rsi
layers:
- state: statue_wizard
drawdepth: Mobs
offset: "0.0,0.5"
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.20,-0.35,0.20,0.35"
density: 100
mask:
- MachineMask
layer:
- MachineLayer
- type: SpriteFade
- type: Damageable
damageContainer: StructuralInorganic
damageModifierSet: Rock
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 110
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/break_stone.ogg
params:
volume: -4
- !type:SpawnEntitiesBehavior
spawn:
CP14StoneBlock1:
min: 2
max: 3

View File

@@ -0,0 +1,87 @@
- type: entity
id: CP14PottedPlantBase
parent: BaseStructureDynamic
name: potted plant
description: A domesticated plant in a clay pot, more plants.
abstract: true
categories: [ ForkFiltered ]
components:
- type: SpriteFade
- type: Transform
noRot: true
- type: InteractionOutline
- type: Physics
bodyType: Dynamic
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.1
density: 120
mask:
- HighImpassable
- type: Sprite
drawdepth: Overdoors
offset: "0.0,0.3"
noRot: true
sprite: _CP14/Structures/Furniture/flowerpots.rsi
- type: Speech
speechVerb: Plant
- type: SecretStash
tryInsertItemSound: /Audio/Effects/plant_rustle.ogg
tryRemoveItemSound: /Audio/Effects/plant_rustle.ogg
secretStashName: secret-stash-plant
- type: ContainerContainer
containers:
stash: !type:ContainerSlot {}
- type: Pullable
- type: Damageable
damageContainer: StructuralInorganic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 50
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/plant_rustle.ogg
- type: entity
id: CP14PottedPlant1
parent: CP14PottedPlantBase
components:
- type: Sprite
layers:
- state: pot
- state: plant1
- type: entity
id: CP14PottedPlant2
parent: CP14PottedPlantBase
components:
- type: Sprite
layers:
- state: pot
- state: plant2
- type: entity
id: CP14PottedPlant3
parent: CP14PottedPlantBase
components:
- type: Sprite
layers:
- state: pot
- state: plant3
- type: entity
id: CP14PottedPlant4
parent: CP14PottedPlantBase
components:
- type: Sprite
layers:
- state: pot
- state: plant4

View File

@@ -44,4 +44,28 @@
entity: CP14BaseLucensTreeLarge
count: 10
minGroupSize: 1
maxGroupSize: 1
maxGroupSize: 1
- type: cp14DemiplaneModifier
id: StatueStoneHead
tiers:
- 1
- 2
- 3
generationWeight: 0.1
generationProb: 0.1
categories:
Fun: 1
requiredTags:
- CP14DemiplaneOpenSky
layers:
- !type:OreDunGen
entity: CP14StatueStoneHeadHigh
count: 1
minGroupSize: 1
maxGroupSize: 1
- !type:OreDunGen
entity: CP14StatueStoneHeadLow
count: 1
minGroupSize: 1
maxGroupSize: 1

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,27 @@
{
"version": 1,
"license": "All right reserved",
"copyright": "Created by vladimir.s ",
"size": {
"x": 32,
"y": 96
},
"states": [
{
"name": "cobweb_left1",
"directions": 4
},
{
"name": "cobweb_left2",
"directions": 4
},
{
"name": "cobweb_right1",
"directions": 4
},
{
"name": "cobweb_right2",
"directions": 4
}
]
}

View File

@@ -0,0 +1,14 @@
{
"version": 1,
"license": "CC-BY-SA-4.0",
"copyright": "Created by vladimir.s ",
"size": {
"x": 64,
"y": 80
},
"states": [
{
"name": "statue_head_h"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -0,0 +1,14 @@
{
"version": 1,
"license": "CC-BY-SA-4.0",
"copyright": "Created by vladimir.s ",
"size": {
"x": 48,
"y": 64
},
"states": [
{
"name": "statue_head_l"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,14 @@
{
"version": 1,
"license": "CC-BY-SA-4.0",
"copyright": "Created by vladimir.s ",
"size": {
"x": 32,
"y": 64
},
"states": [
{
"name": "statue_wizard"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,26 @@
{
"version": 1,
"license": "CC-BY-SA-4.0",
"copyright": "Created by vladimir.s",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "pot"
},
{
"name": "plant1"
},
{
"name": "plant2"
},
{
"name": "plant3"
},
{
"name": "plant4"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 968 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 571 B