Skip to content

Commit

Permalink
Fixing remaining turfs.
Browse files Browse the repository at this point in the history
  • Loading branch information
MistakeNot4892 committed Oct 31, 2023
1 parent e7162a2 commit 6bb6a7b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
7 changes: 6 additions & 1 deletion code/game/machinery/doors/airlock_subtypes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,14 @@
stripe_color = COLOR_DEEP_SKY_BLUE

/obj/machinery/door/airlock/medical/open
begins_closed = FALSE
icon_state = "open"

/obj/machinery/door/airlock/medical/open/Initialize()
set_density(FALSE)
set_opacity(FALSE)
layer = open_layer
return ..()

/obj/machinery/door/airlock/virology
door_color = COLOR_WHITE
stripe_color = COLOR_GREEN
Expand Down
2 changes: 1 addition & 1 deletion code/game/turfs/flooring/flooring_premade.dm
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
icon_state = "sand"

/turf/simulated/floor/beach/sand/desert
icon_state = "desert"
icon_state = "desert0"

/turf/simulated/floor/beach/sand/desert/Initialize()
. = ..()
Expand Down
7 changes: 7 additions & 0 deletions code/unit_tests/icon_tests.dm
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
var/turf/turf_prototype = turf_type
if(TYPE_IS_ABSTRACT(turf_prototype))
continue
var/excepted = FALSE
for(var/exception_path in except_types)
if(ispath(turf_type, exception_path))
excepted = TRUE
break
if(excepted)
continue
var/test_icon_state = initial(turf_prototype.icon_state)
var/test_icon = initial(turf_prototype.icon)
if(isnull(test_icon_state))
Expand Down
Binary file modified icons/turf/walls.dmi
Binary file not shown.
Binary file modified icons/turf/walls/cult.dmi
Binary file not shown.

0 comments on commit 6bb6a7b

Please sign in to comment.