[Feat] Interactive Board (#258)

* interactive board

* change2

* fixes
This commit is contained in:
CaypenNow
2024-04-02 19:17:43 +05:00
committed by GitHub
parent 600d236ac2
commit b635d4efaf
21 changed files with 752 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
interactive-board-not-allowed = Недостаточный доступ для редактирования!
interactive-board-take-off = Снять доску
ent-InteractiveBoard = интерактивная доска
.desc = Имеется поле для текста. Создано специально для бюрократии! Можно прикрепить на стену.
ent-InteractivePen = контактная ручка
.desc = Позволяет редактировать интерактивную доску.

View File

@@ -99,7 +99,7 @@
gasMolesVisible: 0.6
color: 3a758c
reagent: Frezon
pricePerMole: 0.3
pricePerMole: 8
- type: gas
id: 9

View File

@@ -107,6 +107,8 @@
- id: BoxEncryptionKeyPassenger
- id: BoxEncryptionKeyService
- id: BoxFolderClipboard
- id: InteractiveBoard
- id: InteractivePen
- type: entity
id: LockerHeadOfPersonnelFilledHardsuit

View File

@@ -0,0 +1,49 @@
- type: entity
name: interactive board
parent: BaseItem
id: InteractiveBoard
description: 'Have field for edit. Created special for burocracy!'
components:
- type: Sprite
sprite: /Textures/White/Objects/Devices/interactiveboard.rsi
layers:
- state: interactiveboard
- state: interactiveboard_with_words
map: ["enum.InteractiveBoardVisualLayers.Writing"]
visible: false
- type: Item
size: Huge
- type: InteractiveBoard
- type: Tag
tags:
- InteractiveBoard
- type: ActivatableUI
key: enum.InteractiveBoardUiKey.Key
- type: UserInterface
interfaces:
- key: enum.InteractiveBoardUiKey.Key
type: InteractiveBoardBoundUserInterface
- type: Appearance
- type: InteractiveBoardVisuals
- type: AccessReader
access: [ [ "Command" ] ]
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 150
- type: entity
name: interactive pen
parent: BaseItem
id: InteractivePen
description: 'Edit interactive board!'
components:
- type: Sprite
sprite: /Textures/White/Objects/Devices/interactiveboard.rsi
state: pen
- type: Item
size: Tiny
- type: Tag
tags:
- InteractivePen

View File

@@ -60,3 +60,9 @@
- type: Tag
id: NeuroControl
- type: Tag
id: InteractivePen
- type: Tag
id: InteractiveBoard

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 B

View File

@@ -0,0 +1,2 @@
sample:
filter: true

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

View File

@@ -0,0 +1,20 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "https://github.com/frosty-dev/ss14-core/",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "interactiveboard"
},
{
"name": "interactiveboard_with_words"
},
{
"name": "pen"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B