mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
* All i wanted was to add clockwork windoors but i ended tweaking windoor code. * whatever, i'll use it later anyways. * THIS WILL NEVER GET DONE IF I KEEP FINDING TRASH * did stuff * transfer those mfucking prints * I SAID TRANSFER THE MFUCKING PRINTS
19 lines
750 B
Plaintext
19 lines
750 B
Plaintext
#define CLOCKWORK_GENERIC_GLOW "clockwork_generic_glow"
|
|
#define CLOCKWORK_DOOR_GLOW "clockwork_door_glow"
|
|
#define BRASS_WINDOOR_GLOW "clockwork_windoor_glow"
|
|
#define BRASS_WINDOW_GLOW "clockwork_window_glow_s"
|
|
#define BRASS_FULL_WINDOW_GLOW "clockwork_window_glow"
|
|
#define REPLICANT_GRILLE_GLOW "clockwork_grille_glow"
|
|
#define BROKEN_REPLICANT_GRILLE_GLOW "clockwork_broken_grille_glow"
|
|
|
|
|
|
#define GENERIC_CLOCKWORK_CONVERSION(A, B, C)\
|
|
if(A.invisibility != INVISIBILITY_MAXIMUM){\
|
|
A.invisibility = INVISIBILITY_MAXIMUM;\
|
|
var/atom/movable/D = new B(A.loc);\
|
|
if(!A.gcDestroyed){\
|
|
D.dir = A.dir;\
|
|
qdel(A);\
|
|
};\
|
|
anim(target = D, a_icon = 'icons/effects/effects.dmi', a_icon_state = C, direction = D.dir, sleeptime = 1 SECONDS);\
|
|
} |