doors update (#126)

This commit is contained in:
Ed
2024-05-03 18:22:10 +03:00
committed by GitHub
parent f9204832d2
commit e5246f1e76
4 changed files with 35 additions and 5 deletions

View File

@@ -6,17 +6,20 @@
suffix: without lock
components:
- type: Sprite
sprite: Structures/Doors/MineralDoors/wood_door.rsi
drawdepth: Mobs
sprite: _CP14/Structures/Doors/wooden_door.rsi
layers:
- state: closed
map: ["enum.DoorVisualLayers.Base"]
- type: Door
bumpOpen: false
clickOpen: true
closeTimeOne: 0.2
closeTimeTwo: 0.6
openTimeOne: 0.6
openTimeTwo: 0.2
closeTimeOne: 0
closeTimeTwo: 0
openTimeOne: 0
openTimeTwo: 0
closedDrawDepth: Mobs
openDrawDepth: Mobs
openSound:
path: /Audio/Effects/door_open.ogg
closeSound:
@@ -49,6 +52,14 @@
containers:
lock_slot: !type:ContainerSlot
- type: entity
parent: CP14BaseWoodDoor
id: CP14WoodDoorOpened
suffix: Opened
components:
- type: Lock
locked: false
- type: entity
parent: CP14BaseWoodDoor
id: CP14WoodDoorTavern

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@@ -0,0 +1,19 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "By jaraten(discord)",
"size": {
"x": 64,
"y": 96
},
"states": [
{
"name": "closed",
"directions": 4
},
{
"name": "open",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB