mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 11:05:50 +01:00
Revert "[MIRROR] /atom New() => Initialize() [MDB IGNORE]"
This commit is contained in:
@@ -56,19 +56,19 @@
|
||||
hardware_size = 1
|
||||
battery_rating = 30000
|
||||
|
||||
/obj/item/weapon/computer_hardware/battery_module/lambda/Initialize()
|
||||
. = ..()
|
||||
/obj/item/weapon/computer_hardware/battery_module/lambda/New()
|
||||
..()
|
||||
battery = new/obj/item/weapon/cell/infinite(src)
|
||||
|
||||
/obj/item/weapon/computer_hardware/battery_module/diagnostics(var/mob/user)
|
||||
..()
|
||||
to_chat(user, "Internal battery charge: [battery.charge]/[battery.maxcharge] CU")
|
||||
|
||||
/obj/item/weapon/computer_hardware/battery_module/Initialize()
|
||||
/obj/item/weapon/computer_hardware/battery_module/New()
|
||||
battery = new/obj/item/weapon/cell(src)
|
||||
battery.maxcharge = battery_rating
|
||||
battery.charge = 0
|
||||
. = ..()
|
||||
..()
|
||||
|
||||
/obj/item/weapon/computer_hardware/battery_module/Destroy()
|
||||
qdel_null(battery)
|
||||
|
||||
Reference in New Issue
Block a user