Files
fulpstation/code/__HELPERS/lighting.dm
John Willard 03e71941bd [MDB IGNORE] [IDB IGNORE] September TGU (#351)
* tgu

* repath

* tgu again

* Pubby update

* starting on preferences

* starting on bloodsuckers

* more tgui

* deputies and monster hunter

* finished beefmen

* Update beefman.ts

* Tgu map changes (#8)

* selene areas and slight fixes

* fixes helio areas and other small stuff

* tgu

* fulp bans thank you beatrice

* test

* Update bans.dm

* Update bans.dm

* full access

* Revert "full access"

This reverts commit 6b4f0d2822.

* tgu

* another tgu

Co-authored-by: Helianthus00 <64755361+Helianthus00@users.noreply.github.com>
2021-09-19 12:52:05 -06:00

12 lines
826 B
Plaintext

/// Produces a mutable appearance glued to the [EMISSIVE_PLANE] dyed to be the [EMISSIVE_COLOR].
/proc/emissive_appearance(icon, icon_state = "", layer = FLOAT_LAYER, alpha = 255, appearance_flags = NONE)
var/mutable_appearance/appearance = mutable_appearance(icon, icon_state, layer, EMISSIVE_PLANE, alpha, appearance_flags | EMISSIVE_APPEARANCE_FLAGS)
appearance.color = GLOB.emissive_color
return appearance
/// Produces a mutable appearance glued to the [EMISSIVE_PLANE] dyed to be the [EM_BLOCK_COLOR].
/proc/emissive_blocker(icon, icon_state = "", layer = FLOAT_LAYER, alpha = 255, appearance_flags = NONE)
var/mutable_appearance/appearance = mutable_appearance(icon, icon_state, layer, EMISSIVE_PLANE, alpha, appearance_flags | EMISSIVE_APPEARANCE_FLAGS)
appearance.color = GLOB.em_block_color
return appearance