f67e9f6d87
* not code stuff * other things * global vars, defines, helpers * onclick hud stuff, orphans, world.dm * controllers and datums * game folder * everything not client/mobs in modules * client folder * stage 1 mob stuff * simple animal things * silicons * carbon things * ayylmaos and monkeys * hyoomahn * icons n shit * sprite fixes * compile fixes * some fixes I cherrypicked. * qdel fixes * forgot brain refractors
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
/obj/screen/plane_master
|
|
screen_loc = "CENTER"
|
|
icon_state = "blank"
|
|
appearance_flags = PLANE_MASTER|NO_CLIENT_COLOR
|
|
blend_mode = BLEND_OVERLAY
|
|
|
|
//Why do plane masters need a backdrop sometimes? Read http://www.byond.com/forum/?post=2141928
|
|
//Trust me, you need one. Period. If you don't think you do, you're doing something extremely wrong.
|
|
/obj/screen/plane_master/proc/backdrop(mob/mymob)
|
|
|
|
/obj/screen/plane_master/game_world
|
|
name = "game world plane master"
|
|
plane = GAME_PLANE
|
|
blend_mode = BLEND_OVERLAY
|
|
|
|
/obj/screen/plane_master/lighting
|
|
name = "lighting plane master"
|
|
plane = LIGHTING_PLANE
|
|
blend_mode = BLEND_MULTIPLY
|
|
mouse_opacity = 0
|
|
|
|
/obj/screen/plane_master/lighting/proc/params2color(params)
|
|
color = params2list(params)
|
|
/obj/screen/plane_master/lighting/proc/basecolor()
|
|
color = LIGHTING_BASE_MATRIX
|
|
|
|
/obj/screen/plane_master/parallax
|
|
name = "parallax plane master"
|
|
plane = PLANE_SPACE_PARALLAX
|
|
blend_mode = BLEND_MULTIPLY
|
|
mouse_opacity = FALSE
|
|
|
|
/obj/screen/plane_master/parallax_white
|
|
name = "parallax whitifier plane master"
|
|
plane = PLANE_SPACE
|
|
|
|
/obj/screen/plane_master/lighting/backdrop(mob/mymob)
|
|
mymob.overlay_fullscreen("lighting_backdrop_lit", /obj/screen/fullscreen/lighting_backdrop/lit)
|
|
mymob.overlay_fullscreen("lighting_backdrop_unlit", /obj/screen/fullscreen/lighting_backdrop/unlit)
|