Skip to content

Commit

Permalink
Match poster/newscaster dir offsets to neb
Browse files Browse the repository at this point in the history
  • Loading branch information
PsyCommando committed Jul 21, 2024
1 parent 2e21af1 commit c4b906f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/game/machinery/newscaster.dm
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ var/global/list/allCasters = list() //Global list that will contain reference to
uncreated_component_parts = null
stat_immune = 0
frame_type = /obj/item/frame/stock_offset/newscaster
directional_offset = @'{"NORTH":{"y":-32}, "SOUTH":{"y":32}, "EAST":{"x":-32}, "WEST":{"x":32}}'
directional_offset = @'{"NORTH":{"y":-32}, "SOUTH":{"y":32}, "EAST":{"x":32}, "WEST":{"x":-32}}'

/obj/machinery/newscaster/Initialize()
. = ..()
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/effects/decals/posters/_poster.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
icon = 'icons/obj/items/posters.dmi'
icon_state = "poster0"
anchored = TRUE
directional_offset = @'{"NORTH":{"y":-32}, "SOUTH":{"y":32}, "WEST":{"x":32}, "EAST":{"x":-32}}'
directional_offset = @'{"NORTH":{"y":32}, "SOUTH":{"y":-32}, "WEST":{"x":32}, "EAST":{"x":-32}}'
material = /decl/material/solid/organic/paper
max_health = 10
parts_type = /obj/item/poster
Expand Down
2 changes: 1 addition & 1 deletion code/unit_tests/offset_tests.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
if(QDELETED(structure))
continue
if(!isStationLevel(structure.z))
continue
continue //#FIXME: Why are away sites, templates, ruins excluded&?
if(is_type_in_list(structure, exception_types))
continue
if(!structure.anchored)
Expand Down

0 comments on commit c4b906f

Please sign in to comment.