mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 19:44:58 +01:00
[MIRROR] Replaces Camera bug with Camera tablet app [MDB IGNORE] (#23275)
* Replaces Camera bug with Camera tablet app * Modular changes --------- Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Co-authored-by: Giz <13398309+vinylspiders@users.noreply.github.com>
This commit is contained in:
@@ -128,7 +128,7 @@
|
||||
|
||||
switch(action)
|
||||
if("PC_exit")
|
||||
active_program.kill_program()
|
||||
active_program.kill_program(usr)
|
||||
return TRUE
|
||||
if("PC_shutdown")
|
||||
shutdown_computer()
|
||||
@@ -146,7 +146,7 @@
|
||||
if(!istype(killed_program))
|
||||
return
|
||||
|
||||
killed_program.kill_program()
|
||||
killed_program.kill_program(usr)
|
||||
to_chat(usr, span_notice("Program [killed_program.filename].[killed_program.filetype] with PID [rand(100,999)] has been killed."))
|
||||
return TRUE
|
||||
|
||||
@@ -221,3 +221,8 @@
|
||||
if(physical)
|
||||
return physical
|
||||
return src
|
||||
|
||||
/obj/item/modular_computer/ui_close(mob/user)
|
||||
. = ..()
|
||||
if(active_program)
|
||||
active_program.ui_close(user)
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
/obj/item/computer_disk/syndicate
|
||||
name = "golden data disk"
|
||||
desc = "A data disk with some high-tech programs, probably expensive as hell."
|
||||
icon_state = "datadisk8"
|
||||
custom_materials = list(/datum/material/gold = SMALL_MATERIAL_AMOUNT)
|
||||
|
||||
/obj/item/computer_disk/syndicate/camera_app
|
||||
starting_programs = list(/datum/computer_file/program/secureye/syndicate)
|
||||
Reference in New Issue
Block a user