Adds a spraycan to robotics (#87412)

## About The Pull Request

This PR adds a single spraycan to every roboticist office, and a
screentip that should tell the player that they can restyle augments
with it, should they hover over one. This spraycan has a new sprite,
which is a small edit of the existing spray can, just wearing the
colours of the roboticist jumpsuit. The can's description also mentions
restyling robotic limbs.


![image](https://github.com/user-attachments/assets/e851a4a8-e916-41c6-850e-1d4814068d23)

This PR also fixes a bug: Peg limbs also brought up the restyling menu,
albeit, every radial button was empty, and clicking on one runtimes. Now
you can no longer do such a thing.

Future improvement: perhaps making augment restyling cheaper would be
nice, but I did not want to add that into this PR.

## Why It's Good For The Game

This is a rarely used feature, some folks thought it has been removed
when the augment painter has been removed from the game. Putting it in
front of the players will make it used more often, and might result in
new augment styles.

## Changelog

🆑
add: Adds a roboticist spraycan, and adds one of them to robotics on
every map
qol: adds a screentip to spraycans that tells you that it can restyle
robotic limbs
fix: fixes peg legs bringing up the augment restyle menu
/🆑
This commit is contained in:
Profakos
2024-10-24 17:01:34 +02:00
committed by GitHub
parent 802c4c2778
commit 56bba877c7
9 changed files with 22 additions and 2 deletions
+1
View File
@@ -34190,6 +34190,7 @@
/obj/item/clothing/glasses/welding,
/obj/item/radio/intercom/directional/north,
/obj/item/clothing/head/utility/welding,
/obj/item/toy/crayon/spraycan/roboticist,
/turf/open/floor/iron,
/area/station/science/robotics/lab)
"lEa" = (
@@ -69865,6 +69865,7 @@
dir = 8
},
/obj/machinery/light/small/directional/south,
/obj/item/toy/crayon/spraycan/roboticist,
/turf/open/floor/iron,
/area/station/science/robotics/lab)
"ryt" = (
@@ -70674,6 +70674,7 @@
/obj/item/multitool{
pixel_x = 3
},
/obj/item/toy/crayon/spraycan/roboticist,
/turf/open/floor/iron,
/area/station/science/robotics/lab)
"utA" = (
@@ -23637,6 +23637,7 @@
/obj/item/multitool,
/obj/item/clothing/head/utility/welding,
/obj/item/clothing/glasses/welding,
/obj/item/toy/crayon/spraycan/roboticist,
/turf/open/floor/iron,
/area/station/science/robotics/lab)
"iwL" = (
+1
View File
@@ -6123,6 +6123,7 @@
/area/station/maintenance/floor1/starboard/fore)
"bxk" = (
/obj/structure/rack,
/obj/item/toy/crayon/spraycan/roboticist,
/turf/open/floor/iron/dark/smooth_large,
/area/station/science/robotics/lab)
"bxl" = (
@@ -5979,6 +5979,7 @@
/obj/item/clothing/glasses/welding,
/obj/item/radio/intercom/directional/north,
/obj/effect/turf_decal/tile/neutral/fourcorners,
/obj/item/toy/crayon/spraycan/roboticist,
/turf/open/floor/iron/dark,
/area/station/science/robotics/lab)
"aUc" = (
@@ -12657,6 +12657,7 @@
/obj/item/clothing/head/utility/welding,
/obj/item/clothing/glasses/welding,
/obj/machinery/airalarm/directional/south,
/obj/item/toy/crayon/spraycan/roboticist,
/turf/open/floor/iron/dark/textured,
/area/station/science/robotics/lab)
"exR" = (
+15 -2
View File
@@ -819,7 +819,13 @@
return .
context[SCREENTIP_CONTEXT_LMB] = "Paint"
context[SCREENTIP_CONTEXT_RMB] = "Copy color"
if(isbodypart(target))
var/obj/item/bodypart/limb = target
if(IS_ROBOTIC_LIMB(limb))
context[SCREENTIP_CONTEXT_RMB] = "Restyle robotic limb"
else
context[SCREENTIP_CONTEXT_RMB] = "Copy color"
return CONTEXTUAL_SCREENTIP_SET
@@ -981,7 +987,7 @@
if(isbodypart(interacting_with) && actually_paints)
var/obj/item/bodypart/limb = interacting_with
if(!IS_ORGANIC_LIMB(limb))
if(IS_ROBOTIC_LIMB(limb))
var/list/skins = list()
var/static/list/style_list_icons = list("standard" = 'icons/mob/augmentation/augments.dmi', "engineer" = 'icons/mob/augmentation/augments_engineer.dmi', "security" = 'icons/mob/augmentation/augments_security.dmi', "mining" = 'icons/mob/augmentation/augments_mining.dmi')
for(var/skin_option in style_list_icons)
@@ -1093,6 +1099,13 @@
charges = INFINITE_CHARGES
desc = "Now with 30% more bluespace technology."
/obj/item/toy/crayon/spraycan/roboticist
name = "roboticist spraycan"
desc = "Paint for restyling unattached robotic limbs. Sadly doesn't shine like chrome."
icon_state = "robocan"
icon_capped = "robocan_cap"
icon_uncapped = "robocan"
#undef RANDOM_GRAFFITI
#undef RANDOM_LETTER
#undef RANDOM_PUNCTUATION
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB