From 36c82ca86ff669f1079cf4bdf5636bd91242953e Mon Sep 17 00:00:00 2001 From: Tunguso4ka <71643624+Tunguso4ka@users.noreply.github.com> Date: Mon, 6 Nov 2023 05:18:39 +0300 Subject: [PATCH] Notice board (#21410) * notice board * more notice notice board --- .../Structures/Wallmounts/noticeboard.yml | 54 ++++++++++++++++++ .../Wallmounts/noticeboard.rsi/meta.json | 32 +++++++++++ .../Wallmounts/noticeboard.rsi/notice-0.png | Bin 0 -> 83 bytes .../Wallmounts/noticeboard.rsi/notice-1.png | Bin 0 -> 175 bytes .../Wallmounts/noticeboard.rsi/notice-2.png | Bin 0 -> 231 bytes .../Wallmounts/noticeboard.rsi/notice-3.png | Bin 0 -> 242 bytes .../Wallmounts/noticeboard.rsi/notice-4.png | Bin 0 -> 280 bytes .../Wallmounts/noticeboard.rsi/notice-5.png | Bin 0 -> 285 bytes .../noticeboard.rsi/noticeboard.png | Bin 0 -> 353 bytes 9 files changed, 86 insertions(+) create mode 100644 Resources/Prototypes/Entities/Structures/Wallmounts/noticeboard.yml create mode 100644 Resources/Textures/Structures/Wallmounts/noticeboard.rsi/meta.json create mode 100644 Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-0.png create mode 100644 Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-1.png create mode 100644 Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-2.png create mode 100644 Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-3.png create mode 100644 Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-4.png create mode 100644 Resources/Textures/Structures/Wallmounts/noticeboard.rsi/notice-5.png create mode 100644 Resources/Textures/Structures/Wallmounts/noticeboard.rsi/noticeboard.png 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 0000000000000000000000000000000000000000..016d8ba5a76c0112a48860254da8e5f54a1767d7 GIT binary patch literal 83 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzDNh&2kcif|2N@ZGye5VJ>+?Ju bK+N}S0tyU_?u-jMfE)%-S3j3^P6vp$!7 zI#Hs-@X_A-nbyx41SZ6S3j3^P6+^f*>#lZmx zA%qa(U*(+3_5Lj5IF?^#*G{d?$L)e)7_dCJ)@(0(gsN@ioC`Ap0JPRH#;CbIO%nhh zr3CN2s%4L8P9VmJ5W=QTL?9wK=epUR<^<+7GlPiUCXiBsa}LHBRm&c6?gf~6^D=8K sthJcO-pYP`f!;qZn|<=< zqU*Y5`Jbi<01#tD2%%Zis%ri@|Kargi4cP6Q*B_LXN=?c^iM<}B8W&;yQP(C1Is(5 z1R{E9AjSw0xm{aotp-b~4J-@G%a|D=g2lknS`FT_vj$e;H8V@g%wXoHpqm1`8mwfk eLC0~Nx8e$7FO$C06YVDe0000xyMrvhZ{b0Mj&OPgK*EUQH9=Zp~?8SZ%Z|UI4J?Ho03z jYNM>Ne_Y1 literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..378577afdccbe7c6de396f9fa91e3c5bb82aa607 GIT binary patch literal 353 zcmV-n0iOPeP)5`zKt=N3B6Yb>*X$IAP1y!$e>Fw8cz$gDD;qKva(OU zO2l)4oBK>ll&)YC(o7->y;7|XwFG{%@H2&1(6(y5q~-*6fe|nQMquXxrO)Upa2pvc z-WRYIZ>v}?bv^$NlmylijTn4Ge!0P5_!E2p_V8Lx*J!#700000NkvXXu0mjfhi99L literal 0 HcmV?d00001 -- 2.51.2