mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 18:02:57 +00:00
Modular Cmp Updates
This commit is contained in:
@@ -100,7 +100,7 @@
|
||||
if(dev_apc_recharger)
|
||||
total_price += 399
|
||||
if(fabricate)
|
||||
fabricated_laptop.install_component(new /obj/item/computer_hardware/recharger/APC)
|
||||
fabricated_laptop.install_component(new /obj/item/computer_hardware/recharger/apc_recharger)
|
||||
if(dev_printer)
|
||||
total_price += 99
|
||||
if(fabricate)
|
||||
@@ -169,8 +169,9 @@
|
||||
|
||||
|
||||
/obj/machinery/lapvend/ui_act(action, params)
|
||||
if(..())
|
||||
return TRUE
|
||||
. = ..()
|
||||
if(.)
|
||||
return
|
||||
|
||||
switch(action)
|
||||
if("pick_device")
|
||||
@@ -224,7 +225,7 @@
|
||||
return FALSE
|
||||
|
||||
/obj/machinery/lapvend/ui_interact(mob/user, datum/tgui/ui)
|
||||
if(stat & (BROKEN | NOPOWER | MAINT))
|
||||
if(machine_stat & (BROKEN | NOPOWER | MAINT))
|
||||
if(ui)
|
||||
ui.close()
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user