add&resprite furnitures (#196)
* add&resprite furnitures * license and sprite fix --------- Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com>
@@ -0,0 +1,52 @@
|
||||
- type: entity
|
||||
name: wooden bed
|
||||
id: CP14WoodenBed
|
||||
parent: BaseStructure
|
||||
description: Wooden bed. Better than nothing.
|
||||
components:
|
||||
- type: HealOnBuckle
|
||||
damage:
|
||||
types:
|
||||
Poison: -0.1
|
||||
Blunt: -0.1
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.45,-0.45,0.45,0.05"
|
||||
density: 190
|
||||
mask:
|
||||
- TableMask
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Furniture/wooden_bed.rsi
|
||||
state: icon
|
||||
noRot: true
|
||||
- type: Strap
|
||||
position: Down
|
||||
rotation: -90
|
||||
- type: PlaceableSurface
|
||||
placeCentered: true
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Wood
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 75
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
MaterialWoodPlank:
|
||||
min: 1
|
||||
max: 2
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: true
|
||||
- type: Anchorable
|
||||
- type: Pullable
|
||||
@@ -0,0 +1,162 @@
|
||||
- type: entity
|
||||
id: CP14DresserBase
|
||||
parent: BaseStructure
|
||||
abstract: true
|
||||
components:
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
layers:
|
||||
- map: [ base ]
|
||||
state: icon
|
||||
- type: Storage
|
||||
grid:
|
||||
- 0,0,6,3
|
||||
maxItemSize: Normal
|
||||
- type: ContainerContainer
|
||||
containers:
|
||||
storagebase: !type:Container
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
enum.StorageUiKey.Key:
|
||||
type: StorageBoundUserInterface
|
||||
- type: GenericVisualizer
|
||||
visuals:
|
||||
enum.StorageVisuals.Open:
|
||||
base:
|
||||
True: { state: icon-open }
|
||||
False: { state: icon }
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.45,-0.25,0.45,0.55"
|
||||
density: 155
|
||||
mask:
|
||||
- MachineMask
|
||||
layer:
|
||||
- WallLayer
|
||||
- type: InteractionOutline
|
||||
- type: Clickable
|
||||
- type: Anchorable
|
||||
- type: Rotatable
|
||||
- type: Appearance
|
||||
|
||||
- type: entity
|
||||
id: CP14ClosetBase
|
||||
parent: BaseStructureDynamic
|
||||
name: closet
|
||||
description: Just an ordinary, decrepit closet.
|
||||
abstract: true
|
||||
components:
|
||||
- type: ResistLocker
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
layers:
|
||||
- state: base
|
||||
map: ["enum.StorageVisualLayers.Base"]
|
||||
- state: base_door
|
||||
map: ["enum.StorageVisualLayers.Door"]
|
||||
- type: MovedByPressure
|
||||
- type: ItemSlots
|
||||
- type: DamageOnHighSpeedImpact
|
||||
damage:
|
||||
types:
|
||||
Blunt: 5
|
||||
soundHit:
|
||||
collection: MetalThud
|
||||
- type: InteractionOutline
|
||||
- type: Physics
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.45,-0.48,0.45,0.28"
|
||||
density: 75
|
||||
mask:
|
||||
- MachineMask
|
||||
layer:
|
||||
- MachineLayer
|
||||
- type: EntityStorage
|
||||
- type: ContainerContainer
|
||||
containers:
|
||||
entity_storage: !type:Container
|
||||
paper_label: !type:ContainerSlot
|
||||
- type: PlaceableSurface
|
||||
placeCentered: true
|
||||
isPlaceable: false
|
||||
- type: Damageable
|
||||
damageContainer: StructuralInorganic
|
||||
damageModifierSet: StructuralMetallic
|
||||
- type: Appearance
|
||||
- type: EntityStorageVisuals
|
||||
stateBaseClosed: base
|
||||
stateDoorOpen: base_open
|
||||
stateDoorClosed: base_door
|
||||
- type: StaticPrice
|
||||
price: 50
|
||||
- type: Anchorable
|
||||
- type: Rotatable
|
||||
|
||||
- type: entity
|
||||
name: wooden dresser
|
||||
parent:
|
||||
- CP14DresserBase
|
||||
- CP14BaseWooden
|
||||
id: CP14WoodenDresser
|
||||
description: A regular wooden dresser.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Storage/Dressers/wood_dresser.rsi
|
||||
state: icons
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 50
|
||||
|
||||
behaviors:
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
CP14WoodenPlanks1:
|
||||
min: 3
|
||||
max: 3
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
|
||||
- type: entity
|
||||
name: wooden cupboard
|
||||
parent:
|
||||
- CP14ClosetBase
|
||||
- CP14BaseWooden
|
||||
id: CP14WoodenCupboard
|
||||
description: It's a regular wooden cabinet.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Storage/Dressers/wood_cupboard.rsi
|
||||
state: icons
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 300
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 150
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: WoodDestroyHeavy
|
||||
params:
|
||||
volume: -6
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
CP14WoodenPlanks1:
|
||||
min: 1
|
||||
max: 1
|
||||
@@ -1,7 +1,6 @@
|
||||
- type: entity
|
||||
id: CP14WallmountTorch
|
||||
name: wallmount torch
|
||||
description: A good, reliable light source. Too bad it doesn't last.
|
||||
id: BaseWallmount
|
||||
abstract: true
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
@@ -11,6 +10,14 @@
|
||||
- type: InteractionOutline
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
|
||||
- type: entity
|
||||
id: CP14WallmountTorch
|
||||
name: wallmount torch
|
||||
parent: BaseWallmount
|
||||
description: A good, reliable light source. Too bad it doesn't last.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Furniture/wallmount_torch.rsi
|
||||
layers:
|
||||
- state: base
|
||||
@@ -74,16 +81,10 @@
|
||||
- type: entity
|
||||
id: CP14WallmountLamp
|
||||
name: eternal flame lamp
|
||||
parent: BaseWallmount
|
||||
description: A fragile eternal blue fire as proof of the superiority of magic over nature.
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
- type: Transform
|
||||
anchored: true
|
||||
- type: Clickable
|
||||
- type: InteractionOutline
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
sprite: _CP14/Structures/Wallmount/wallmount_lamp.rsi
|
||||
layers:
|
||||
- state: base
|
||||
@@ -105,4 +106,50 @@
|
||||
damage: 40
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
acts: [ "Destruction" ]
|
||||
|
||||
- type: entity
|
||||
id: CP14WallmountBarShelfA
|
||||
name: bar shelf
|
||||
suffix: 1
|
||||
parent: BaseWallmount
|
||||
description: buba. ##TODO
|
||||
components:
|
||||
- type: Appearance
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Wallmount/wallmount_bar_shelf.rsi
|
||||
layers:
|
||||
- state: shelf
|
||||
- state: bottleA-0
|
||||
- map: ["enum.StorageFillLayers.Fill"]
|
||||
- type: StorageFillVisualizer
|
||||
maxFillLevels: 7
|
||||
fillBaseName: bottleA
|
||||
- type: Storage
|
||||
grid:
|
||||
- 0,0,5,3
|
||||
maxItemSize: Normal
|
||||
## whitelist: TODO
|
||||
## tags:
|
||||
## - CP14Bottles
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
enum.StorageUiKey.Key:
|
||||
type: StorageBoundUserInterface
|
||||
- type: ContainerContainer
|
||||
containers:
|
||||
storagebase: !type:Container
|
||||
|
||||
- type: entity
|
||||
id: CP14WallmountBarShelfB
|
||||
suffix: 2
|
||||
parent: CP14WallmountBarShelfA
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: shelf
|
||||
- state: bottleB-0
|
||||
- map: ["enum.StorageFillLayers.Fill"]
|
||||
- type: StorageFillVisualizer
|
||||
fillBaseName: bottleB
|
||||
|
||||
@@ -20,4 +20,7 @@
|
||||
id: CP14FitInMortar
|
||||
|
||||
- type: Tag
|
||||
id: CP14Pestle
|
||||
id: CP14Pestle
|
||||
|
||||
- type: Tag
|
||||
id: CP14Bottles
|
||||
|
||||
|
Before Width: | Height: | Size: 404 B After Width: | Height: | Size: 549 B |
|
Before Width: | Height: | Size: 465 B After Width: | Height: | Size: 554 B |
|
Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 558 B |
|
Before Width: | Height: | Size: 365 B After Width: | Height: | Size: 362 B |
|
Before Width: | Height: | Size: 485 B After Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 613 B After Width: | Height: | Size: 628 B |
|
Before Width: | Height: | Size: 575 B After Width: | Height: | Size: 454 B |
|
Before Width: | Height: | Size: 882 B After Width: | Height: | Size: 737 B |
|
Before Width: | Height: | Size: 829 B After Width: | Height: | Size: 636 B |
|
Before Width: | Height: | Size: 882 B After Width: | Height: | Size: 737 B |
|
Before Width: | Height: | Size: 903 B After Width: | Height: | Size: 652 B |
|
Before Width: | Height: | Size: 775 B After Width: | Height: | Size: 606 B |
|
Before Width: | Height: | Size: 912 B After Width: | Height: | Size: 559 B |
|
Before Width: | Height: | Size: 837 B After Width: | Height: | Size: 602 B |
|
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 299 B |
|
Before Width: | Height: | Size: 906 B After Width: | Height: | Size: 808 B |
|
Before Width: | Height: | Size: 888 B After Width: | Height: | Size: 827 B |
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Created by Prazat, modified by TheShuEd",
|
||||
"license": "All rights reserved for the CrystallPunk14 project only",
|
||||
"copyright": "Created by Prazat, modified by TheShuEd and Jaraten",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 528 B |
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "All rights reserved for the CrystallPunk14 project only",
|
||||
"copyright": "Created by jaraten(discord) for CrystallPunk14",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "icon"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 505 B After Width: | Height: | Size: 506 B |
|
Before Width: | Height: | Size: 796 B After Width: | Height: | Size: 789 B |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 599 B |
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "All rights reserved for the CrystallPunk14 project only",
|
||||
"copyright": "Created by jaraten(discord) for CrystallPunk14",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 96
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "base",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "base_open",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "base_door",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "All rights reserved for the CrystallPunk14 project only",
|
||||
"copyright": "Created by jaraten(discord) for CrystallPunk14",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 96
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "icon",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "icon-open",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 141 B |
|
After Width: | Height: | Size: 559 B |
|
After Width: | Height: | Size: 1002 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 141 B |
|
After Width: | Height: | Size: 545 B |
|
After Width: | Height: | Size: 888 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Created by jaraten(discord) for CrystallPunk14",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 96
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "bottleA-0",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "shelf",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "bottleA-1",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "bottleA-2",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "bottleA-3",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "bottleA-4",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "bottleA-5",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "bottleA-6",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "bottleB-0",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "bottleB-1",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "bottleB-2",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "bottleB-3",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "bottleB-4",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "bottleB-5",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "bottleB-6",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 703 B |
|
Before Width: | Height: | Size: 669 B After Width: | Height: | Size: 396 B |
|
Before Width: | Height: | Size: 362 B After Width: | Height: | Size: 343 B |
|
Before Width: | Height: | Size: 833 B After Width: | Height: | Size: 799 B |
|
Before Width: | Height: | Size: 853 B After Width: | Height: | Size: 454 B |