Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chameleon system #27934

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 35 additions & 11 deletions _maps/map_files/test_tiny/test_tiny.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,32 @@
/obj/effect/landmark/spawner/late/crew,
/turf/simulated/floor/mineral/titanium/blue,
/area/shuttle/arrival/station)
"f" = (
/obj/item/clothing/glasses/test_chameleon,
/turf/simulated/floor/mineral/titanium/blue,
/area/shuttle/arrival/station)
"l" = (
/obj/effect/mob_spawn/human/corpse/engineer,
/turf/simulated/floor/mineral/titanium/blue,
/area/shuttle/arrival/station)
"m" = (
/obj/item/clothing/under/chameleon,
/turf/simulated/floor/mineral/titanium/blue,
/area/shuttle/arrival/station)
"n" = (
/obj/effect/mob_spawn/human/corpse/cook,
/turf/simulated/floor/mineral/titanium/blue,
/area/shuttle/arrival/station)
"p" = (
/obj/machinery/light{
dir = 1
},
/turf/simulated/floor/mineral/titanium/blue,
/area/shuttle/arrival/station)
"r" = (
/obj/item/clothing/shoes/chameleon,
/turf/simulated/floor/mineral/titanium/blue,
/area/shuttle/arrival/station)
"u" = (
/turf/simulated/wall/mineral/titanium,
/area/shuttle/arrival/station)
Expand All @@ -27,6 +47,10 @@
/obj/machinery/light,
/turf/simulated/floor/mineral/titanium/blue,
/area/shuttle/arrival/station)
"G" = (
/obj/effect/mob_spawn/human/corpse/doctor,
/turf/simulated/floor/mineral/titanium/blue,
/area/shuttle/arrival/station)
"I" = (
/obj/machinery/light{
dir = 8
Expand Down Expand Up @@ -31777,10 +31801,10 @@ a
u
x
x
x
x
x
x
f
f
f
f
x
x
x
Expand Down Expand Up @@ -32034,10 +32058,10 @@ a
u
p
x
x
x
x
x
m
m
r
r
x
x
x
Expand Down Expand Up @@ -32548,7 +32572,7 @@ a
u
x
x
x
n
x
x
b
Expand Down Expand Up @@ -32805,7 +32829,7 @@ a
u
x
x
x
G
x
x
x
Expand Down Expand Up @@ -33062,7 +33086,7 @@ a
u
p
x
x
l
x
x
x
Expand Down
8 changes: 8 additions & 0 deletions code/__DEFINES/dcs/datum_signals.dm
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,14 @@
#define COMSIG_DEFIB_READY "defib_ready"


/// /datum/component/chameleon
#define COMSIG_CHAMELEON_SINGLE_CHANGE_REQUEST "chameleon_change_one"
#define COMSIG_CHAMELEON_FULL_CHANGE_REQUEST "chameleon_change_all"
#define COMSIG_CHAMELEON_CHANGE_ONE_TRIGGER "chameleon_change_one_trigger"
#define COMSIG_CHAMELEON_REFRESH_ACTIONS "chameleon_refresh_actions"
// Called when the chameleon system needs a list of all the wearables subscribed to it.
#define COMSIG_CHAMELEON_SYSTEM_GET_SUBSCRIBED "chameleon_get_subscribed"

/// /datum/alarm_manager

#define COMSIG_TRIGGERED_ALARM "alarmmanager_triggered"
Expand Down
2 changes: 1 addition & 1 deletion code/__DEFINES/dcs/mob_signals.dm
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
#define SPEECH_LANGUAGE 5
#define SPEECH_IGNORE_SPAM 6
#define SPEECH_FORCED 7 */

#define COMSIG_MOB_UNEQUIPPED_ITEM "mob_unequipped_item"
///from /mob/say_dead(): (mob/speaker, message)
#define COMSIG_MOB_DEADSAY "mob_deadsay"
#define MOB_DEADSAY_SIGNAL_INTERCEPT (1<<0)
Expand Down
Loading
Loading