Skip to content

Commit

Permalink
Allows Spraypainting Synth Limbs | Also moves their ears (#1760)
Browse files Browse the repository at this point in the history
* initial d

* studio jiggly

Co-authored-by: Nerevar <[email protected]>
  • Loading branch information
Steals-The-PRs and Nerev4r authored Jan 30, 2024
1 parent 4721129 commit 8443b02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions code/game/objects/items/crayons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -936,13 +936,13 @@
var/obj/item/bodypart/limb = target
if(!IS_ORGANIC_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')
var/static/list/style_list_icons = GLOB.robotic_styles_list //NOVA EDIT CHANGE - Original: 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)
var/image/part_image = image(icon = style_list_icons[skin_option], icon_state = "[limb.limb_id]_[limb.body_zone]")
if(limb.aux_zone) //Hands
part_image.overlays += image(icon = style_list_icons[skin_option], icon_state = "[limb.limb_id]_[limb.aux_zone]")
skins += list("[skin_option]" = part_image)
var/choice = show_radial_menu(user, src, skins, require_near = TRUE)
var/choice = show_radial_menu(user, src, skins, require_near = TRUE, radius = 48) //NOVA EDIT CHANGE - Increases the radius. Default is 32.
if(choice && (use_charges(user, 5, requires_full = FALSE)))
playsound(user.loc, 'sound/effects/spray.ogg', 5, TRUE, 5)
limb.change_appearance(style_list_icons[choice], greyscale = FALSE)
Expand Down
4 changes: 2 additions & 2 deletions modular_nova/modules/synths/code/bodyparts/ears.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "auditory sensors"
icon = 'modular_nova/master_files/icons/obj/surgery.dmi'
icon_state = "ears-ipc"
desc = "A pair of microphones intended to be installed in an IPC or Synthetics head, that grant the ability to hear."
zone = BODY_ZONE_HEAD
desc = "A pair of microphones intended to be installed inside a machine's chassis, that grant the ability to hear."
zone = BODY_ZONE_CHEST
slot = ORGAN_SLOT_EARS
gender = PLURAL
maxHealth = 1 * STANDARD_ORGAN_THRESHOLD
Expand Down

0 comments on commit 8443b02

Please sign in to comment.