Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ready for Review] Examine, Sizecode, Veteran Removal #55

Merged
merged 2 commits into from
Dec 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 34 additions & 2 deletions code/modules/mob/living/carbon/examine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@
if (length(status_examines))
. += status_examines

// SPLURT EDIT START: - Sizecode
var/list/size_examines = get_size_examine_info(user)
if (length(size_examines))
. += size_examines
// SPLURT EDIT END

if(get_bodypart(BODY_ZONE_HEAD) && !get_organ_by_type(/obj/item/organ/internal/brain))
. += span_deadsay("It appears that [t_his] brain is missing...")

Expand Down Expand Up @@ -467,9 +473,21 @@
accessory_message = " with [english_list(accessories)] attached"

. += "[t_He] [t_is] wearing [w_uniform.examine_title_worn(user)][accessory_message]."
// SPLURT EDIT - shirt
if(w_shirt && !undershirt_hidden() && !(w_shirt.item_flags & EXAMINE_SKIP))
. += "[t_He] [t_is] wearing [w_shirt.examine_title_worn(user)]."
// SPLURT EDIT - bra
if(w_bra && !bra_hidden() && !(w_bra.item_flags & EXAMINE_SKIP))
. += "[t_He] [t_is] wearing [w_bra.examine_title_worn(user)]."
// SPLURT EDIT - underwear
if(w_underwear && !underwear_hidden() && !(w_underwear.item_flags & EXAMINE_SKIP))
. += "[t_He] [t_is] wearing [w_underwear.examine_title_worn(user)]."
//head
if(head && !(obscured & ITEM_SLOT_HEAD) && !(head.item_flags & EXAMINE_SKIP))
. += "[t_He] [t_is] wearing [head.examine_title_worn(user)] on [t_his] head."
// SPLURT EDIT - socks
if(w_socks && !socks_hidden() && !(w_socks.item_flags & EXAMINE_SKIP))
. += "[t_He] [t_is] wearing [w_socks.examine_title_worn(user)] on [t_his] feet."
//mask
if(wear_mask && !(obscured & ITEM_SLOT_MASK) && !(wear_mask.item_flags & EXAMINE_SKIP))
. += "[t_He] [t_has] [wear_mask.examine_title_worn(user)] on [t_his] face."
Expand All @@ -485,8 +503,19 @@
else if(HAS_TRAIT(src, TRAIT_BLOODSHOT_EYES))
. += span_warning("<B>[t_His] eyes are bloodshot!</B>")
//ears
if(ears && !(obscured & ITEM_SLOT_EARS) && !(ears.item_flags & EXAMINE_SKIP))
. += "[t_He] [t_has] [ears.examine_title_worn(user)] on [t_his] ears."
if(ears && !(obscured & ITEM_SLOT_EARS_LEFT) && !(ears.item_flags & EXAMINE_SKIP))
. += "[t_He] [t_has] [ears.examine_title_worn(user)] on [t_his] left ear." // extra inventory

// SPLURT EDIT - ears extra
if(ears_extra && !(obscured & ITEM_SLOT_EARS_RIGHT) && !(ears_extra.item_flags & EXAMINE_SKIP))
. += "[t_He] [t_has] [ears_extra.examine_title_worn(user)] on [t_his] right ear."

// SPLURT EDIT - ears extra
//wearing two ear items makes you look like an idiot
if((istype(ears, /obj/item/radio/headset) && !(obscured & ITEM_SLOT_EARS_LEFT) && !(ears.item_flags & EXAMINE_SKIP)) && (istype(ears_extra, /obj/item/radio/headset) && !(obscured & ITEM_SLOT_EARS_RIGHT) && !(ears_extra.item_flags & EXAMINE_SKIP)))
. += span_warning("[t_He] looks quite tacky wearing both \an [ears.name] and \an [ears_extra.name] on [t_his] head.")

//
//suit/armor
if(wear_suit && !(wear_suit.item_flags & EXAMINE_SKIP))
. += "[t_He] [t_is] wearing [wear_suit.examine_title_worn(user)]."
Expand Down Expand Up @@ -516,6 +545,9 @@
else if(GET_ATOM_BLOOD_DNA_LENGTH(src) || blood_in_hands)
if(num_hands)
. += span_warning("[t_He] [t_has] [num_hands > 1 ? "" : "a "]blood-stained hand[num_hands > 1 ? "s" : ""]!")
// SPLURT EDIT - wrists
if(wrists && !wrists_hidden() && !(wrists.item_flags & EXAMINE_SKIP))
. += "[t_He] [t_is] wearing [wrists.examine_title_worn(user)]."
//handcuffed?
if(handcuffed)
var/cables_or_cuffs = istype(handcuffed, /obj/item/restraints/handcuffs/cable) ? "restrained with cable" : "handcuffed"
Expand Down
6 changes: 4 additions & 2 deletions modular_zzplurt/code/modules/admin/player_panel.dm
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,10 @@ GLOBAL_LIST_INIT(pp_limbs, list(
player_ranks += "Donator"
if(SSplayer_ranks.is_mentor(targetClient, admin_bypass = FALSE))
player_ranks += "Mentor"
if(SSplayer_ranks.is_veteran(targetClient, admin_bypass = FALSE))
player_ranks += "Veteran"
// SPLURT EDIT: Remove Veteran. Veteran cut from the Bubberstation build.
// if(SSplayer_ranks.is_veteran(targetClient, admin_bypass = FALSE))
// player_ranks += "Veteran"
//
if(SSplayer_ranks.is_vetted(targetClient, admin_bypass = FALSE))
player_ranks |= "Vetted"
.["ranks"] = length(player_ranks) ? player_ranks.Join(", ") : null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
mutantlungs = /datum/species::mutantlungs

// Disable veteran restriction
veteran_only = FALSE
// /veteran_only = FALSE Veteran cut from the Bubberstation build.

// Return original
. = ..()
Expand Down
Loading