Some Job Perk Tweaks (#29634)

* perk tweaks

* reviews
This commit is contained in:
Kyani
2025-07-16 00:20:16 +00:00
committed by GitHub
parent 05791861b7
commit 5f3c4ed89d
3 changed files with 23 additions and 13 deletions
@@ -2264,6 +2264,8 @@ Eyes need to have significantly high darksight to shine unless the mob has the X
analysis += "<span class='info'>You conclude [src]'s [E.name] is broken.</span>"
else
analysis += "<span class='info'>You conclude [src]'s [E.name] has a [E.broken_description].</span>"
if(!length(analysis))
analysis += "<span class='info'>[src] appears to be in perfect health.</span>"
to_chat(user, chat_box_healthscan(analysis.Join("<br>")))
/mob/living/carbon/human/pointed(atom/A as mob|obj|turf in view())
@@ -2274,8 +2276,15 @@ Eyes need to have significantly high darksight to shine unless the mob has the X
if(istype(A, /obj/effect/temp_visual/point) || istype(A, /atom/movable/emissive_blocker))
return FALSE
if(mind && HAS_TRAIT(mind, TRAIT_COFFEE_SNOB) && reagents.has_reagent("coffee"))
changeNext_move(CLICK_CD_POINT / 3)
if(mind && HAS_MIND_TRAIT(src, TRAIT_COFFEE_SNOB))
var/found_coffee = FALSE
for(var/reagent in reagents.reagent_list)
if(istype(reagent, /datum/reagent/consumable/drink/coffee))
found_coffee = TRUE
if(found_coffee)
changeNext_move(CLICK_CD_POINT / 3)
else
changeNext_move(CLICK_CD_POINT)
else
changeNext_move(CLICK_CD_POINT)
@@ -936,6 +936,7 @@ GLOBAL_LIST_INIT(robot_verbs_default, list(
return ITEM_INTERACT_COMPLETE
playsound(src, 'sound/items/deconstruct.ogg', 50, TRUE)
being_charged = TRUE
to_chat(src, "<span class='notice'>[user] begins to manually charge your internal cell.</span>")
while(do_after(user, 0.5 SECONDS, target = src))
var/cell_difference = cell.maxcharge - cell.charge
if(donor.charge >= 500 && cell_difference >= 500)