Adds hand labelers (#4903)

* Adds hand labelers

* Removes unnecessary thing

* Docs

* Reverts some changes

* Addresses comments and adds inhand sprites

* Addressed comments

Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
This commit is contained in:
Watermelon914
2021-10-16 21:34:05 +01:00
committed by GitHub
parent 2ce5e5ee49
commit 4bf8a5d527
16 changed files with 390 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
- type: entity
parent: BaseItem
id: HandLabeler
name: hand labeler
description: A hand labeler, used to label items and objects.
components:
- type: Sprite
sprite: Objects/Tools/hand_labeler.rsi
state: hand_labeler
- type: Item
sprite: Objects/Tools/hand_labeler.rsi
- type: UseDelay
delay: 2.0
- type: UserInterface
interfaces:
- key: enum.HandLabelerUiKey.Key
type: HandLabelerBoundUserInterface
- type: HandLabeler
whitelist:
components:
- Item
tags:
- Structure

View File

@@ -19,6 +19,9 @@
mask:
- Impassable
- type: Pullable
- type: Tag
tags:
- Structure
- type: entity
# This means that it's not anchored on spawn.
@@ -46,3 +49,6 @@
mask:
- VaultImpassable
- type: Anchorable
- type: Tag
id: Structure