diff --git a/Resources/Prototypes/_CP14/Entities/Objects/Misc/openclosed_sign.yml b/Resources/Prototypes/_CP14/Entities/Objects/Misc/openclosed_sign.yml new file mode 100644 index 0000000000..76a447a5d7 --- /dev/null +++ b/Resources/Prototypes/_CP14/Entities/Objects/Misc/openclosed_sign.yml @@ -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 diff --git a/Resources/Prototypes/_CP14/Recipes/Workbench/Workbench/misc.yml b/Resources/Prototypes/_CP14/Recipes/Workbench/Workbench/misc.yml index f660b6bb02..44e46aed1d 100644 --- a/Resources/Prototypes/_CP14/Recipes/Workbench/Workbench/misc.yml +++ b/Resources/Prototypes/_CP14/Recipes/Workbench/Workbench/misc.yml @@ -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 + diff --git a/Resources/Textures/_CP14/Objects/Misc/openclosed_sign.rsi/en_close_sign.png b/Resources/Textures/_CP14/Objects/Misc/openclosed_sign.rsi/en_close_sign.png new file mode 100644 index 0000000000..fcbbf7d1b2 Binary files /dev/null and b/Resources/Textures/_CP14/Objects/Misc/openclosed_sign.rsi/en_close_sign.png differ diff --git a/Resources/Textures/_CP14/Objects/Misc/openclosed_sign.rsi/en_open_sign.png b/Resources/Textures/_CP14/Objects/Misc/openclosed_sign.rsi/en_open_sign.png new file mode 100644 index 0000000000..39616860c0 Binary files /dev/null and b/Resources/Textures/_CP14/Objects/Misc/openclosed_sign.rsi/en_open_sign.png differ diff --git a/Resources/Textures/_CP14/Objects/Misc/openclosed_sign.rsi/meta.json b/Resources/Textures/_CP14/Objects/Misc/openclosed_sign.rsi/meta.json new file mode 100644 index 0000000000..085724b721 --- /dev/null +++ b/Resources/Textures/_CP14/Objects/Misc/openclosed_sign.rsi/meta.json @@ -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" + } + ] +} diff --git a/Resources/Textures/_CP14/Objects/Misc/openclosed_sign.rsi/ru_close_sign.png b/Resources/Textures/_CP14/Objects/Misc/openclosed_sign.rsi/ru_close_sign.png new file mode 100644 index 0000000000..758c40dfd4 Binary files /dev/null and b/Resources/Textures/_CP14/Objects/Misc/openclosed_sign.rsi/ru_close_sign.png differ diff --git a/Resources/Textures/_CP14/Objects/Misc/openclosed_sign.rsi/ru_open_sign.png b/Resources/Textures/_CP14/Objects/Misc/openclosed_sign.rsi/ru_open_sign.png new file mode 100644 index 0000000000..7889497b5a Binary files /dev/null and b/Resources/Textures/_CP14/Objects/Misc/openclosed_sign.rsi/ru_open_sign.png differ diff --git a/Resources/Textures/_CP14/Objects/Misc/openclosed_sign.rsi/table_sign.png b/Resources/Textures/_CP14/Objects/Misc/openclosed_sign.rsi/table_sign.png new file mode 100644 index 0000000000..8f2be392c4 Binary files /dev/null and b/Resources/Textures/_CP14/Objects/Misc/openclosed_sign.rsi/table_sign.png differ