From bd4e2c35ec0a101485906228859366317ff60c37 Mon Sep 17 00:00:00 2001 From: PoorMansDreams <150595537+PoorMansDreams@users.noreply.github.com> Date: Fri, 9 Feb 2024 17:57:42 -0800 Subject: [PATCH] Added Tourniquets to stop bleeds (#23198) * Fixed Error with RobustToolbox Edits. Removed the addition of secbelt tag from assault belt. * Resprite of the monstrosity * Resprite of the tourniquet NO LONGER PHALLUS SHAPED * too bright, now darker and edgier * Tourniquet resprite * metajson yay --- .../VendingMachines/Inventories/sec.yml | 1 + .../Objects/Specific/Medical/healing.yml | 27 +++++++++++++++++- .../Specific/Medical/medical.rsi/meta.json | 4 +++ .../Medical/medical.rsi/tourniquet.png | Bin 0 -> 300 bytes 4 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 Resources/Textures/Objects/Specific/Medical/medical.rsi/tourniquet.png diff --git a/Resources/Prototypes/Catalog/VendingMachines/Inventories/sec.yml b/Resources/Prototypes/Catalog/VendingMachines/Inventories/sec.yml index 695f7e98af..b1152f42ab 100644 --- a/Resources/Prototypes/Catalog/VendingMachines/Inventories/sec.yml +++ b/Resources/Prototypes/Catalog/VendingMachines/Inventories/sec.yml @@ -8,6 +8,7 @@ ClusterBangFull: 2 GrenadeStinger: 4 Flash: 5 + Tourniquet: 5 FlashlightSeclite: 5 ClothingEyesGlassesSunglasses: 2 ClothingEyesHudSecurity: 2 diff --git a/Resources/Prototypes/Entities/Objects/Specific/Medical/healing.yml b/Resources/Prototypes/Entities/Objects/Specific/Medical/healing.yml index 0165557f83..6cf5f57c1b 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Medical/healing.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Medical/healing.yml @@ -224,7 +224,32 @@ components: - type: Stack lingering: true - +- type: entity + parent: BaseHealingItem + id: Tourniquet + name: tourniquet + description: Stops bleeding! Hopefully. + components: + - type: Tag + tags: + - SecBeltEquip + - type: Sprite + state: tourniquet + - type: Healing + damageContainers: + - Biological + damage: + groups: + Brute: 5 # Tourniquets HURT! + types: + Asphyxiation: 5 # Essentially Stopping all blood reaching a part of your body + bloodlossModifier: -10 # Tourniquets stop bleeding + delay: 0.5 + healingBeginSound: + path: "/Audio/Items/Medical/brutepack_begin.ogg" + healingEndSound: + path: "/Audio/Items/Medical/brutepack_end.ogg" + - type: entity name: roll of gauze description: Some sterile gauze to wrap around bloody stumps. diff --git a/Resources/Textures/Objects/Specific/Medical/medical.rsi/meta.json b/Resources/Textures/Objects/Specific/Medical/medical.rsi/meta.json index 79d08e485b..e4f039ada9 100644 --- a/Resources/Textures/Objects/Specific/Medical/medical.rsi/meta.json +++ b/Resources/Textures/Objects/Specific/Medical/medical.rsi/meta.json @@ -3,6 +3,7 @@ "license": "CC-BY-SA-3.0", "copyright": "Taken from cev-eris at https://github.com/discordia-space/CEV-Eris/commit/740ff31a81313086cf16761f3677cf1e2ab46c93 and Taken from tgstation at https://github.com/tgstation/tgstation/blob/623290915c2292b56da11048deb62d758e1e3fb4/icons/obj/bloodpack.dmi, Blood pack redone by Ubaser", "copyright": "Taken from https://github.com/tgstation/tgstation/blob/a3568da5634e756d0849480104afda402c6f1c3c/icons/obj/medical/stack_medical.dmi", + "copyright": "Tourniquet Sprite by PoorMansDreams", "size": { "x": 32, "y": 32 @@ -25,6 +26,9 @@ { "name": "gauze" }, + { + "name": "tourniquet" + }, { "name": "morphine" }, diff --git a/Resources/Textures/Objects/Specific/Medical/medical.rsi/tourniquet.png b/Resources/Textures/Objects/Specific/Medical/medical.rsi/tourniquet.png new file mode 100644 index 0000000000000000000000000000000000000000..fce355eb9ef004d97661dc521e501d584bfd41e6 GIT binary patch literal 300 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCil21AIbUrKDtZb@hXSLMqD}fZ*A)ch1hPhjq<>@=0g*KLJvlB|(0{|Dk{( z*uO#uBv{}PSWfp9Fn)Jq-*Wq~iE8S}%mJc>tmOEVj>iw=PfmgNfCu2$B)pb5g fCzi5qxW+xTP-e!{xtc(iF)(<#`njxgN@xNAE;4OQ literal 0 HcmV?d00001 -- 2.52.0