Revert "vladimirs rocks"

This reverts commit b2c6a193fc.
This commit is contained in:
Ed
2024-10-08 22:37:26 +03:00
parent 9d7e042ddf
commit 4f2eaef6c1
19 changed files with 24 additions and 209 deletions

View File

@@ -1,115 +0,0 @@
- type: entity
id: CP14BaseRock
name: rock
description: A piece of rock. Hard, heavy, useless.
abstract: true
placement:
mode: SnapgridCenter
components:
- type: Clickable
- type: Sprite
drawdepth: Mobs
snapCardinals: true
- type: Physics
bodyType: Static
- type: Damageable
damageContainer: StructuralInorganic
damageModifierSet: Rock
- type: entity
id: CP14RockSmall
parent: CP14BaseRock
suffix: Small
components:
- type: Climbable
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.4
density: 500
layer:
- HalfWallLayer
- Opaque
- type: Sprite
sprite: _CP14/Structures/Flora/Rocks/rocks_small.rsi
offset: 0,0.2
layers:
- state: rock0
map: ["random"]
- type: RandomSprite
available:
- random:
rock0: ""
rock1: ""
rock2: ""
rock3: ""
rock4: ""
rock5: ""
rock7: ""
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 75
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/break_stone.ogg
params:
volume: -6
- !type:SpawnEntitiesBehavior
spawn:
CP14StoneBlock1:
min: 2
max: 3
- type: entity
id: CP14RockBig
parent: CP14BaseRock
suffix: Big
components:
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.5
density: 1500
layer:
- WallLayer
- type: Sprite
sprite: _CP14/Structures/Flora/Rocks/rocks_big.rsi
offset: 0,0.5
layers:
- state: rock0
map: ["random"]
- type: RandomSprite
available:
- random:
rock0: ""
rock1: ""
rock2: ""
rock3: ""
rock4: ""
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 150
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/break_stone.ogg
params:
volume: -6
- !type:SpawnEntitiesBehavior
spawn:
CP14StoneBlock1:
min: 5
max: 8

View File

@@ -28,8 +28,30 @@
allowedTiles:
- CP14FloorBase
entities:
- CP14RockSmall
- CP14RockSmall
- FloraGreyStalagmite1
- FloraGreyStalagmite2
- FloraGreyStalagmite3
- FloraGreyStalagmite4
- FloraGreyStalagmite5
- FloraRockSolid01
- FloraRockSolid02
- FloraRockSolid03
- FloraGreyStalagmite1
- FloraGreyStalagmite2
- FloraGreyStalagmite3
- FloraGreyStalagmite4
- FloraGreyStalagmite5
- FloraRockSolid01
- FloraRockSolid02
- FloraRockSolid03
- FloraGreyStalagmite1
- FloraGreyStalagmite2
- FloraGreyStalagmite3
- FloraGreyStalagmite4
- FloraGreyStalagmite5
- FloraRockSolid01
- FloraRockSolid02
- FloraRockSolid03
- CP14QuartzCrystal
- !type:BiomeEntityLayer # lumishroom sage
threshold: 0.6

View File

@@ -208,32 +208,6 @@
- CP14FloorGrass
entities:
- CP14GatherableWildSage
- !type:BiomeEntityLayer # More Rocks
threshold: 0.7
noise:
seed: 18
noiseType: OpenSimplex2
fractalType: FBm
frequency: 3
allowedTiles:
- CP14FloorGrass
- CP14FloorGrassLight
- CP14FloorGrassTall
entities:
- CP14RockSmall
- !type:BiomeEntityLayer # More Rocks
threshold: 0.8
noise:
seed: 27
noiseType: OpenSimplex2
fractalType: FBm
frequency: 2
allowedTiles:
- CP14FloorGrass
- CP14FloorGrassLight
- CP14FloorGrassTall
entities:
- CP14RockBig
# Подбиомы лугов
@@ -251,8 +225,6 @@
frequency: 2
allowedTiles:
- CP14FloorGrass
- CP14FloorGrassLight
- CP14FloorGrassTall
entities:
- CP14FloraTree01
- CP14FloraTree02

View File

@@ -1,26 +0,0 @@
{
"version": 1,
"license": "CLA",
"copyright": "created by vladimir.s",
"size": {
"x": 48,
"y": 64
},
"states": [
{
"name": "rock0"
},
{
"name": "rock1"
},
{
"name": "rock2"
},
{
"name": "rock3"
},
{
"name": "rock4"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1014 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1009 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -1,38 +0,0 @@
{
"version": 1,
"license": "CLA",
"copyright": "created by vladimir.s",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "rock0"
},
{
"name": "rock1"
},
{
"name": "rock2"
},
{
"name": "rock3"
},
{
"name": "rock4"
},
{
"name": "rock5"
},
{
"name": "rock6"
},
{
"name": "rock7"
},
{
"name": "rock8"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 753 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 607 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 652 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 539 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 440 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 673 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 277 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 712 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 248 B