mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-22 05:25:15 +01:00
[NO GBP] Fixing the examine text of the fishing difficulty adjustment comp. (#86966)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user