Files
Bubberstation/code/modules/power/apc/apc_mapping.dm
SkyratBot 895096a37d [MIRROR] [MDB IGNORE] Fix High Capacity APC Inheritance [MDB IGNORE] (#15945)
* [MDB IGNORE] Fix High Capacity APC Inheritance (#69526)

Doing some mapping work downstream and I noticed there were both directional and non directional high caps. Code dived to figure out which was the valid one to use and found the directional high caps were not actually inheriting the upgraded power cells do to bad name structure. Corrected inheritance structure. Updated Kilo and Icebox to use directional high caps as standard and updated several ruin and gateway missions to standard directional high caps

* [MDB IGNORE] Fix High Capacity APC Inheritance

Co-authored-by: ORCACommander <orcacommander1@gmail.com>
2022-08-31 11:41:00 -07:00

27 lines
916 B
Plaintext

/obj/machinery/power/apc/unlocked
locked = FALSE
/obj/machinery/power/apc/syndicate //general syndicate access
req_access = list(ACCESS_SYNDICATE)
/obj/machinery/power/apc/away //general away mission access
req_access = list(ACCESS_AWAY_GENERAL)
/obj/machinery/power/apc/highcap/five_k
cell_type = /obj/item/stock_parts/cell/upgraded/plus
/obj/machinery/power/apc/highcap/ten_k
cell_type = /obj/item/stock_parts/cell/high
/obj/machinery/power/apc/auto_name
auto_name = TRUE
/obj/machinery/power/apc/sm_apc
auto_name = TRUE
cell_type = /obj/item/stock_parts/cell/high
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/power/apc/auto_name, APC_PIXEL_OFFSET)
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/power/apc/highcap/five_k, APC_PIXEL_OFFSET)
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/power/apc/highcap/ten_k, APC_PIXEL_OFFSET)
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/power/apc/sm_apc, APC_PIXEL_OFFSET)