* Maps and things no code/icons * helpers defines globalvars * Onclick world.dm orphaned_procs * subsystems Round vote and shuttle autocall done here too * datums * Game folder * Admin - chatter modules * clothing - mining * modular computers - zambies * client * mob level 1 * mob stage 2 + simple_animal * silicons n brains * mob stage 3 + Alien/Monkey * human mobs * icons updated * some sounds * emitter y u no commit * update tgstation.dme * compile fixes * travis fixes Also removes Fast digest mode, because reasons. * tweaks for travis Mentors are broke again Also fixes Sizeray guns * oxygen loss fix for vore code. * removes unused code * some code updates * bulk fixes * further fixes * outside things * whoops. * Maint bar ported * GLOBs.
255 lines
5.5 KiB
Plaintext
255 lines
5.5 KiB
Plaintext
/obj/screen/ai
|
|
icon = 'icons/mob/screen_ai.dmi'
|
|
|
|
/obj/screen/ai/Click()
|
|
if(isobserver(usr))
|
|
return 1
|
|
|
|
/obj/screen/ai/aicore
|
|
name = "AI core"
|
|
icon_state = "ai_core"
|
|
|
|
/obj/screen/ai/aicore/Click()
|
|
if(..())
|
|
return
|
|
var/mob/living/silicon/ai/AI = usr
|
|
AI.view_core()
|
|
|
|
/obj/screen/ai/camera_list
|
|
name = "Show Camera List"
|
|
icon_state = "camera"
|
|
|
|
/obj/screen/ai/camera_list/Click()
|
|
var/mob/living/silicon/ai/AI = usr
|
|
var/camera = input(AI, "Choose which camera you want to view", "Cameras") as null|anything in AI.get_camera_list()
|
|
AI.ai_camera_list(camera)
|
|
|
|
/obj/screen/ai/camera_track
|
|
name = "Track With Camera"
|
|
icon_state = "track"
|
|
|
|
/obj/screen/ai/camera_track/Click()
|
|
if(..())
|
|
return
|
|
var/mob/living/silicon/ai/AI = usr
|
|
var/target_name = input(AI, "Choose who you want to track", "Tracking") as null|anything in AI.trackable_mobs()
|
|
AI.ai_camera_track(target_name)
|
|
|
|
/obj/screen/ai/camera_light
|
|
name = "Toggle Camera Light"
|
|
icon_state = "camera_light"
|
|
|
|
/obj/screen/ai/camera_light/Click()
|
|
if(..())
|
|
return
|
|
var/mob/living/silicon/ai/AI = usr
|
|
AI.toggle_camera_light()
|
|
|
|
/obj/screen/ai/crew_monitor
|
|
name = "Crew Monitoring Console"
|
|
icon_state = "crew_monitor"
|
|
|
|
/obj/screen/ai/crew_monitor/Click()
|
|
if(..())
|
|
return
|
|
var/mob/living/silicon/ai/AI = usr
|
|
GLOB.crewmonitor.show(AI)
|
|
|
|
/obj/screen/ai/crew_manifest
|
|
name = "Crew Manifest"
|
|
icon_state = "manifest"
|
|
|
|
/obj/screen/ai/crew_manifest/Click()
|
|
if(..())
|
|
return
|
|
var/mob/living/silicon/ai/AI = usr
|
|
AI.ai_roster()
|
|
|
|
/obj/screen/ai/alerts
|
|
name = "Show Alerts"
|
|
icon_state = "alerts"
|
|
|
|
/obj/screen/ai/alerts/Click()
|
|
if(..())
|
|
return
|
|
var/mob/living/silicon/ai/AI = usr
|
|
AI.ai_alerts()
|
|
|
|
/obj/screen/ai/announcement
|
|
name = "Make Vox Announcement"
|
|
icon_state = "announcement"
|
|
|
|
/obj/screen/ai/announcement/Click()
|
|
if(..())
|
|
return
|
|
var/mob/living/silicon/ai/AI = usr
|
|
AI.announcement()
|
|
|
|
/obj/screen/ai/call_shuttle
|
|
name = "Call Emergency Shuttle"
|
|
icon_state = "call_shuttle"
|
|
|
|
/obj/screen/ai/call_shuttle/Click()
|
|
if(..())
|
|
return
|
|
var/mob/living/silicon/ai/AI = usr
|
|
AI.ai_call_shuttle()
|
|
|
|
/obj/screen/ai/state_laws
|
|
name = "State Laws"
|
|
icon_state = "state_laws"
|
|
|
|
/obj/screen/ai/state_laws/Click()
|
|
if(..())
|
|
return
|
|
var/mob/living/silicon/ai/AI = usr
|
|
AI.checklaws()
|
|
|
|
/obj/screen/ai/pda_msg_send
|
|
name = "PDA - Send Message"
|
|
icon_state = "pda_send"
|
|
|
|
/obj/screen/ai/pda_msg_send/Click()
|
|
if(..())
|
|
return
|
|
var/mob/living/silicon/ai/AI = usr
|
|
AI.cmd_send_pdamesg(usr)
|
|
|
|
/obj/screen/ai/pda_msg_show
|
|
name = "PDA - Show Message Log"
|
|
icon_state = "pda_receive"
|
|
|
|
/obj/screen/ai/pda_msg_show/Click()
|
|
if(..())
|
|
return
|
|
var/mob/living/silicon/ai/AI = usr
|
|
AI.cmd_show_message_log(usr)
|
|
|
|
/obj/screen/ai/image_take
|
|
name = "Take Image"
|
|
icon_state = "take_picture"
|
|
|
|
/obj/screen/ai/image_take/Click()
|
|
if(isAI(usr))
|
|
var/mob/living/silicon/ai/AI = usr
|
|
AI.aicamera.toggle_camera_mode()
|
|
else if(iscyborg(usr))
|
|
var/mob/living/silicon/robot/R = usr
|
|
R.aicamera.toggle_camera_mode()
|
|
|
|
/obj/screen/ai/image_view
|
|
name = "View Images"
|
|
icon_state = "view_images"
|
|
|
|
/obj/screen/ai/image_view/Click()
|
|
if(isAI(usr))
|
|
var/mob/living/silicon/ai/AI = usr
|
|
AI.aicamera.viewpictures()
|
|
else if(iscyborg(usr))
|
|
var/mob/living/silicon/robot/R = usr
|
|
R.aicamera.viewpictures()
|
|
|
|
/obj/screen/ai/sensors
|
|
name = "Sensor Augmentation"
|
|
icon_state = "ai_sensor"
|
|
|
|
/obj/screen/ai/sensors/Click()
|
|
if(..())
|
|
return
|
|
var/mob/living/silicon/S = usr
|
|
S.sensor_mode()
|
|
|
|
|
|
/datum/hud/ai
|
|
ui_style_icon = 'icons/mob/screen_ai.dmi'
|
|
|
|
/datum/hud/ai/New(mob/owner, ui_style = 'icons/mob/screen_ai.dmi')
|
|
..()
|
|
var/obj/screen/using
|
|
|
|
// Language menu
|
|
using = new /obj/screen/language_menu
|
|
using.screen_loc = ui_borg_language_menu
|
|
static_inventory += using
|
|
|
|
//AI core
|
|
using = new /obj/screen/ai/aicore()
|
|
using.screen_loc = ui_ai_core
|
|
static_inventory += using
|
|
|
|
//Camera list
|
|
using = new /obj/screen/ai/camera_list()
|
|
using.screen_loc = ui_ai_camera_list
|
|
static_inventory += using
|
|
|
|
//Track
|
|
using = new /obj/screen/ai/camera_track()
|
|
using.screen_loc = ui_ai_track_with_camera
|
|
static_inventory += using
|
|
|
|
//Camera light
|
|
using = new /obj/screen/ai/camera_light()
|
|
using.screen_loc = ui_ai_camera_light
|
|
static_inventory += using
|
|
|
|
//Crew Monitoring
|
|
using = new /obj/screen/ai/crew_monitor()
|
|
using.screen_loc = ui_ai_crew_monitor
|
|
static_inventory += using
|
|
|
|
//Crew Manifest
|
|
using = new /obj/screen/ai/crew_manifest()
|
|
using.screen_loc = ui_ai_crew_manifest
|
|
static_inventory += using
|
|
|
|
//Alerts
|
|
using = new /obj/screen/ai/alerts()
|
|
using.screen_loc = ui_ai_alerts
|
|
static_inventory += using
|
|
|
|
//Announcement
|
|
using = new /obj/screen/ai/announcement()
|
|
using.screen_loc = ui_ai_announcement
|
|
static_inventory += using
|
|
|
|
//Shuttle
|
|
using = new /obj/screen/ai/call_shuttle()
|
|
using.screen_loc = ui_ai_shuttle
|
|
static_inventory += using
|
|
|
|
//Laws
|
|
using = new /obj/screen/ai/state_laws()
|
|
using.screen_loc = ui_ai_state_laws
|
|
static_inventory += using
|
|
|
|
//PDA message
|
|
using = new /obj/screen/ai/pda_msg_send()
|
|
using.screen_loc = ui_ai_pda_send
|
|
static_inventory += using
|
|
|
|
//PDA log
|
|
using = new /obj/screen/ai/pda_msg_show()
|
|
using.screen_loc = ui_ai_pda_log
|
|
static_inventory += using
|
|
|
|
//Take image
|
|
using = new /obj/screen/ai/image_take()
|
|
using.screen_loc = ui_ai_take_picture
|
|
static_inventory += using
|
|
|
|
//View images
|
|
using = new /obj/screen/ai/image_view()
|
|
using.screen_loc = ui_ai_view_images
|
|
static_inventory += using
|
|
|
|
|
|
//Medical/Security sensors
|
|
using = new /obj/screen/ai/sensors()
|
|
using.screen_loc = ui_ai_sensor
|
|
static_inventory += using
|
|
|
|
|
|
/mob/living/silicon/ai/create_mob_hud()
|
|
if(client && !hud_used)
|
|
hud_used = new /datum/hud/ai(src)
|