Skip to content

Commit 891bded

Browse files
committed
Small fixes
1 parent f13130e commit 891bded

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

mojave/structures/grave.dm

+2-9
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
/// Set up variables from closet type that we will use
2424
breakout_time = 1 MINUTES
2525
allow_objects = TRUE
26+
enable_door_overlay = FALSE
2627
horizontal = TRUE // if there is a human in the grave, it has to be resting to be buried
2728
mob_storage_capacity = 1 // how many human sized mob/living can fit together inside a closet.
2829

@@ -64,14 +65,6 @@
6465
context[SCREENTIP_CONTEXT_RMB] = "Fill"
6566
return CONTEXTUAL_SCREENTIP_SET
6667

67-
/obj/structure/closet/ms13/grave/closet_update_overlays(list/new_overlays)
68-
. = new_overlays
69-
if(opened)
70-
var/mutable_appearance/door_overlay = mutable_appearance(icon, "[icon_state]_open", alpha = src.alpha)
71-
. += door_overlay
72-
// If we don't do this the door doesn't block emissives and it looks weird.
73-
door_overlay.overlays += emissive_blocker(door_overlay.icon, door_overlay.icon_state, alpha = door_overlay.alpha)
74-
7568
/obj/structure/closet/ms13/grave/update_icon_state()
7669
. = ..()
7770
icon_state = "[initial(icon_state)]_[soil_type]_[dirt_level]"
@@ -190,7 +183,7 @@
190183
to_chat(user, span_notice("You start leveling the ground with \the [tool]."))
191184
if(do_after(user, 3 SECONDS * tool.toolspeed, target = src))
192185
user.visible_message(span_notice("[user] levels the ground with \the [tool]."),
193-
span_notice("You levels the ground with \the [tool]."))
186+
span_notice("You level the ground with \the [tool]."))
194187
deconstruct(TRUE)
195188
return
196189
else if(dirt_level == max_level)

0 commit comments

Comments
 (0)