Skip to content

Commit

Permalink
TGS Test Merge (#7165)
Browse files Browse the repository at this point in the history
  • Loading branch information
cm13-github committed Jan 20, 2025
2 parents 517484b + ab14b75 commit f3b05e7
Show file tree
Hide file tree
Showing 38 changed files with 1,274 additions and 620 deletions.
5 changes: 3 additions & 2 deletions code/__DEFINES/mob_hud.dm
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
#define XENO_HOSTILE_SLOW "13" // xeno-inflicted slow. used by a bunch of MOBA xenos stuff
#define XENO_HOSTILE_TAG "14" // dancer prae 'tag'
#define XENO_HOSTILE_FREEZE "15" // Any xeno-inflifcted root
#define XENO_EXECUTE "28" // Execute thershold, vampire

#define HEALTH_HUD_XENO "16" // health HUD for xenos
#define PLASMA_HUD "17" // indicates the plasma level of xenos.
#define PHEROMONE_HUD "18" // indicates which pheromone is active on a xeno.
Expand All @@ -27,7 +25,9 @@
#define HUNTER_CLAN "25" //Displays a colored icon to represent ingame Hunter Clans
#define HUNTER_HUD "26" //Displays various statuses on mobs for Hunters to identify targets
#define HOLOCARD_HUD "27" //Displays the holocards set by medical personnel
#define XENO_EXECUTE "28" // Execute thershold, vampire
#define NEW_PLAYER_HUD "29" //Makes it easy to see new players.
#define SPYCAM_HUD "30" //Remote control spy cameras.

//data HUD (medhud, sechud) defines
#define MOB_HUD_SECURITY_BASIC 1
Expand All @@ -51,6 +51,7 @@
#define MOB_HUD_HUNTER_CLAN 19
#define MOB_HUD_EXECUTE 20
#define MOB_HUD_NEW_PLAYER 21
#define MOB_HUD_SPYCAMS 22

//for SL/FTL/LZ targeting on locator huds
#define TRACKER_SL "track_sl"
Expand Down
5 changes: 5 additions & 0 deletions code/__DEFINES/mode.dm
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,11 @@ DEFINE_BITFIELD(whitelist_status, list(
#define FACTION_LIST_MARINE_TWE list(FACTION_MARINE, FACTION_TWE)
#define FACTION_LIST_YAUTJA list(FACTION_YAUTJA)
#define FACTION_LIST_HUNTED list(FACTION_HUNTED)
#define FACTION_LIST_COLONY list(FACTION_SURVIVOR, FACTION_COLONIST)
#define FACTION_LIST_NEUTRAL list(FACTION_NEUTRAL)

/// The list of factions loosely allied with the USCM
#define FACTION_LIST_MARINE_FAXES list(FACTION_MARINE, FACTION_WY, FACTION_MARSHAL, FACTION_TWE)

// Xenomorphs
#define FACTION_PREDALIEN "Predalien"
Expand Down
1 change: 1 addition & 0 deletions code/_globalvars/lists/mapping_globals.dm
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ GLOBAL_LIST_EMPTY(zombie_landmarks)

GLOBAL_LIST_EMPTY(newplayer_start)
GLOBAL_LIST_EMPTY_TYPED(observer_starts, /obj/effect/landmark/observer_start)
GLOBAL_LIST_EMPTY_TYPED(spycam_starts, /obj/effect/landmark/spycam_start)

GLOBAL_LIST_EMPTY(map_items)
GLOBAL_LIST_EMPTY(xeno_tunnels)
Expand Down
4 changes: 4 additions & 0 deletions code/datums/mob_hud.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ GLOBAL_LIST_INIT_TYPED(huds, /datum/mob_hud, list(
MOB_HUD_HUNTER_CLAN = new /datum/mob_hud/hunter_clan(),
MOB_HUD_EXECUTE = new /datum/mob_hud/execute_hud(),
MOB_HUD_NEW_PLAYER = new /datum/mob_hud/new_player(),
MOB_HUD_SPYCAMS = new /datum/mob_hud/spy_cams(),
))

/datum/mob_hud
Expand Down Expand Up @@ -227,6 +228,9 @@ GLOBAL_LIST_INIT_TYPED(huds, /datum/mob_hud, list(
/datum/mob_hud/faction/observer
hud_icons = list(FACTION_HUD, ORDER_HUD, HUNTER_CLAN, HOLOCARD_HUD)

/datum/mob_hud/spy_cams
hud_icons = list(SPYCAM_HUD)

///////// MOB PROCS //////////////////////////////:


Expand Down
5 changes: 5 additions & 0 deletions code/game/machinery/camera/camera.dm
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
var/autoname = FALSE
var/autonumber = 0 //camera number in area

var/list/owner_factions = FACTION_LIST_NEUTRAL

GLOBAL_LIST_EMPTY_TYPED(all_cameras, /obj/structure/machinery/camera)
/obj/structure/machinery/camera/Initialize(mapload, ...)
. = ..()
Expand Down Expand Up @@ -314,6 +316,9 @@ GLOBAL_LIST_EMPTY_TYPED(all_cameras, /obj/structure/machinery/camera)
linked_broadcasting = camera_item
c_tag = linked_broadcasting.get_broadcast_name()

/obj/structure/machinery/camera/overwatch
network = list(CAMERA_NET_OVERWATCH)

/obj/structure/machinery/camera/mortar
alpha = 0
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
Expand Down
4 changes: 4 additions & 0 deletions code/game/machinery/camera/presets.dm
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
icon = 'icons/obj/vehicles/interiors/general.dmi'
icon_state = "vehicle_camera"
network = list(CAMERA_NET_VEHICLE)
owner_factions = FACTION_LIST_HUMANOID

/obj/structure/machinery/camera/vehicle/toggle_cam_status(on = FALSE)
if(on)
Expand Down Expand Up @@ -92,6 +93,7 @@
/obj/structure/machinery/camera/autoname/almayer
name = "military-grade camera"
network = list(CAMERA_NET_ALMAYER)
owner_factions = FACTION_LIST_MARINE_WY

/obj/structure/machinery/camera/autoname/almayer/containment
name = "containment camera"
Expand All @@ -104,6 +106,7 @@

/obj/structure/machinery/camera/autoname/almayer/containment/hidden
network = list(CAMERA_NET_CONTAINMENT_HIDDEN)
owner_factions = FACTION_LIST_WY

/obj/structure/machinery/camera/autoname/almayer/containment/ares
name = "ares core camera"
Expand All @@ -125,6 +128,7 @@

colony_camera_mapload = FALSE
emp_proof = TRUE
owner_factions = FACTION_LIST_HUMANOID

/obj/structure/machinery/camera/autoname/lz_camera/ex_act()
return
Expand Down
Loading

0 comments on commit f3b05e7

Please sign in to comment.