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

Commit 5d2d248

Browse files
committed
Chameleon copying
1 parent 901ec4f commit 5d2d248

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

code/modules/clothing/chameleon.dm

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,16 @@
142142
qdel(O)
143143
return TRUE
144144

145+
/datum/action/chameleon_copy
146+
name = "Copy person"
147+
button_icon_state = "chameleon_outfit" //Temporary, just to test it works
148+
var/syndicate = FALSE
149+
150+
/datum/action/chameleon_copy/Grant(mob/user)
151+
if(syndicate)
152+
owner_has_control = is_syndicate(user)
153+
return ..()
154+
145155

146156
/datum/action/item_action/chameleon/change
147157
name = "Chameleon Change"

0 commit comments

Comments
 (0)