Участник:IanComradeBot/prototype/Entity/Bed.json: различия между версиями

Материал из Space Station 14 Вики
Update prototype/Entity/Bed.json via GitHub Actions
 
м Update prototype/Entity/Bed.json via GitHub Actions
 
(не показана 1 промежуточная версия этого же участника)
Строка 1: Строка 1:
{
{
"name": "bed",
"description": "This is used to lie in, sleep in or strap on. Resting here provides extremely slow healing.",
"placement": {
"snap": [],
"mode": "SnapgridCenter"
},
"parent": [
"parent": [
"BaseStructure"
"BaseBed",
"StructureHealthFurniture"
],
],
"description": "This is used to lie in, sleep in or strap on. Resting here provides extremely slow healing.",
"name": "bed",
"components": {
"components": {
"type:HealOnBuckle": {
"Destructible": {
"thresholds": [
{
"trigger": {
"!type:DamageTrigger": {
"damage": 40
}
},
"behaviors": [
{
"!type:PlaySoundBehavior": {
"sound": {
"!type:SoundCollectionSpecifier": {
"collection": "MetalBreak"
}
}
}
},
{
"!type:SpawnEntitiesBehavior": {
"spawn": {
"SheetSteel1": {
"min": 1,
"max": 2
}
}
}
},
{
"!type:DoActsBehavior": {
"acts": "Destruction"
}
}
]
}
]
},
"HealOnBuckle": {
"damage": {
"damage": {
"types": {
"types": {
Строка 14: Строка 56:
}
}
},
},
"type:Physics": {},
"Physics": {},
"type:Fixtures": {
"Fixtures": {
"fixtures": {
"fixtures": {
"fix1": {
"fix1": {
Строка 28: Строка 70:
}
}
},
},
"density": 190,
"mask": [
"mask": [
"Impassable",
"Impassable",
"TableLayer"
"TableLayer"
],
]
"density": 190
}
}
}
}
},
},
"type:Strap": {
"Strap": {
"unbuckleSound": {
"unbuckleSound": {
"!type:SoundPathSpecifier": {
"!type:SoundPathSpecifier": {
Строка 42: Строка 84:
}
}
},
},
"rotation": "-1.5707963267948966 rad",
"position": "Down",
"buckleSound": {
"buckleSound": {
"!type:SoundPathSpecifier": {
"!type:SoundPathSpecifier": {
Строка 47: Строка 91:
}
}
},
},
"rotation": "-1.5707963267948966 rad",
"position": "Down",
"buckledEntities": []
"buckledEntities": []
},
},
"type:Construction": {
"Construction": {
"containers": [],
"node": "bed",
"node": "bed",
"graph": "bed"
"graph": "bed",
"containers": []
},
},
"type:PlaceableSurface": {
"PlaceableSurface": {
"placeCentered": true
"placeCentered": true
},
},
"type:Damageable": {
"Transform": {
"noRot": true,
"anchored": true
},
"Anchorable": {},
"Pullable": {},
"GravityAffected": {},
"Tag": {
"tags": [
"Structure"
]
},
"Damageable": {
"radiationDamageTypes": [
"radiationDamageTypes": [
"Radiation"
"Radiation"
]
},
"Injurable": {
"painDamageGroups": [
"Brute",
"Burn"
],
],
"damageModifierSet": "Metallic"
},
"type:Injurable": {
"healthIcons": {
"healthIcons": {
"Alive": "HealthIconFine",
"Alive": "HealthIconFine",
Строка 71: Строка 128:
"Dead": "HealthIconDead"
"Dead": "HealthIconDead"
},
},
"painDamageGroups": [
"damageContainer": "StructuralInorganic"
"Brute",
"Burn"
],
"damageContainer": "Inorganic"
},
"type:Destructible": {
"thresholds": [
{
"behaviors": [
{
"!type:DoActsBehavior": {
"acts": "Destruction"
}
},
{
"!type:SpawnEntitiesBehavior": {
"spawn": {
"SheetSteel1": {
"max": 2,
"min": 1
}
}
}
}
],
"trigger": {
"!type:DamageTrigger": {
"damage": 75
}
}
}
]
},
},
"type:Transform": {
"Clickable": {},
"anchored": true,
"Sprite": {
"sprite": "Structures/Furniture/furniture.rsi",
"state": "bed",
"noRot": true
"noRot": true
},
"type:Anchorable": {},
"type:Pullable": {},
"type:GravityAffected": {},
"type:Tag": {
"tags": [
"Structure"
]
}
}
},
"placement": {
"snap": [],
"mode": "SnapgridCenter"
}
}
}
}

Текущая версия от 00:58, 3 сентября 2026

name"bed"
description"This is used to lie in, sleep in or strap on. Resting here provides extremely slow healing."
placement
snap
Пустой массив
mode"SnapgridCenter"
parent
"BaseBed"
"StructureHealthFurniture"
components
Destructible
thresholds
trigger
!type:DamageTrigger
damage40
behaviors
!type:PlaySoundBehavior
sound
!type:SoundCollectionSpecifier
collection"MetalBreak"
!type:SpawnEntitiesBehavior
spawn
SheetSteel1
min1
max2
!type:DoActsBehavior
acts"Destruction"
HealOnBuckle
damage
types
Poison-0.1
Blunt-0.1
Physics
Пустой объект
Fixtures
fixtures
fix1
shape
!type:PolygonShape
vertices
"-0.45,-0.45"
"0.45,-0.45"
"0.45,0.05"
"-0.45,0.05"
density190
mask
"Impassable"
"TableLayer"
Strap
unbuckleSound
!type:SoundPathSpecifier
path"/Audio/Effects/unbuckle.ogg"
rotation"-1.5707963267948966 rad"
position"Down"
buckleSound
!type:SoundPathSpecifier
path"/Audio/Effects/buckle.ogg"
buckledEntities
Пустой массив
Construction
node"bed"
graph"bed"
containers
Пустой массив
PlaceableSurface
placeCenteredtrue
Transform
noRottrue
anchoredtrue
Anchorable
Пустой объект
Pullable
Пустой объект
GravityAffected
Пустой объект
Tag
tags
"Structure"
Damageable
radiationDamageTypes
"Radiation"
Injurable
painDamageGroups
"Brute"
"Burn"
healthIcons
Alive"HealthIconFine"
Critical"HealthIconCritical"
Dead"HealthIconDead"
damageContainer"StructuralInorganic"
Clickable
Пустой объект
Sprite
sprite"Structures/Furniture/furniture.rsi"
state"bed"
noRottrue