Add directional variants to APC sprites (#24155)

* Add directional variants to APC sprites.

Provide exhaustive UpdatePaths script for every single APC around.
Run script across all map files.

* add separate directions

---------

Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
This commit is contained in:
warriorstar-orion
2024-02-24 18:35:10 +00:00
committed by GitHub
co-authored by S34N
parent 4e905c0e92
commit df5c7f1f9a
31 changed files with 920 additions and 3533 deletions
+16 -16
View File
@@ -1068,22 +1068,6 @@
req_access = list(ACCESS_SYNDICATE)
report_power_alarm = FALSE
/obj/machinery/power/apc/syndicate/north
name = "north bump"
pixel_y = 24
/obj/machinery/power/apc/syndicate/south
name = "south bump"
pixel_y = -24
/obj/machinery/power/apc/syndicate/east
name = "east bump"
pixel_x = 24
/obj/machinery/power/apc/syndicate/west
name = "west bump"
pixel_x = -24
/obj/machinery/power/apc/syndicate/off
name = "APC off"
environment_channel = 0
@@ -1095,6 +1079,22 @@
. = ..()
cell.charge = 0
/obj/machinery/power/apc/important
cell_type = 10000
/obj/machinery/power/apc/critical
cell_type = 25000
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/power/apc, 24, 24)
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/power/apc/syndicate, 24, 24)
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/power/apc/syndicate/off, 24, 24)
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/power/apc/important, 24, 24)
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/power/apc/critical, 24, 24)
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/power/apc/off_station, 24, 24)
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/power/apc/off_station/empty_charge, 24, 24)
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/power/apc/worn_out, 24, 24)
/obj/item/apc_electronics
name = "APC electronics"
desc = "Heavy-duty switching circuits for power control."