mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 12:29:23 +01:00
@@ -39,4 +39,4 @@
|
||||
if(stored_card)
|
||||
stored_card.forceMove(get_turf(parent_computer))
|
||||
parent_computer = null
|
||||
return ..()
|
||||
return ..()
|
||||
|
||||
@@ -80,4 +80,4 @@
|
||||
battery.charge = battery.maxcharge
|
||||
|
||||
/obj/item/computer_hardware/battery_module/get_cell()
|
||||
return battery
|
||||
return battery
|
||||
|
||||
@@ -96,4 +96,4 @@
|
||||
// Damages the component. Contains necessary checks. Negative damage "heals" the component.
|
||||
/obj/item/computer_hardware/proc/take_damage(var/amount)
|
||||
damage += round(amount) // We want nice rounded numbers here.
|
||||
damage = between(0, damage, max_damage) // Clamp the value.
|
||||
damage = between(0, damage, max_damage) // Clamp the value.
|
||||
|
||||
@@ -46,4 +46,4 @@
|
||||
if(parent_computer?.nano_printer == src)
|
||||
parent_computer.nano_printer = null
|
||||
parent_computer = null
|
||||
return ..()
|
||||
return ..()
|
||||
|
||||
@@ -109,4 +109,4 @@ var/global/ntnet_card_uid = 1
|
||||
if(parent_computer?.network_card == src)
|
||||
parent_computer.network_card = null
|
||||
parent_computer = null
|
||||
return ..()
|
||||
return ..()
|
||||
|
||||
@@ -29,4 +29,4 @@
|
||||
/obj/item/computer_hardware/hard_drive/portable/New()
|
||||
..()
|
||||
stored_files = list()
|
||||
recalculate_size()
|
||||
recalculate_size()
|
||||
|
||||
@@ -48,4 +48,4 @@
|
||||
continue
|
||||
// Check whether the program should be available for station/antag download, if yes, add it to lists.
|
||||
if(prog.available_on_ntnet)
|
||||
new /obj/item/computer_hardware/hard_drive/portable/backup(src, prog.filename)
|
||||
new /obj/item/computer_hardware/hard_drive/portable/backup(src, prog.filename)
|
||||
|
||||
@@ -46,4 +46,4 @@
|
||||
hardware_size = 1
|
||||
power_usage = 75
|
||||
max_idle_programs = 3
|
||||
origin_tech = list(TECH_DATA = 4, TECH_ENGINEERING = 3)
|
||||
origin_tech = list(TECH_DATA = 4, TECH_ENGINEERING = 3)
|
||||
|
||||
Reference in New Issue
Block a user