mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 22:42:26 +01:00
More Tool Sprites (#11830)
This commit is contained in:
@@ -104,13 +104,21 @@
|
||||
icon_state = "utilitybelt_ce"
|
||||
item_state = "utility_ce"
|
||||
|
||||
starts_with = list(
|
||||
/obj/item/weldingtool/largetank = 1, // industrial welding tool
|
||||
/obj/item/crowbar = 1,
|
||||
/obj/item/wirecutters/toolbelt = 1,
|
||||
/obj/item/stack/cable_coil/random = 1,
|
||||
/obj/item/powerdrill = 1
|
||||
)
|
||||
|
||||
/obj/item/storage/belt/utility/full
|
||||
starts_with = list(
|
||||
/obj/item/screwdriver = 1,
|
||||
/obj/item/wrench = 1,
|
||||
/obj/item/weldingtool = 1,
|
||||
/obj/item/crowbar = 1,
|
||||
/obj/item/wirecutters = 1,
|
||||
/obj/item/wirecutters/toolbelt = 1,
|
||||
/obj/item/stack/cable_coil/random = 1,
|
||||
/obj/item/powerdrill = 1
|
||||
)
|
||||
@@ -119,7 +127,7 @@
|
||||
starts_with = list(
|
||||
/obj/item/weldingtool/largetank = 1,
|
||||
/obj/item/crowbar = 1,
|
||||
/obj/item/wirecutters = 1,
|
||||
/obj/item/wirecutters/toolbelt = 1,
|
||||
/obj/item/stack/cable_coil/random = 1,
|
||||
/obj/item/powerdrill = 1,
|
||||
/obj/item/device/multitool = 1,
|
||||
|
||||
@@ -144,10 +144,12 @@
|
||||
build_from_parts = TRUE
|
||||
worn_overlay = "head"
|
||||
|
||||
var/list/color_options = list(COLOR_BLUE, COLOR_RED, COLOR_PURPLE, COLOR_BROWN, COLOR_GREEN, COLOR_CYAN, COLOR_YELLOW)
|
||||
|
||||
/obj/item/wirecutters/Initialize()
|
||||
. = ..()
|
||||
if(build_from_parts)
|
||||
color = pick(COLOR_BLUE, COLOR_RED, COLOR_PURPLE, COLOR_BROWN, COLOR_GREEN, COLOR_CYAN, COLOR_YELLOW)
|
||||
color = pick(color_options)
|
||||
add_overlay(overlay_image(icon, "[initial(icon_state)]_[worn_overlay]", flags=RESET_COLOR))
|
||||
|
||||
/obj/item/wirecutters/update_icon()
|
||||
@@ -192,6 +194,9 @@
|
||||
/obj/item/wirecutters/iswirecutter()
|
||||
return TRUE
|
||||
|
||||
/obj/item/wirecutters/toolbelt
|
||||
color_options = list(COLOR_TOOLS)
|
||||
|
||||
/obj/item/wirecutters/bomb
|
||||
name = "bomb defusal wirecutters"
|
||||
desc = "A tool used to delicately sever the wires used in bomb fuses."
|
||||
|
||||
Reference in New Issue
Block a user