mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 16:38:22 +01:00
Refactors tool colors + new sprites (#8786)
* Refactors tool sprites * yeah * sort the court * changelog and worn_overlays * fuck * door * waterloo * waterloo * skeeet * fuck this shit * stupid color prios * there
This commit is contained in:
@@ -3,8 +3,33 @@
|
||||
/obj/item/wirecutters/clippers
|
||||
name = "plant clippers"
|
||||
desc = "A tool used to take samples from plants."
|
||||
icon_state = "plantclippers"
|
||||
item_icons = list(
|
||||
slot_l_hand_str = 'icons/mob/items/lefthand_hydro.dmi',
|
||||
slot_r_hand_str = 'icons/mob/items/righthand_hydro.dmi',
|
||||
)
|
||||
toolspeed = 0.7
|
||||
bomb_defusal_chance = 40 // 40% chance to successfully defuse a bomb, higher than standard because plant clippers are smaller
|
||||
random_color = FALSE
|
||||
|
||||
/obj/item/wirecutters/clippers/update_icon()
|
||||
var/matrix/tf = matrix()
|
||||
if(istype(loc, /obj/item/storage))
|
||||
tf.Turn(-90) //Vertical for storing compactly
|
||||
tf.Translate(-1,0) //Could do this with pixel_x but let's just update the appearance once.
|
||||
transform = tf
|
||||
|
||||
/obj/item/wirecutters/pickup(mob/user)
|
||||
..()
|
||||
update_icon()
|
||||
|
||||
/obj/item/wirecutters/dropped(mob/user)
|
||||
..()
|
||||
update_icon()
|
||||
|
||||
/obj/item/wirecutters/attack_hand()
|
||||
..()
|
||||
update_icon()
|
||||
|
||||
/obj/item/device/analyzer/plant_analyzer
|
||||
name = "plant analyzer"
|
||||
|
||||
Reference in New Issue
Block a user