Tiles update + iron bards (#260)

* wooden tiles update

* add iron bars

* dirt tile update

* fix foundation tile
This commit is contained in:
Ed
2024-06-21 00:18:47 +03:00
committed by GitHub
parent ec3efce19c
commit 03adbaf851
44 changed files with 281 additions and 20 deletions

View File

@@ -0,0 +1,163 @@
- type: entity
parent:
- BaseStructure
id: CP14IronGrilleBase
name: iron grille
description: A strong barrier made of iron bars welded together.
abstract: true
components:
- type: Sprite
sprite: _CP14/Structures/Walls/iron_grille.rsi
drawdepth: Mobs
- type: Physics
bodyType: Static
- type: Transform
anchored: true
- type: Damageable
damageContainer: Inorganic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 125
behaviors:
#- !type:PlaySoundBehavior
# sound:
# collection: WoodDestroy
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
parent: CP14IronGrilleBase
id: CP14IronGrilleStraight
suffix: Straight
components:
- type: Icon
sprite: _CP14/Structures/Walls/iron_grille.rsi
state: straight
- type: Sprite
layers:
- state: straight
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.1,-0.5,0.1,0.5"
density: 1000
mask:
- FullTileMask
layer:
- MidImpassable
- LowImpassable
- type: entity
parent: CP14IronGrilleBase
id: CP14IronGrilleCorner
suffix: Corner
components:
- type: Icon
sprite: _CP14/Structures/Walls/iron_grille.rsi
state: corner
- type: Sprite
layers:
- state: corner
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.1,-0.1,0.1,0.5"
density: 1000
mask:
- TableMask
layer:
- TableLayer
fix2:
shape:
!type:PhysShapeAabb
bounds: "-0.5,-0.1,-0.1,0.1"
density: 1000
mask:
- TableMask
layer:
- MidImpassable
- LowImpassable
- type: entity
parent: CP14IronGrilleBase
id: CP14IronGrilleTJunction
suffix: T-Junction
components:
- type: Icon
sprite: _CP14/Structures/Walls/iron_grille.rsi
state: tjunction
- type: Sprite
layers:
- state: tjunction
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.10,-0.5,0.10,0.5"
density: 1000
mask:
- TableMask
layer:
- TableLayer
fix2:
shape:
!type:PhysShapeAabb
bounds: "-0.5,-0.1,-0.1,0.1"
density: 1000
mask:
- TableMask
layer:
- MidImpassable
- LowImpassable
- type: entity
parent: CP14IronGrilleBase
id: CP14IronGrilleGate
name: iron grille gate
description: Do you have any idea what awaits you behind these gates? It can be either a toilet or a luxurious mansion.
components:
- type: Sprite
drawdepth: Mobs
layers:
- state: door_closed
map: ["enum.DoorVisualLayers.Base"]
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.1,-0.5,0.1,0.5"
density: 1000
mask:
- FullTileMask
layer:
- MidImpassable
- LowImpassable
- type: InteractionOutline
- type: Door
openSpriteState: door_opened
closedSpriteState: door_closed
canPry: false
occludes: false
changeAirtight: false
bumpOpen: false
clickOpen: true
canCrush: false
closeTimeOne: 0
closeTimeTwo: 0
openTimeOne: 0
openTimeTwo: 0
openingAnimationTime: 0
closingAnimationTime: 0
openSound:
path: /Audio/Effects/door_open.ogg
closeSound:
path: /Audio/Effects/door_close.ogg
- type: Appearance

View File

@@ -40,7 +40,6 @@
acts: [ "Destruction" ]
- type: Climbable
delay: 5.0
- type: Appearance
- type: entity
parent: CP14BaseFenceWood
@@ -163,9 +162,10 @@
parent: CP14BaseFenceWood
id: CP14FenceWoodHighGate
name: wooden fence gate
description: Do you have any idea what awaits you behind these gates? It can be either a toilet or a luxurious mansion. But you continue to love your emo boys.
description: Do you have any idea what awaits you behind these gates? It can be either a toilet or a luxurious mansion.
components:
- type: Sprite
drawdepth: Mobs
layers:
- state: door_closed
map: ["enum.DoorVisualLayers.Base"]
@@ -174,7 +174,7 @@
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.5,-0.1,0.5,0.1"
bounds: "-0.1,-0.5,0.1,0.5"
density: 1000
mask:
- FullTileMask
@@ -201,6 +201,7 @@
path: /Audio/Effects/door_open.ogg
closeSound:
path: /Audio/Effects/door_close.ogg
- type: Appearance
#Small
- type: entity
@@ -300,6 +301,7 @@
description: Looking at this gate, a familiar image pops up in your head. Where's my piggy?
components:
- type: Sprite
drawdepth: Mobs
layers:
- state: door_closed_small
map: ["enum.DoorVisualLayers.Base"]
@@ -334,4 +336,5 @@
openSound:
path: /Audio/Effects/door_open.ogg
closeSound:
path: /Audio/Effects/door_close.ogg
path: /Audio/Effects/door_close.ogg
- type: Appearance

View File

@@ -23,14 +23,14 @@
- 1.0
edgeSpritePriority: 1
edgeSprites:
SouthEast: /Textures/_CP14/Tiles/Dirt/single_edge.png
NorthEast: /Textures/_CP14/Tiles/Dirt/single_edge.png
NorthWest: /Textures/_CP14/Tiles/Dirt/single_edge.png
SouthWest: /Textures/_CP14/Tiles/Dirt/single_edge.png
South: /Textures/_CP14/Tiles/Dirt/double_edge.png
East: /Textures/_CP14/Tiles/Dirt/double_edge.png
North: /Textures/_CP14/Tiles/Dirt/double_edge.png
West: /Textures/_CP14/Tiles/Dirt/double_edge.png
SouthEast: /Textures/_CP14/Tiles/Dirt/single_edge_SE.png
NorthEast: /Textures/_CP14/Tiles/Dirt/single_edge_NE.png
NorthWest: /Textures/_CP14/Tiles/Dirt/single_edge_NW.png
SouthWest: /Textures/_CP14/Tiles/Dirt/single_edge_SW.png
South: /Textures/_CP14/Tiles/Dirt/double_edge_S.png
East: /Textures/_CP14/Tiles/Dirt/double_edge_E.png
North: /Textures/_CP14/Tiles/Dirt/double_edge_N.png
West: /Textures/_CP14/Tiles/Dirt/double_edge_W.png
baseTurf: CP14FloorBase
deconstructTools: [ CP14Digging ]
itemDrop: CP14RandomDirtLootSpawner

View File

@@ -3,11 +3,15 @@
id: CP14FloorFoundation
name: cp14-tiles-foundation
sprite: /Textures/_CP14/Tiles/Foundation/foundation.png
variants: 2
variants: 6
placementVariants:
- 1.0
- 1.0
edgeSpritePriority: 1
- 1.0
- 1.0
- 1.0
- 1.0
edgeSpritePriority: 99
edgeSprites:
SouthEast: /Textures/_CP14/Tiles/Foundation/single_edge.png
NorthEast: /Textures/_CP14/Tiles/Foundation/single_edge.png
@@ -28,13 +32,23 @@
editorHidden: false
id: CP14FloorWoodPlanks
name: cp14-tiles-woodplanks
sprite: /Textures/_CP14/Tiles/woodplanks.png
sprite: /Textures/_CP14/Tiles/WoodPlanks/woodplanks.png
variants: 4
placementVariants:
- 1.0
- 1.0
- 1.0
- 1.0
edgeSpritePriority: 100
edgeSprites:
SouthEast: /Textures/_CP14/Tiles/WoodPlanks/single_edge_SE.png
NorthEast: /Textures/_CP14/Tiles/WoodPlanks/single_edge_NE.png
NorthWest: /Textures/_CP14/Tiles/WoodPlanks/single_edge_NW.png
SouthWest: /Textures/_CP14/Tiles/WoodPlanks/single_edge_SW.png
South: /Textures/_CP14/Tiles/WoodPlanks/double_edge_S.png
East: /Textures/_CP14/Tiles/WoodPlanks/double_edge_E.png
North: /Textures/_CP14/Tiles/WoodPlanks/double_edge_N.png
West: /Textures/_CP14/Tiles/WoodPlanks/double_edge_W.png
baseTurf: CP14FloorFoundation
isSubfloor: false
footstepSounds:
@@ -47,13 +61,23 @@
editorHidden: false
id: CP14FloorWoodPlanksBroken
name: cp14-tiles-woodplanks-broken
sprite: /Textures/_CP14/Tiles/woodplanks_broken.png
sprite: /Textures/_CP14/Tiles/WoodPlanks/woodplanks_broken.png
variants: 4
placementVariants:
- 1.0
- 1.0
- 1.0
- 1.0
edgeSpritePriority: 100
edgeSprites:
SouthEast: /Textures/_CP14/Tiles/WoodPlanks/single_edge_SE.png
NorthEast: /Textures/_CP14/Tiles/WoodPlanks/single_edge_NE.png
NorthWest: /Textures/_CP14/Tiles/WoodPlanks/single_edge_NW.png
SouthWest: /Textures/_CP14/Tiles/WoodPlanks/single_edge_SW.png
South: /Textures/_CP14/Tiles/WoodPlanks/double_edge_S.png
East: /Textures/_CP14/Tiles/WoodPlanks/double_edge_E.png
North: /Textures/_CP14/Tiles/WoodPlanks/double_edge_N.png
West: /Textures/_CP14/Tiles/WoodPlanks/double_edge_W.png
baseTurf: CP14FloorFoundation
isSubfloor: false
footstepSounds:
@@ -66,13 +90,23 @@
editorHidden: false
id: CP14FloorWoodPlanksBurned
name: cp14-tiles-woodplanks-burned
sprite: /Textures/_CP14/Tiles/woodplanks_burned.png
sprite: /Textures/_CP14/Tiles/WoodPlanksBurned/woodplanks_burned.png
variants: 4
placementVariants:
- 1.0
- 1.0
- 1.0
- 1.0
edgeSpritePriority: 100
edgeSprites:
SouthEast: /Textures/_CP14/Tiles/WoodPlanksBurned/single_edge_SE.png
NorthEast: /Textures/_CP14/Tiles/WoodPlanksBurned/single_edge_NE.png
NorthWest: /Textures/_CP14/Tiles/WoodPlanksBurned/single_edge_NW.png
SouthWest: /Textures/_CP14/Tiles/WoodPlanksBurned/single_edge_SW.png
South: /Textures/_CP14/Tiles/WoodPlanksBurned/double_edge_S.png
East: /Textures/_CP14/Tiles/WoodPlanksBurned/double_edge_E.png
North: /Textures/_CP14/Tiles/WoodPlanksBurned/double_edge_N.png
West: /Textures/_CP14/Tiles/WoodPlanksBurned/double_edge_W.png
baseTurf: CP14FloorFoundation
isSubfloor: false
footstepSounds:
@@ -83,13 +117,23 @@
editorHidden: false
id: CP14FloorWoodPlanksBig
name: cp14-tiles-woodplanks-big
sprite: /Textures/_CP14/Tiles/woodplanks_big.png
sprite: /Textures/_CP14/Tiles/WoodPlanks/woodplanks_big.png
variants: 4
placementVariants:
- 1.0
- 1.0
- 1.0
- 1.0
edgeSpritePriority: 100
edgeSprites:
SouthEast: /Textures/_CP14/Tiles/WoodPlanks/single_edge_SE.png
NorthEast: /Textures/_CP14/Tiles/WoodPlanks/single_edge_NE.png
NorthWest: /Textures/_CP14/Tiles/WoodPlanks/single_edge_NW.png
SouthWest: /Textures/_CP14/Tiles/WoodPlanks/single_edge_SW.png
South: /Textures/_CP14/Tiles/WoodPlanks/double_edge_S.png
East: /Textures/_CP14/Tiles/WoodPlanks/double_edge_E.png
North: /Textures/_CP14/Tiles/WoodPlanks/double_edge_N.png
West: /Textures/_CP14/Tiles/WoodPlanks/double_edge_W.png
baseTurf: CP14FloorFoundation
isSubfloor: false
footstepSounds:
@@ -102,13 +146,23 @@
editorHidden: false
id: CP14FloorWoodPlanksBigBroken
name: cp14-tiles-woodplanks-big-broken
sprite: /Textures/_CP14/Tiles/woodplanks_big_broken.png
sprite: /Textures/_CP14/Tiles/WoodPlanks/woodplanks_big_broken.png
variants: 4
placementVariants:
- 1.0
- 1.0
- 1.0
- 1.0
edgeSpritePriority: 100
edgeSprites:
SouthEast: /Textures/_CP14/Tiles/WoodPlanks/single_edge_SE.png
NorthEast: /Textures/_CP14/Tiles/WoodPlanks/single_edge_NE.png
NorthWest: /Textures/_CP14/Tiles/WoodPlanks/single_edge_NW.png
SouthWest: /Textures/_CP14/Tiles/WoodPlanks/single_edge_SW.png
South: /Textures/_CP14/Tiles/WoodPlanks/double_edge_S.png
East: /Textures/_CP14/Tiles/WoodPlanks/double_edge_E.png
North: /Textures/_CP14/Tiles/WoodPlanks/double_edge_N.png
West: /Textures/_CP14/Tiles/WoodPlanks/double_edge_W.png
baseTurf: CP14FloorFoundation
isSubfloor: false
footstepSounds:
@@ -121,13 +175,23 @@
editorHidden: false
id: CP14FloorWoodPlanksBigBurned
name: cp14-tiles-woodplanks-big-burned
sprite: /Textures/_CP14/Tiles/woodplanks_big_burned.png
sprite: /Textures/_CP14/Tiles/WoodPlanksBurned/woodplanks_big_burned.png
variants: 4
placementVariants:
- 1.0
- 1.0
- 1.0
- 1.0
edgeSpritePriority: 100
edgeSprites:
SouthEast: /Textures/_CP14/Tiles/WoodPlanksBurned/single_edge_SE.png
NorthEast: /Textures/_CP14/Tiles/WoodPlanksBurned/single_edge_NE.png
NorthWest: /Textures/_CP14/Tiles/WoodPlanksBurned/single_edge_NW.png
SouthWest: /Textures/_CP14/Tiles/WoodPlanksBurned/single_edge_SW.png
South: /Textures/_CP14/Tiles/WoodPlanksBurned/double_edge_S.png
East: /Textures/_CP14/Tiles/WoodPlanksBurned/double_edge_E.png
North: /Textures/_CP14/Tiles/WoodPlanksBurned/double_edge_N.png
West: /Textures/_CP14/Tiles/WoodPlanksBurned/double_edge_W.png
baseTurf: CP14FloorFoundation
isSubfloor: false
footstepSounds:

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -0,0 +1,31 @@
{
"version": 1,
"license": "All rights reserved for the CrystallPunk14 project only",
"copyright": "by TheShuEd (github)",
"size": {
"x": 32,
"y": 64
},
"states": [
{
"name": "straight",
"directions": 4
},
{
"name": "corner",
"directions": 4
},
{
"name": "door_closed",
"directions": 4
},
{
"name": "door_opened",
"directions": 4
},
{
"name": "tjunction",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1022 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1002 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1001 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 712 B

After

Width:  |  Height:  |  Size: 668 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 676 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 769 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 554 B

After

Width:  |  Height:  |  Size: 540 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 557 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 515 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 519 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 548 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 540 B

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 640 B

After

Width:  |  Height:  |  Size: 640 B

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 577 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 548 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 583 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 583 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 515 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 542 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 537 B

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB