mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-24 08:47:01 +01:00
moves & renames _onclick and _rendering to click and rendering and moves _onclick/hud to rendering/legacy_hud moves those to game folder ## Why? because i don't think the root /code folder having them is correct what the idea is is that: - /code/game has 'whole game' stuff that should depend on as little else as possible (can't avoid stuff like subsystems atmos and tgui obviously so this is a loose suggestion); this is more aimed at that we shouldn't have, say, a hypospray in here when hyposprays are logically part of the reagents module since hyposprays don't work without reagents and are primarily content for engaging with the reagents module - /code/modules are standalone 'modules' that contain a tightly related subset of the game, e.g. chemistry, maploader/management systems, etc. - /code/controllers are core systems; many of them rely on / utilize stuff from game/modules (duh) but they're here forever since they're important - /code/datums are mostly just helper datums; object/item/whatever-specific datums should be stored in their given files. --------- Co-authored-by: silicons <no@you.cat>
137 lines
3.4 KiB
Plaintext
137 lines
3.4 KiB
Plaintext
/datum/hud/proc/ai_hud()
|
|
adding = list()
|
|
other = list()
|
|
|
|
var/atom/movable/screen/using
|
|
|
|
//AI core
|
|
using = new /atom/movable/screen()
|
|
using.name = "AI Core"
|
|
using.icon = 'icons/mob/screen_ai.dmi'
|
|
using.icon_state = "ai_core"
|
|
using.screen_loc = ui_ai_core
|
|
using.layer = HUD_LAYER_BASE
|
|
adding += using
|
|
|
|
//Camera list
|
|
using = new /atom/movable/screen()
|
|
using.name = "Show Camera List"
|
|
using.icon = 'icons/mob/screen_ai.dmi'
|
|
using.icon_state = "camera"
|
|
using.screen_loc = ui_ai_camera_list
|
|
using.layer = HUD_LAYER_BASE
|
|
adding += using
|
|
|
|
//Track
|
|
using = new /atom/movable/screen()
|
|
using.name = "Track With Camera"
|
|
using.icon = 'icons/mob/screen_ai.dmi'
|
|
using.icon_state = "track"
|
|
using.screen_loc = ui_ai_track_with_camera
|
|
using.layer = HUD_LAYER_BASE
|
|
adding += using
|
|
|
|
//Camera light
|
|
using = new /atom/movable/screen()
|
|
using.name = "Toggle Camera Light"
|
|
using.icon = 'icons/mob/screen_ai.dmi'
|
|
using.icon_state = "camera_light"
|
|
using.screen_loc = ui_ai_camera_light
|
|
using.layer = HUD_LAYER_BASE
|
|
adding += using
|
|
|
|
//Crew Monitoring
|
|
using = new /atom/movable/screen()
|
|
using.name = "Crew Monitoring"
|
|
using.icon = 'icons/mob/screen_ai.dmi'
|
|
using.icon_state = "crew_monitor"
|
|
using.screen_loc = ui_ai_crew_monitor
|
|
using.layer = HUD_LAYER_BASE
|
|
adding += using
|
|
|
|
//Crew Manifest
|
|
using = new /atom/movable/screen()
|
|
using.name = "Show Crew Manifest"
|
|
using.icon = 'icons/mob/screen_ai.dmi'
|
|
using.icon_state = "manifest"
|
|
using.screen_loc = ui_ai_crew_manifest
|
|
using.layer = HUD_LAYER_BASE
|
|
adding += using
|
|
|
|
//Alerts
|
|
using = new /atom/movable/screen()
|
|
using.name = "Show Alerts"
|
|
using.icon = 'icons/mob/screen_ai.dmi'
|
|
using.icon_state = "alerts"
|
|
using.screen_loc = ui_ai_alerts
|
|
using.layer = HUD_LAYER_BASE
|
|
adding += using
|
|
|
|
//Announcement
|
|
using = new /atom/movable/screen()
|
|
using.name = "Announcement"
|
|
using.icon = 'icons/mob/screen_ai.dmi'
|
|
using.icon_state = "announcement"
|
|
using.screen_loc = ui_ai_announcement
|
|
using.layer = HUD_LAYER_BASE
|
|
adding += using
|
|
|
|
//Shuttle
|
|
using = new /atom/movable/screen()
|
|
using.name = "Call Emergency Shuttle"
|
|
using.icon = 'icons/mob/screen_ai.dmi'
|
|
using.icon_state = "call_shuttle"
|
|
using.screen_loc = ui_ai_shuttle
|
|
using.layer = HUD_LAYER_BASE
|
|
adding += using
|
|
|
|
//Laws
|
|
using = new /atom/movable/screen()
|
|
using.name = "State Laws"
|
|
using.icon = 'icons/mob/screen_ai.dmi'
|
|
using.icon_state = "state_laws"
|
|
using.screen_loc = ui_ai_state_laws
|
|
using.layer = HUD_LAYER_BASE
|
|
adding += using
|
|
|
|
//PDA message
|
|
using = new /atom/movable/screen()
|
|
using.name = "PDA - Send Message"
|
|
using.icon = 'icons/mob/screen_ai.dmi'
|
|
using.icon_state = "pda_send"
|
|
using.screen_loc = ui_ai_pda_send
|
|
using.layer = HUD_LAYER_BASE
|
|
adding += using
|
|
|
|
//PDA log
|
|
using = new /atom/movable/screen()
|
|
using.name = "PDA - Show Message Log"
|
|
using.icon = 'icons/mob/screen_ai.dmi'
|
|
using.icon_state = "pda_receive"
|
|
using.screen_loc = ui_ai_pda_log
|
|
using.layer = HUD_LAYER_BASE
|
|
adding += using
|
|
|
|
//Take image
|
|
using = new /atom/movable/screen()
|
|
using.name = "Take Image"
|
|
using.icon = 'icons/mob/screen_ai.dmi'
|
|
using.icon_state = "take_picture"
|
|
using.screen_loc = ui_ai_take_picture
|
|
using.layer = HUD_LAYER_BASE
|
|
adding += using
|
|
|
|
//View images
|
|
using = new /atom/movable/screen()
|
|
using.name = "View Images"
|
|
using.icon = 'icons/mob/screen_ai.dmi'
|
|
using.icon_state = "view_images"
|
|
using.screen_loc = ui_ai_view_images
|
|
using.layer = HUD_LAYER_BASE
|
|
adding += using
|
|
|
|
mymob.client.screen = list()
|
|
mymob.client.screen += adding + other
|
|
|
|
mymob.reload_rendering()
|