mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
Add micro laser to ARTGs
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
req_components = list(
|
||||
/obj/item/stack/cable_coil = 5,
|
||||
/obj/item/weapon/stock_parts/capacitor = 1,
|
||||
/obj/item/weapon/stock_parts/micro_laser = 1,
|
||||
/obj/item/stack/material/uranium = 10,
|
||||
/obj/item/stack/material/phoron = 5)
|
||||
|
||||
@@ -83,8 +84,8 @@
|
||||
|
||||
/obj/machinery/power/rtg/RefreshParts()
|
||||
var/part_level = 0
|
||||
for(var/obj/item/weapon/stock_parts/capacitor/C in component_parts)
|
||||
part_level += C.rating
|
||||
for(var/obj/item/weapon/stock_parts/SP in component_parts)
|
||||
part_level += SP.rating
|
||||
|
||||
power_gen = initial(power_gen) * part_level
|
||||
|
||||
|
||||
Reference in New Issue
Block a user