examine text

This commit is contained in:
Pinta
2023-02-08 21:35:54 -05:00
parent f97f47bb2e
commit fae85472eb
2 changed files with 5 additions and 4 deletions
+1 -3
View File
@@ -1020,7 +1020,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
dat += "<b>Damage Screen Shake:</b> <a href='?_src_=prefs;preference=damagescreenshake'>[(damagescreenshake==1) ? "On" : ((damagescreenshake==0) ? "Off" : "Only when down")]</a><br>"
//GS13 stuff goes here
dat += "<h2>GS13 Preferences</h2>"
dat += "<b>NonCon - Weight Gain:</b><a href='?_src_=prefs;preference=noncon'>[noncon_weight_gain == TRUE ? "Enabled" : "Disabled"]</a><BR>"
dat += "<b>NonCon - Weight Gain:</b><a href='?_src_=prefs;preference=noncon_weight_gain'>[noncon_weight_gain == TRUE ? "Enabled" : "Disabled"]</a><BR>"
dat += "<h2>GS13 Weight Gain</h2>"
dat += "<b>Weight Gain - Food:</b><a href='?_src_=prefs;preference=weight_gain_food'>[weight_gain_food == TRUE ? "Enabled" : "Disabled"]</a><BR>"
@@ -2560,8 +2560,6 @@ GLOBAL_LIST_EMPTY(preferences_datums)
if("noncon_weight_gain")
noncon_weight_gain = !noncon_weight_gain
if("inflatable_belly")
features["inflatable_belly"] = !features["inflatable_belly"]
if("hide_belly")
@@ -369,6 +369,9 @@
if(digitalcamo)
msg += "[t_He] [t_is] moving [t_his] body in an unnatural and blatantly inhuman manner.\n"
if(client?.prefs.noncon_weight_gain)
msg += "<span class='purple'><b>Non-con fattening is allowed</b></span>\n"
if (length(msg))
. += "<span class='warning'>[msg.Join("")]</span>"
msg += common_trait_examine()
@@ -419,7 +422,7 @@
"<a href='?src=[REF(src)];hud=s;add_comment=1'>\[Add comment\]</a>"), "")
else if(isobserver(user) && traitstring)
. += "<span class='info'><b>Traits:</b> [traitstring]</span>"
SEND_SIGNAL(src, COMSIG_PARENT_EXAMINE, user, .) //This also handles flavor texts now
. += "*---------*</span>"