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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds more info to cloaker belt #17729

Merged
merged 3 commits into from Feb 4, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion code/game/objects/items/devices/traitordevices.dm
Expand Up @@ -200,7 +200,7 @@ effective or pretty fucking useless.

/obj/item/shadowcloak
name = "cloaker belt"
desc = "Makes you invisible for short periods of time. Recharges in darkness."
desc = "Makes you invisible for short periods of time. Recharges in darkness, but must be turned on to recharge."
icon = 'icons/obj/clothing/belts.dmi'
icon_state = "utilitybelt"
item_state = "utility"
Expand Down
10 changes: 10 additions & 0 deletions code/modules/mob/living/carbon/human/human.dm
Expand Up @@ -68,6 +68,16 @@
. += "Tank Pressure: [internal.air_contents.return_pressure()]"
. += "Distribution Pressure: [internal.distribute_pressure]"

// CLOAKER BELT
if(istype(belt, /obj/item/shadowcloak))
var/obj/item/shadowcloak/SC = belt
var/turf/T = get_turf(src)
var/lumens = T.get_lumcount()
. += ""
. += "Cloaker Status: [SC.on ? "ON" : "OFF"]"
. += "Cloaker Charge: [round(100*SC.charge/SC.max_charge, 1)]%"
. += "Lumens Count: [round(lumens, 0.01)]"

var/datum/antagonist/hivemind/hivemind = mind.has_antag_datum(/datum/antagonist/hivemind)
if(hivemind)
. += ""
Expand Down