Open/closed table sign (#1275)
* Added open/closed sign * Added open/closed sign * Update openclosed_sign.yml * Update openclosed_sign.yml * Update workbench recipes * Update openclosed_sign.yml * Update openclosed_sign.yml * Update misc.yml
This commit is contained in:
@@ -0,0 +1,84 @@
|
||||
- type: entity
|
||||
id: CP14OpenSign
|
||||
name: flip sign "Open"
|
||||
description: A small double-sided sign that can be turned over
|
||||
parent:
|
||||
- BaseItem
|
||||
- CP14BaseFlammable
|
||||
categories: [ ForkFiltered ]
|
||||
components:
|
||||
- type: Sprite
|
||||
noRot: true
|
||||
sprite: _CP14/Objects/Misc/openclosed_sign.rsi
|
||||
layers:
|
||||
- state: table_sign
|
||||
- state: en_open_sign
|
||||
map: [signState]
|
||||
- type: Item
|
||||
size: Small
|
||||
- type: Flippable
|
||||
mirrorEntity: CP14ClosedSign
|
||||
- type: Appearance
|
||||
- type: InteractionOutline
|
||||
- type: CP14LocalizationVisuals
|
||||
mapStates:
|
||||
signState:
|
||||
ru-RU: ru_open_sign
|
||||
en-US: en_open_sign
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Wood
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTypeTrigger
|
||||
damageType: Heat
|
||||
damage: 6
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: WoodDestroy
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
CP14Ash1:
|
||||
min: 1
|
||||
max: 2
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 10
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: WoodDestroy
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
CP14WoodenPlanks1:
|
||||
min: 1
|
||||
max: 1
|
||||
|
||||
- type: entity
|
||||
id: CP14ClosedSign
|
||||
name: flip sign "Closed"
|
||||
description: A small double-sided sign that can be turned over
|
||||
parent:
|
||||
- CP14OpenSign
|
||||
categories: [ ForkFiltered ]
|
||||
components:
|
||||
- type: Sprite
|
||||
noRot: true
|
||||
sprite: _CP14/Objects/Misc/openclosed_sign.rsi
|
||||
layers:
|
||||
- state: table_sign
|
||||
- state: en_close_sign
|
||||
map: [signState]
|
||||
- type: Flippable
|
||||
mirrorEntity: CP14OpenSign
|
||||
- type: CP14LocalizationVisuals
|
||||
mapStates:
|
||||
signState:
|
||||
ru-RU: ru_close_sign
|
||||
en-US: en_close_sign
|
||||
@@ -264,3 +264,14 @@
|
||||
protoId: CP14String
|
||||
count: 1
|
||||
result: CP14LuteInstrument
|
||||
|
||||
- type: CP14Recipe
|
||||
id: CP14OpenSign
|
||||
tag: CP14RecipeWorkbench
|
||||
craftTime: 2
|
||||
requirements:
|
||||
- !type:StackGroupResource
|
||||
group: WoodenPlanks
|
||||
count: 2
|
||||
result: CP14OpenSign
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 238 B |
Binary file not shown.
|
After Width: | Height: | Size: 239 B |
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"copyright": "Created by deenke",
|
||||
"license": "CC-BY-SA-4.0",
|
||||
"states": [
|
||||
{
|
||||
"name": "table_sign"
|
||||
},
|
||||
{
|
||||
"name": "ru_open_sign"
|
||||
},
|
||||
{
|
||||
"name": "en_open_sign"
|
||||
},
|
||||
{
|
||||
"name": "ru_close_sign"
|
||||
},
|
||||
{
|
||||
"name": "en_close_sign"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 236 B |
Binary file not shown.
|
After Width: | Height: | Size: 228 B |
Binary file not shown.
|
After Width: | Height: | Size: 331 B |
Reference in New Issue
Block a user