From: themias <89101928+themias@users.noreply.github.com> Date: Sun, 31 Dec 2023 02:06:27 +0000 (-0500) Subject: Allow flashlights on belts (#23256) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=e3d4b69664e550d59299bb9892daa68a64fafbf0;p=space-station-14.git Allow flashlights on belts (#23256) --- diff --git a/Resources/Prototypes/Entities/Objects/Tools/flashlights.yml b/Resources/Prototypes/Entities/Objects/Tools/flashlights.yml index 5764aabd10..e7ea80830b 100644 --- a/Resources/Prototypes/Entities/Objects/Tools/flashlights.yml +++ b/Resources/Prototypes/Entities/Objects/Tools/flashlights.yml @@ -69,6 +69,11 @@ price: 40 - type: StealTarget stealGroup: LAMP + - type: Clothing + sprite: Objects/Tools/flashlight.rsi + quickEquip: false + slots: + - Belt - type: entity name: seclite @@ -111,6 +116,11 @@ - type: PointLight enabled: false radius: 8 + - type: Clothing + sprite: Objects/Tools/seclite.rsi + quickEquip: false + slots: + - Belt - type: entity parent: FlashlightLantern diff --git a/Resources/Prototypes/Entities/Objects/Tools/lantern.yml b/Resources/Prototypes/Entities/Objects/Tools/lantern.yml index f4d6ea8364..71b27ed31e 100644 --- a/Resources/Prototypes/Entities/Objects/Tools/lantern.yml +++ b/Resources/Prototypes/Entities/Objects/Tools/lantern.yml @@ -55,6 +55,12 @@ cell_slot: !type:ContainerSlot {} - type: StealTarget stealGroup: LAMP + - type: Clothing + sprite: Objects/Tools/lantern.rsi + equippedPrefix: off + quickEquip: false + slots: + - Belt - type: entity parent: Lantern diff --git a/Resources/Textures/Objects/Tools/lantern.rsi/meta.json b/Resources/Textures/Objects/Tools/lantern.rsi/meta.json index 4f60017e73..3749373de1 100644 --- a/Resources/Textures/Objects/Tools/lantern.rsi/meta.json +++ b/Resources/Textures/Objects/Tools/lantern.rsi/meta.json @@ -34,6 +34,14 @@ { "name": "on-inhand-right", "directions": 4 - } + }, + { + "name": "on-equipped-BELT", + "directions": 4 + }, + { + "name": "off-equipped-BELT", + "directions": 4 + } ] } diff --git a/Resources/Textures/Objects/Tools/lantern.rsi/off-equipped-BELT.png b/Resources/Textures/Objects/Tools/lantern.rsi/off-equipped-BELT.png new file mode 100644 index 0000000000..7076d6e786 Binary files /dev/null and b/Resources/Textures/Objects/Tools/lantern.rsi/off-equipped-BELT.png differ diff --git a/Resources/Textures/Objects/Tools/lantern.rsi/off-inhand-left.png b/Resources/Textures/Objects/Tools/lantern.rsi/off-inhand-left.png index d38b5e8c64..cfbfd39b9e 100644 Binary files a/Resources/Textures/Objects/Tools/lantern.rsi/off-inhand-left.png and b/Resources/Textures/Objects/Tools/lantern.rsi/off-inhand-left.png differ diff --git a/Resources/Textures/Objects/Tools/lantern.rsi/off-inhand-right.png b/Resources/Textures/Objects/Tools/lantern.rsi/off-inhand-right.png index de8ce0ad50..550ad12d31 100644 Binary files a/Resources/Textures/Objects/Tools/lantern.rsi/off-inhand-right.png and b/Resources/Textures/Objects/Tools/lantern.rsi/off-inhand-right.png differ diff --git a/Resources/Textures/Objects/Tools/lantern.rsi/on-equipped-BELT.png b/Resources/Textures/Objects/Tools/lantern.rsi/on-equipped-BELT.png new file mode 100644 index 0000000000..0ffc32fe08 Binary files /dev/null and b/Resources/Textures/Objects/Tools/lantern.rsi/on-equipped-BELT.png differ