Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
Blundir committed Nov 4, 2024
1 parent beded50 commit a470659
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
12 changes: 1 addition & 11 deletions code/game/jobs/job/command/cic/captain.dm
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
return get_desired_status(player.prefs.commander_status, WHITELIST_NORMAL)

/datum/job/command/commander/announce_entry_message(mob/living/carbon/human/H)
addtimer(CALLBACK(src, PROC_REF(do_announce_entry_message), H), 1.5 SECONDS)
addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(all_hands_on_deck), "Attention all hands, [H.get_paygrade(0)] [H.real_name] on deck!"), 1.5 SECONDS)
return ..()

/datum/job/command/commander/generate_entry_conditions(mob/living/M, whitelist_status)
Expand All @@ -44,16 +44,6 @@
SIGNAL_HANDLER
GLOB.marine_leaders -= JOB_CO

/datum/job/command/commander/proc/do_announce_entry_message(mob/living/carbon/human/H)
all_hands_on_deck("Attention all hands, [H.get_paygrade(0)] [H.real_name] on deck!")
//for(var/i in GLOB.co_secure_boxes)
//var/obj/structure/closet/secure_closet/securecom/S = i
//var/loc_to_spawn = S.opened ? get_turf(S) : S
//var/obj/item/weapon/gun/rifle/m46c/I = new(loc_to_spawn)
//new /obj/item/clothing/suit/storage/marine/MP/CO(loc_to_spawn)
//new /obj/item/clothing/head/helmet/marine/CO(loc_to_spawn)
//I.name_after_co(H, I)

/obj/effect/landmark/start/captain
name = JOB_CO
icon_state = "co_spawn"
Expand Down
4 changes: 4 additions & 0 deletions code/game/jobs/job/command/cic/executive.dm
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ AddTimelock(/datum/job/command/executive, list(
JOB_SQUAD_LEADER = 10 HOURS,
))

/datum/job/command/executive/announce_entry_message(mob/living/carbon/human/H)
addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(all_hands_on_deck), "Attention all hands, [H.get_paygrade(0)] [H.real_name] on deck!"), 1.5 SECONDS)
return ..()

/obj/effect/landmark/start/executive
name = JOB_XO
icon_state = "xo_spawn"
Expand Down

0 comments on commit a470659

Please sign in to comment.