Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 7c2d2c7

Browse files
committed
Moves it to 10 seconds instead
1 parent 89461c7 commit 7c2d2c7

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

code/modules/clothing/chameleon.dm

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@
100100
return select_outfit(owner)
101101

102102
/datum/action/chameleon_outfit/proc/select_outfit(mob/user, datum/outfit/outfit = null)
103-
message_admins("select_outfit called")
104103
if(!user || !IsAvailable(feedback = FALSE))
105104
return FALSE
106105
var/datum/outfit/O
@@ -111,17 +110,14 @@
111110
var/outfit_type = outfit_options[selected]
112111
if(!outfit_type)
113112
return FALSE
114-
message_admins(outfit_type)
115113
O = new outfit_type()
116-
message_admins(O)
117114
var/list/outfit_types = O.get_chameleon_disguise_info()
118115
for(var/V in user.chameleon_item_actions)
119116
var/datum/action/item_action/chameleon/change/A = V
120117
var/done = FALSE
121118
for(var/T in outfit_types)
122119
for(var/name in A.chameleon_list)
123120
if(A.chameleon_list[name] == T)
124-
message_admins("List: [A.chameleon_list[name]], T: [T]")
125121
A.update_look(user, T)
126122
outfit_types -= T
127123
done = TRUE
@@ -130,15 +126,11 @@
130126
break
131127
else //If a specific outfit is passed through
132128
var/list/types = outfit.get_chameleon_disguise_info()
133-
message_admins(outfit)
134-
message_admins("Uniform: [outfit.uniform]")
135-
message_admins("Suit: [outfit.suit]")
136-
for(var/i in 1 to types.len)
129+
for(var/T in types)
137130
for(var/V in user.chameleon_item_actions)
138131
var/datum/action/item_action/chameleon/change/A = V
139-
if(istype(types[i], A.chameleon_type))
140-
message_admins("T: [types[i]]")
141-
A.update_look(user, types[i])
132+
if(istype(T, A.chameleon_type))
133+
A.update_look(user, T)
142134
return TRUE
143135
//hardsuit helmets/suit hoods
144136
if(O.toggle_helmet && (ispath(O.suit, /obj/item/clothing/suit/space/hardsuit) || ispath(O.suit, /obj/item/clothing/suit/hooded)) && ishuman(user))
@@ -216,7 +208,7 @@
216208
var/mob/living/carbon/human/T = target_atom
217209
var/datum/outfit/O = new()
218210
to_chat(owner, span_notice("Attempting to copy [T]..."))
219-
if(!do_after(owner, 5 SECONDS, target_atom))
211+
if(!do_after(owner, 10 SECONDS, target_atom))
220212
return
221213
O.uniform = T.w_uniform
222214
O.suit = T.wear_suit
@@ -226,7 +218,6 @@
226218
O.ears = T.ears
227219
O.glasses = T.glasses
228220
O.mask = T.wear_mask
229-
O.neck = T.wear_neck
230221
var/datum/action/chameleon_outfit/select = locate(/datum/action/chameleon_outfit) in owner.actions
231222
select.select_outfit(owner, O)
232223
to_chat(owner, span_notice("Successfully copied [T]!"))

0 commit comments

Comments
 (0)