Участник:IanComradeBot/prototype/Entity/Morgue.json: различия между версиями
Update prototype/Entity/Morgue.json via GitHub Actions |
м Update prototype/Entity/Morgue.json via GitHub Actions |
||
| (не показана 1 промежуточная версия этого же участника) | |||
| Строка 1: | Строка 1: | ||
{ | { | ||
"name": "morgue", | |||
"description": "Used to store bodies until someone fetches them. Includes a high-tech alert system for false-positives!", | "description": "Used to store bodies until someone fetches them. Includes a high-tech alert system for false-positives!", | ||
" | "placement": { | ||
"snap": [], | |||
"mode": "SnapgridCenter" | |||
}, | |||
"parent": [ | |||
"StructureHealthMachineWeak" | |||
], | |||
"components": { | "components": { | ||
" | "Pullable": {}, | ||
" | "Anchorable": {}, | ||
" | "Physics": {}, | ||
" | "Fixtures": { | ||
"fixtures": { | "fixtures": { | ||
"fix1": { | "fix1": { | ||
| Строка 19: | Строка 26: | ||
} | } | ||
}, | }, | ||
"density": 1000, | |||
"mask": [ | "mask": [ | ||
"Impassable", | "Impassable", | ||
| Строка 29: | Строка 37: | ||
"BulletImpassable", | "BulletImpassable", | ||
"Opaque" | "Opaque" | ||
] | ] | ||
} | } | ||
} | } | ||
}, | }, | ||
" | "EntityStorage": { | ||
" | "whitelist": { | ||
"components": [ | |||
"MobState", | |||
" | "Item" | ||
] | |||
}, | |||
"openSound": { | |||
"!type:SoundPathSpecifier": { | "!type:SoundPathSpecifier": { | ||
"path": "/Audio/Items/deconstruct.ogg" | "path": "/Audio/Items/deconstruct.ogg" | ||
} | } | ||
}, | }, | ||
" | "isCollidableWhenOpen": true, | ||
"enteringOffset": "0,-1", | |||
"closeSound": { | |||
"!type:SoundPathSpecifier": { | "!type:SoundPathSpecifier": { | ||
"path": "/Audio/Items/deconstruct.ogg" | "path": "/Audio/Items/deconstruct.ogg" | ||
} | } | ||
}, | }, | ||
" | "capacity": 1 | ||
}, | }, | ||
" | "EntityStorageLayingDownOverride": {}, | ||
" | "Morgue": { | ||
"occupantHasSoulAlarmSound": { | "occupantHasSoulAlarmSound": { | ||
"!type:SoundPathSpecifier": { | "!type:SoundPathSpecifier": { | ||
| Строка 63: | Строка 70: | ||
} | } | ||
}, | }, | ||
" | "ContainerContainer": { | ||
"containers": { | "containers": { | ||
"entity_storage": { | "entity_storage": { | ||
| Строка 72: | Строка 79: | ||
} | } | ||
}, | }, | ||
" | "Appearance": {}, | ||
" | "Transform": { | ||
"anchored": true | "anchored": true | ||
}, | }, | ||
" | "AntiRottingContainer": {}, | ||
" | "StaticPrice": { | ||
"price": 200 | "price": 200 | ||
}, | }, | ||
"type: | "RequireProjectileTarget": {}, | ||
"Damageable": { | |||
"radiationDamageTypes": [ | |||
" | "Radiation" | ||
" | ], | ||
"damageModifierSet": "SteelMod" | |||
}, | |||
"Destructible": { | |||
"thresholds": [ | |||
{ | |||
"trigger": { | |||
"!type:DamageTrigger": { | |||
"damage": 50 | |||
} | |||
}, | |||
"behaviors": [ | |||
{ | |||
"!type:DoActsBehavior": { | |||
"acts": "Breakage" | |||
} | |||
} | |||
] | |||
}, | |||
{ | |||
"trigger": { | |||
"!type:DamageTrigger": { | |||
"damage": 100 | |||
} | |||
}, | |||
"behaviors": [ | |||
{ | |||
"!type:SpawnEntitiesBehavior": { | |||
"spawn": { | |||
"MachineFrameDestroyed": { | |||
"min": 1, | |||
"max": 1 | |||
} | |||
}, | |||
"offset": 0 | |||
} | |||
}, | |||
{ | |||
"!type:PlaySoundBehavior": { | |||
"sound": { | |||
"!type:SoundCollectionSpecifier": { | |||
"collection": "MetalBreak" | |||
} | |||
} | |||
} | |||
}, | |||
{ | |||
"!type:DoActsBehavior": { | |||
"acts": "Destruction" | |||
} | |||
} | |||
] | |||
} | |||
] | |||
}, | |||
"Injurable": { | |||
"painDamageGroups": [ | |||
"Brute", | |||
"Burn" | |||
], | |||
"healthIcons": { | |||
"Alive": "HealthIconFine", | |||
"Critical": "HealthIconCritical", | |||
"Dead": "HealthIconDead" | |||
}, | |||
"damageContainer": "StructuralInorganic" | |||
}, | |||
"Sprite": { | |||
"sprite": "Structures/Storage/morgue.rsi", | |||
"layers": [ | |||
{ | |||
"state": "morgue_closed", | |||
"map": [ | |||
"enum.MorgueVisualLayers.Base" | |||
] | |||
}, | |||
{ | |||
"state": "morgue_tray", | |||
"offset": "0, -1", | |||
"visible": false, | |||
"map": [ | |||
"enum.StorageVisualLayers.Door" | |||
] | |||
}, | |||
{ | |||
"state": "morgue_nomob_light", | |||
"visible": false, | |||
"map": [ | |||
"enum.MorgueVisualLayers.Light" | |||
], | |||
"shader": "unshaded" | |||
} | |||
] | |||
}, | |||
"Clickable": {}, | |||
"InteractionOutline": {}, | |||
"GenericVisualizer": { | |||
"visuals": { | |||
"enum.StorageVisuals.Open": { | |||
"enum.MorgueVisualLayers.Base": { | |||
"True": { | |||
"state": "morgue_open" | |||
}, | |||
"False": { | |||
"state": "morgue_closed" | |||
} | |||
}, | |||
"enum.StorageVisualLayers.Door": { | |||
"True": { | |||
"visible": true | |||
}, | |||
"False": { | |||
"visible": false | |||
} | |||
} | |||
}, | |||
"enum.MorgueVisuals.Contents": { | |||
"enum.MorgueVisualLayers.Light": { | |||
"Empty": { | |||
"visible": false | |||
}, | |||
"HasContents": { | |||
"visible": true, | |||
"state": "morgue_nomob_light" | |||
}, | |||
"HasMob": { | |||
"visible": true, | |||
"state": "morgue_nosoul_light" | |||
}, | |||
"HasSoul": { | |||
"visible": true, | |||
"state": "morgue_soul_light" | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | } | ||
} | } | ||