From: Tunguso4ka <71643624+Tunguso4ka@users.noreply.github.com> Date: Mon, 6 Nov 2023 02:18:39 +0000 (+0300) Subject: Notice board (#21410) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=36c82ca86ff669f1079cf4bdf5636bd91242953e;p=space-station-14.git Notice board (#21410) * notice board * more notice notice board --- diff --git a/Resources/Prototypes/Entities/Structures/Wallmounts/noticeboard.yml b/Resources/Prototypes/Entities/Structures/Wallmounts/noticeboard.yml new file mode 100644 index 0000000000..d5c330f47e --- /dev/null +++ b/Resources/Prototypes/Entities/Structures/Wallmounts/noticeboard.yml @@ -0,0 +1,54 @@ +- type: entity + id: NoticeBoard + name: notice board + description: Is there a job for a witcher? + components: + - type: WallMount + - type: Sprite + sprite: Structures/Wallmounts/noticeboard.rsi + layers: + - state: noticeboard + - state: notice-0 + - map: ["enum.StorageFillLayers.Fill"] + - type: StorageFillVisualizer + maxFillLevels: 6 + fillBaseName: notice + - type: Appearance + - type: InteractionOutline + - type: Clickable + - type: Transform + anchored: true + - type: Damageable + damageModifierSet: Wood + damageContainer: Inorganic + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 30 + behaviors: + - !type:PlaySoundBehavior + sound: + path: /Audio/Effects/woodhit.ogg + - !type:SpawnEntitiesBehavior + spawn: + MaterialWoodPlank: + min: 1 + max: 2 + - !type:DoActsBehavior + acts: ["Destruction"] + - type: Storage + maxSlots: 10 + maxItemSize: Small + whitelist: + tags: + - Folder + - Document + - Write + - type: UserInterface + interfaces: + - key: enum.StorageUiKey.Key + type: StorageBoundUserInterface + - type: ContainerContainer + containers: + storagebase: !type:Container diff --git a/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/meta.json b/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/meta.json new file mode 100644 index 0000000000..f5d234d91b --- /dev/null +++ b/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/meta.json @@ -0,0 +1,32 @@ +{ + "version": 1, + "size": { + "x": 32, + "y": 32 + }, + "copyright": "Taken from Paradise Station from commit https://github.com/ParadiseSS13/Paradise/commit/137338f4dd3cb33124ab3fbd55a4865dd2bdab81", + "license": "CC-BY-SA-3.0", + "states": [ + { + "name": "noticeboard" + }, + { + "name": "notice-0" + }, + { + "name": "notice-1" + }, + { + "name": "notice-2" + }, + { + "name": "notice-3" + }, + { + "name": "notice-4" + }, + { + "name": "notice-5" + } + ] +} diff --git a/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-0.png b/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-0.png new file mode 100644 index 0000000000..016d8ba5a7 Binary files /dev/null and b/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-0.png differ diff --git a/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-1.png b/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-1.png new file mode 100644 index 0000000000..61b1825a41 Binary files /dev/null and b/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-1.png differ diff --git a/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-2.png b/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-2.png new file mode 100644 index 0000000000..d069eef5e9 Binary files /dev/null and b/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-2.png differ diff --git a/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-3.png b/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-3.png new file mode 100644 index 0000000000..7e4ac447be Binary files /dev/null and b/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-3.png differ diff --git a/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-4.png b/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-4.png new file mode 100644 index 0000000000..f3ddba1d00 Binary files /dev/null and b/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-4.png differ diff --git a/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-5.png b/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-5.png new file mode 100644 index 0000000000..e04a0eb63f Binary files /dev/null and b/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-5.png differ diff --git a/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/noticeboard.png b/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/noticeboard.png new file mode 100644 index 0000000000..378577afdc Binary files /dev/null and b/Resources/Textures/Structures/Wallmounts/noticeboard.rsi/noticeboard.png differ