mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 23:17:02 +01:00
Few bugfixes for Shadow Demon (#25671)
* Few bugfixes for Shadow Demon * Update shadow_demon.dm * Update code/game/gamemodes/miniantags/demons/shadow_demon/shadow_demon.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Сиротка <114731039+ErdGinalD@users.noreply.github.com> * Update code/game/objects/structures/crates_lockers/closets.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Сиротка <114731039+ErdGinalD@users.noreply.github.com> --------- Signed-off-by: Сиротка <114731039+ErdGinalD@users.noreply.github.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
icon_living = "shadow_demon"
|
||||
move_resist = MOVE_FORCE_STRONG
|
||||
lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_VISIBLE // so they can tell where the darkness is
|
||||
see_in_dark = 10 // Below 10 `see_in_dark`, you'll not have full vision with fullscreen
|
||||
loot = list(/obj/item/organ/internal/heart/demon/shadow)
|
||||
death_sound = 'sound/shadowdemon/shadowdeath.ogg'
|
||||
var/thrown_alert = FALSE
|
||||
|
||||
@@ -92,6 +92,10 @@
|
||||
if(throwing)
|
||||
throwing.finalize(FALSE)
|
||||
|
||||
/obj/structure/closet/extinguish_light(force)
|
||||
for(var/atom/A in contents)
|
||||
A.extinguish_light(force)
|
||||
|
||||
/obj/structure/closet/proc/open()
|
||||
if(opened)
|
||||
return FALSE
|
||||
|
||||
@@ -344,6 +344,10 @@ Pipelines + Other Objects -> Pipe network
|
||||
/obj/machinery/atmospherics/proc/can_crawl_through()
|
||||
return TRUE
|
||||
|
||||
/obj/machinery/atmospherics/extinguish_light(force)
|
||||
set_light(0)
|
||||
update_icon(UPDATE_OVERLAYS)
|
||||
|
||||
/obj/machinery/atmospherics/proc/change_color(new_color)
|
||||
//only pass valid pipe colors please ~otherwise your pipe will turn invisible
|
||||
if(!pipe_color_check(new_color))
|
||||
|
||||
Reference in New Issue
Block a user