mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
Adds the modsuit Chameleon Module (#23411)
* Adds the modsuit Chameleon Module * Update code/datums/uplink_items/uplink_general.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/uplink_items/uplink_general.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * even clearer * Update code/datums/uplink_items/uplink_general.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> --------- Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
This commit is contained in:
co-authored by
Burzah
Luc
Henri215
parent
112a606ae2
commit
6910d716dd
@@ -90,6 +90,10 @@
|
||||
var/list/mod_overlays = list()
|
||||
/// Is the jetpack on so we should make ion effects?
|
||||
var/jetpack_active = FALSE
|
||||
/// Cham option for when the cham module is installed.
|
||||
var/datum/action/item_action/chameleon/change/modsuit/chameleon_action
|
||||
/// Is the control unit disquised?
|
||||
var/current_disguise = FALSE
|
||||
|
||||
/obj/item/mod/control/serialize()
|
||||
var/list/data = ..()
|
||||
@@ -482,7 +486,8 @@
|
||||
return ..()
|
||||
|
||||
/obj/item/mod/control/update_icon_state()
|
||||
icon_state = "[skin]-[base_icon_state][active ? "-sealed" : ""]"
|
||||
if(current_disguise)
|
||||
icon_state = "[skin]-[base_icon_state][active ? "-sealed" : ""]"
|
||||
return ..()
|
||||
|
||||
/obj/item/mod/control/proc/set_wearer(mob/living/carbon/human/user)
|
||||
|
||||
Reference in New Issue
Block a user