Ports the weather system from Nebula. (#18706)

* part 1

* compiles?

* IT WORKS

* vis contents

* fixes

* umbrelloid

* umbrella 2

* dsasdd

* stuff

* lmao

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2024-03-24 14:05:00 +00:00
committed by GitHub
co-authored by Matt Atlas
parent 82beece3db
commit 57067892d8
73 changed files with 1368 additions and 31 deletions
@@ -608,7 +608,7 @@
/obj/structure/closet/proc/end_door_animation()
is_animating_door = FALSE // comment this out and the line below to manually tweak the animation end state by fiddling with the door_anim vars to match the open door icon
vis_contents -= door_obj
remove_vis_contents(door_obj)
update_icon()
compile_overlays(src)
@@ -639,7 +639,7 @@
/obj/structure/closet/proc/end_door_animation_alt()
is_animating_door = FALSE // comment this out and the line below to manually tweak the animation end state by fiddling with the door_anim vars to match the open door icon
vis_contents -= door_obj_alt
remove_vis_contents(door_obj_alt)
update_icon()
compile_overlays(src)
+1 -1
View File
@@ -148,7 +148,7 @@
for(var/mob/living/carbon/human/H in loc)
check_vampire_enter(H.loc, H)
vis_contents += get_turf(mirror)
add_vis_contents(get_turf(mirror))
/obj/effect/reflection/proc/check_vampire_enter(var/turf/T, var/mob/living/carbon/human/H)
if(!istype(H))
@@ -415,7 +415,7 @@
add_overlay(light)
if(vitals)
vitals.update_monitor()
vis_contents += vitals
add_vis_contents(vitals)
/obj/structure/bed/roller/attackby(obj/item/attacking_item, mob/user)
if(iswrench(attacking_item) || istype(attacking_item, /obj/item/stack) || iswirecutter(attacking_item))