mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Ports some old TG lighting + opacity refactors (#29724)
* lighting ports * missed these * fix * tweak optical scanners * Update code/datums/elements/light_blocking.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Signed-off-by: kyunkyunkyun <120701975+kyunkyunkyun@users.noreply.github.com> --------- Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com> Signed-off-by: kyunkyunkyun <120701975+kyunkyunkyun@users.noreply.github.com> Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
co-authored by
Contrabang
Burzah
parent
d175f3d1e4
commit
6862135913
@@ -102,7 +102,6 @@
|
||||
*/
|
||||
/obj/structure/alien/resin/door
|
||||
name = "resin door"
|
||||
|
||||
icon = 'icons/obj/smooth_structures/alien/resin_door.dmi'
|
||||
icon_state = "resin"
|
||||
base_icon_state = "resin"
|
||||
@@ -187,7 +186,7 @@
|
||||
playsound(loc, close_sound, 50, 1)
|
||||
flick("[initial_state]closing", src)
|
||||
density = !density
|
||||
opacity = !opacity
|
||||
set_opacity(!opacity)
|
||||
state_open = !state_open
|
||||
addtimer(CALLBACK(src, PROC_REF(operate_update), bumped_open), 1 SECONDS)
|
||||
|
||||
|
||||
@@ -135,7 +135,7 @@
|
||||
/obj/structure/curtain/update_overlays()
|
||||
. = ..()
|
||||
if(!assembled)
|
||||
opacity = FALSE
|
||||
set_opacity(FALSE)
|
||||
return
|
||||
|
||||
if(opacity)
|
||||
|
||||
@@ -433,7 +433,7 @@
|
||||
. = ..()
|
||||
if(icon_state == "random-alien")
|
||||
icon_state = "alien-[rand(1,8)]"
|
||||
|
||||
|
||||
/obj/item/kirbyplants/large/alien/alien1
|
||||
icon_state = "alien-1"
|
||||
/obj/item/kirbyplants/large/alien/alien3
|
||||
@@ -519,7 +519,7 @@
|
||||
/obj/structure/bush/Initialize(mapload)
|
||||
. = ..()
|
||||
if(prob(20))
|
||||
opacity = TRUE
|
||||
set_opacity(TRUE)
|
||||
|
||||
/*
|
||||
/obj/structure/bush/Bumped(M as mob)
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
|
||||
/obj/structure/mineral_door/proc/operate_update()
|
||||
density = !density
|
||||
opacity = !opacity
|
||||
set_opacity(!opacity)
|
||||
state_open = !state_open
|
||||
recalculate_atmos_connectivity()
|
||||
update_icon(UPDATE_ICON_STATE)
|
||||
|
||||
Reference in New Issue
Block a user