[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:
SkyratBot
2023-08-23 22:33:01 +02:00
committed by GitHub
parent 9638396677
commit 30d57e41dc
34 changed files with 167 additions and 427 deletions
@@ -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)