fixes tool colors (#9129)

This commit is contained in:
Wowzewow (Wezzy)
2020-06-14 18:47:02 +02:00
committed by GitHub
parent 1ebc09e0d1
commit 36094ab834
14 changed files with 137 additions and 167 deletions
@@ -119,6 +119,12 @@ There are several things that need to be remembered:
#define GET_BODY_TYPE (cached_bodytype || (cached_bodytype = species.get_bodytype()))
#define GET_TAIL_LAYER (dir == NORTH ? TAIL_NORTH_LAYER : TAIL_SOUTH_LAYER)
/proc/overlay_image(icon,icon_state,color,flags)
var/image/ret = image(icon,icon_state)
ret.color = color
ret.appearance_flags = flags
return ret
/mob/living/carbon/human
var/list/overlays_raw[TOTAL_LAYERS] // Our set of "raw" overlays that can be modified, but cannot be directly applied to the mob without preprocessing.
var/previous_damage_appearance // store what the body last looked like, so we only have to update it if something changed
@@ -380,13 +380,15 @@
/obj/item/screwdriver/robotic
icon = 'icons/obj/robot_items.dmi'
icon_state = "screwdriver"
random_color = FALSE
build_from_parts = FALSE
/obj/item/device/multitool/robotic
icon = 'icons/obj/robot_items.dmi'
/obj/item/wirecutters/robotic
icon = 'icons/obj/robot_items.dmi'
icon_state = "wirecutters"
build_from_parts = FALSE
/obj/item/weldingtool/robotic
icon = 'icons/obj/robot_items.dmi'