[NO GBP] Fixing the examine text of the fishing difficulty adjustment comp. (#86966)

This commit is contained in:
Ghom
2024-10-01 20:11:16 +02:00
committed by GitHub
parent 66be23e5cf
commit e28a2ab52c
@@ -65,9 +65,9 @@
add_examine_line(user, examine_text, "Buckling to [source.p_them()]")
/datum/component/adjust_fishing_difficulty/proc/add_examine_line(mob/user, list/examine_text, method)
var/percent = HAS_MIND_TRAIT(user, TRAIT_EXAMINE_DEEPER_FISH) ? "[modifier]% " : ""
var/text = "[method] will make fishing [percent][modifier > 0 ? "easier" : "harder"]."
if(modifier > 0)
var/percent = HAS_MIND_TRAIT(user, TRAIT_EXAMINE_DEEPER_FISH) ? "[abs(modifier)]% " : ""
var/text = "[method] will make fishing [percent][modifier < 0 ? "easier" : "harder"]."
if(modifier < 0)
examine_text += span_nicegreen(text)
else
examine_text += span_danger(text)