mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
PLANES (#10499)
* PLANES * whoops * bugfixes * adds dummy noir obj/screen * I.plane = initial(I.plane) + assorted bugfixes * fixed bugs and did a thing with lasers & tasers * thanks for using a define up there it's really useful and maintainable.
This commit is contained in:
@@ -217,6 +217,7 @@
|
||||
else
|
||||
A.screen_loc = "CENTER+[x]:16,SOUTH+[y]:7"
|
||||
A.layer = 20
|
||||
A.plane = PLANE_HUD
|
||||
|
||||
x++
|
||||
if(x == 4)
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
var/gun_click_time = -100 //I'm lazy.
|
||||
var/globalscreen = 0 //This screen object is not unique to one screen, can be seen by many
|
||||
appearance_flags = NO_CLIENT_COLOR
|
||||
plane = PLANE_HUD
|
||||
|
||||
/obj/screen/Destroy()
|
||||
master = null
|
||||
|
||||
@@ -73,6 +73,7 @@ var/const/tk_maxrange = 15
|
||||
//item_state = null
|
||||
w_class = W_CLASS_GIANT
|
||||
layer = 20
|
||||
plane = PLANE_HUD
|
||||
abstract = 1
|
||||
|
||||
var/last_throw = 0
|
||||
@@ -183,6 +184,7 @@ var/const/tk_maxrange = 15
|
||||
O.anchored = 1
|
||||
O.density = 0
|
||||
O.layer = FLY_LAYER
|
||||
O.plane = PLANE_EFFECTS
|
||||
O.dir = pick(cardinal)
|
||||
O.icon = 'icons/effects/effects.dmi'
|
||||
O.icon_state = "nothing"
|
||||
|
||||
@@ -183,6 +183,7 @@ var/list/ventcrawl_machinery = list(/obj/machinery/atmospherics/unary/vent_pump,
|
||||
for(var/obj/machinery/atmospherics/A in (pipeline.members || pipeline.edges))
|
||||
if(!A.pipe_image)
|
||||
A.pipe_image = image(A, A.loc, layer = 20, dir = A.dir) //the 20 puts it above Byond's darkness (not its opacity view)
|
||||
A.pipe_image.plane = PLANE_LIGHTING
|
||||
pipes_shown += A.pipe_image
|
||||
client.images += A.pipe_image
|
||||
|
||||
|
||||
Reference in New Issue
Block a user