mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-08 07:52:54 +00:00
* tgui strip panel + strippable element (#57889) Completely removes show_inv and replaces it with /datum/element/strippable. It takes a list of instantiated /datum/strippable_item which communicate which slots are available and how to interact with them. This element has been added to humans, alien humanoids, parrots, and corgis. Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com> * tgui strip panel + strippable element Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com> Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
// All of these must be matched in StripMenu.js.
|
|
#define STRIPPABLE_ITEM_HEAD "head"
|
|
#define STRIPPABLE_ITEM_BACK "back"
|
|
#define STRIPPABLE_ITEM_MASK "mask"
|
|
#define STRIPPABLE_ITEM_NECK "neck"
|
|
#define STRIPPABLE_ITEM_EYES "eyes"
|
|
#define STRIPPABLE_ITEM_EARS "ears"
|
|
#define STRIPPABLE_ITEM_JUMPSUIT "jumpsuit"
|
|
#define STRIPPABLE_ITEM_SUIT "suit"
|
|
#define STRIPPABLE_ITEM_GLOVES "gloves"
|
|
#define STRIPPABLE_ITEM_FEET "shoes"
|
|
#define STRIPPABLE_ITEM_SUIT_STORAGE "suit_storage"
|
|
#define STRIPPABLE_ITEM_ID "id"
|
|
#define STRIPPABLE_ITEM_BELT "belt"
|
|
#define STRIPPABLE_ITEM_LPOCKET "left_pocket"
|
|
#define STRIPPABLE_ITEM_RPOCKET "right_pocket"
|
|
#define STRIPPABLE_ITEM_LHAND "left_hand"
|
|
#define STRIPPABLE_ITEM_RHAND "right_hand"
|
|
#define STRIPPABLE_ITEM_HANDCUFFS "handcuffs"
|
|
#define STRIPPABLE_ITEM_LEGCUFFS "legcuffs"
|
|
#define STRIPPABLE_ITEM_CORGI_COLLAR "corgi_collar"
|
|
#define STRIPPABLE_ITEM_PARROT_HEADSET "parrot_headset"
|
|
|
|
/// This slot is not obscured.
|
|
#define STRIPPABLE_OBSCURING_NONE 0
|
|
|
|
/// This slot is completely obscured, and cannot be accessed.
|
|
#define STRIPPABLE_OBSCURING_COMPLETELY 1
|
|
|
|
/// This slot can't be seen, but can be accessed.
|
|
#define STRIPPABLE_OBSCURING_HIDDEN 2
|