From 2160f6519300b1c2a00e4bc74ccff7daf3c05652 Mon Sep 17 00:00:00 2001
From: SimpleStation14 <130339894+SimpleStation14@users.noreply.github.com>
Date: Mon, 6 May 2024 12:07:27 -0700
Subject: [PATCH] Mirror: Some more whitelists for belts (#188)
## Mirror of PR #26085: [Some more whitelists for
belts](https://github.com/space-wizards/space-station-14/pull/26085)
from
[space-wizards](https://github.com/space-wizards)/[space-station-14](https://github.com/space-wizards/space-station-14)
###### `2b5a75ba6619b9fdd6c4f7e17a18d2af85167505`
PR opened by lzk228 at
2024-03-13 17:54:03 UTC
---
PR changed 4 files with 13 additions and 0 deletions.
The PR had the following labels:
- No C#
---
Original Body
>
>
>
> ## About the PR
>
> - Allow surgery tools in medbelt (Fixes #26010)
> - Allow hand labeler in utility and botanical belt
> - Allow lantern in utility belt
>
> ## Why / Balance
>
>
> ## Technical details
>
>
> ## Media
>
>
> - [ ] I have added screenshots/videos to this PR showcasing its
changes ingame, **or** this PR does not require an ingame showcase
>
> ## Breaking changes
>
>
> **Changelog**
>
>
> :cl:
> - tweak: Surgery tools can be placed in medical belt.
> - tweak: Lantern can be placed in utility belt.
> - tweak: Hand labeler can be placed in utility and botanical belt
>
>
Co-authored-by: SimpleStation14
---
Resources/Prototypes/Entities/Clothing/Belt/belts.yml | 4 ++++
.../Prototypes/Entities/Objects/Specific/Medical/surgery.yml | 3 +++
Resources/Prototypes/Entities/Objects/Tools/lantern.yml | 3 +++
Resources/Prototypes/tags.yml | 3 +++
4 files changed, 13 insertions(+)
diff --git a/Resources/Prototypes/Entities/Clothing/Belt/belts.yml b/Resources/Prototypes/Entities/Clothing/Belt/belts.yml
index b84033a7874..d3ccd335c17 100644
--- a/Resources/Prototypes/Entities/Clothing/Belt/belts.yml
+++ b/Resources/Prototypes/Entities/Clothing/Belt/belts.yml
@@ -41,6 +41,7 @@
- Geiger
- TrayScanner
- GasAnalyzer
+ - HandLabeler
- type: ItemMapper
mapLayers:
drill:
@@ -265,10 +266,12 @@
- PillCanister
- Radio
- DiscreteHealthAnalyzer
+ - SurgeryTool
components:
- Hypospray
- Injector
- Pill
+ - HandLabeler
- type: ItemMapper
mapLayers:
bottle:
@@ -341,6 +344,7 @@
components:
- Seed
- Smokable
+ - HandLabeler
- type: ItemMapper
mapLayers:
hatchet:
diff --git a/Resources/Prototypes/Entities/Objects/Specific/Medical/surgery.yml b/Resources/Prototypes/Entities/Objects/Specific/Medical/surgery.yml
index 6dc78455ea5..aa0cf461872 100644
--- a/Resources/Prototypes/Entities/Objects/Specific/Medical/surgery.yml
+++ b/Resources/Prototypes/Entities/Objects/Specific/Medical/surgery.yml
@@ -8,6 +8,9 @@
- type: Sprite
- type: StaticPrice
price: 20
+ - type: Tag
+ tags:
+ - SurgeryTool
# Cautery
diff --git a/Resources/Prototypes/Entities/Objects/Tools/lantern.yml b/Resources/Prototypes/Entities/Objects/Tools/lantern.yml
index 71b27ed31e4..89101e34ff4 100644
--- a/Resources/Prototypes/Entities/Objects/Tools/lantern.yml
+++ b/Resources/Prototypes/Entities/Objects/Tools/lantern.yml
@@ -61,6 +61,9 @@
quickEquip: false
slots:
- Belt
+ - type: Tag
+ tags:
+ - Flashlight
- type: entity
parent: Lantern
diff --git a/Resources/Prototypes/tags.yml b/Resources/Prototypes/tags.yml
index 2b11b7991b0..d8259b32e18 100644
--- a/Resources/Prototypes/tags.yml
+++ b/Resources/Prototypes/tags.yml
@@ -1142,6 +1142,9 @@
- type: Tag
id: SuitEVA
+- type: Tag
+ id: SurgeryTool
+
- type: Tag
id: SurveillanceCameraMonitorCircuitboard