mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Adds Chameleon Tie (#27840)
* the tie * colour change --------- Co-authored-by: Bmon <no@email.com>
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
/datum/action/item_action/chameleon_change/New(Target)
|
||||
. = ..()
|
||||
holder = Target
|
||||
|
||||
|
||||
|
||||
/datum/action/item_action/chameleon_change/Grant(mob/M)
|
||||
if(M && (owner != M))
|
||||
@@ -712,6 +712,35 @@
|
||||
. = ..()
|
||||
chameleon_action.emp_randomise(INFINITY)
|
||||
|
||||
/obj/item/clothing/neck/chameleon
|
||||
name = "black tie"
|
||||
desc = "A neosilk clip-on tie."
|
||||
icon = 'icons/obj/clothing/neck.dmi'
|
||||
icon_state = "blacktie"
|
||||
resistance_flags = NONE
|
||||
|
||||
var/datum/action/item_action/chameleon_change/chameleon_action
|
||||
|
||||
/obj/item/clothing/neck/chameleon/Initialize(mapload)
|
||||
. = ..()
|
||||
chameleon_action = new(src)
|
||||
chameleon_action.chameleon_type = /obj/item/clothing/neck
|
||||
chameleon_action.chameleon_name = "Tie"
|
||||
chameleon_action.chameleon_blacklist = list()
|
||||
chameleon_action.initialize_disguises()
|
||||
|
||||
/obj/item/clothing/neck/chameleon/Destroy()
|
||||
QDEL_NULL(chameleon_action)
|
||||
return ..()
|
||||
|
||||
/obj/item/clothing/neck/chameleon/emp_act(severity)
|
||||
. = ..()
|
||||
chameleon_action.emp_randomise()
|
||||
|
||||
/obj/item/clothing/neck/chameleon/broken/Initialize(mapload)
|
||||
. = ..()
|
||||
chameleon_action.emp_randomise(INFINITY)
|
||||
|
||||
/datum/action/item_action/chameleon_change/modsuit/update_item(obj/item/picked_item)
|
||||
if(ismodcontrol(target))
|
||||
var/obj/item/mod/control/C = target
|
||||
|
||||
Reference in New Issue
Block a user