Skip to content

Commit

Permalink
component_type
Browse files Browse the repository at this point in the history
  • Loading branch information
BaraBarax committed Oct 11, 2024
1 parent 1f01525 commit 239c05c
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions code/modules/power/fusion/fuel_assembly/fuel_compressor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,12 @@
atom_flags = ATOM_FLAG_CLIMBABLE
turf_height_offset = 23

/obj/machinery/fusion_fuel_compressor/Initialize()
. = ..()
component_parts = list(
new /obj/item/circuitboard/fusion_fuel_compressor(src),
new /obj/item/stock_parts/manipulator/pico(src),
new /obj/item/stock_parts/manipulator/pico(src),
new /obj/item/stock_parts/matter_bin/super(src),
new /obj/item/stock_parts/matter_bin/super(src),
new /obj/item/stock_parts/console_screen(src),
new /obj/item/stack/cable_coil(src, 5))
RefreshParts()
component_types = list(
/obj/item/stock_parts/manipulator/pico = 2,
/obj/item/stock_parts/matter_bin/super = 2,
/obj/item/stock_parts/console_screen = 1,
/obj/item/stack/cable_coil = 5
)

/obj/machinery/fusion_fuel_compressor/MouseDrop_T(atom/movable/target, mob/user)
if(user.incapacitated() || !user.Adjacent(src))
Expand Down

0 comments on commit 239c05c

Please sign in to comment.