Merge pull request #4724 from deathride58/fixesflavortexthopefully
Fixes flavortext readmores for real this time
This commit is contained in:
@@ -412,7 +412,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
|||||||
if(2)
|
if(2)
|
||||||
dat += "<table><tr><td width='340px' height='300px' valign='top'>"
|
dat += "<table><tr><td width='340px' height='300px' valign='top'>"
|
||||||
dat += "<div class='statusDisplay'><img src=previewicon.png width=[preview_icon.Width()] height=[preview_icon.Height()]></div><br>"
|
dat += "<div class='statusDisplay'><img src=previewicon.png width=[preview_icon.Width()] height=[preview_icon.Height()]></div><br>"
|
||||||
dat += "<a href='byond://?src=\ref[user];preference=flavor_text;task=input'><b>Set Flavor Text</b></a><br>"
|
dat += "<a href='?_src_=prefs;preference=flavor_text;task=input'><b>Set Flavor Text</b></a><br>"
|
||||||
if(lentext(features["flavor_text"]) <= 40)
|
if(lentext(features["flavor_text"]) <= 40)
|
||||||
if(!lentext(features["flavor_text"]))
|
if(!lentext(features["flavor_text"]))
|
||||||
dat += "\[...\]"
|
dat += "\[...\]"
|
||||||
@@ -1379,7 +1379,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
|||||||
else
|
else
|
||||||
user << "<span class='danger'>Invalid color. Your color is not bright enough.</span>"
|
user << "<span class='danger'>Invalid color. Your color is not bright enough.</span>"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
else
|
else
|
||||||
switch(href_list["preference"])
|
switch(href_list["preference"])
|
||||||
|
|||||||
@@ -264,7 +264,7 @@
|
|||||||
// Display a warning if the user mocks up
|
// Display a warning if the user mocks up
|
||||||
to_chat(src, "<span class='warning'>You feel your [pocket_side] pocket being fumbled with!</span>")
|
to_chat(src, "<span class='warning'>You feel your [pocket_side] pocket being fumbled with!</span>")
|
||||||
|
|
||||||
..()
|
..()
|
||||||
|
|
||||||
|
|
||||||
///////HUDs///////
|
///////HUDs///////
|
||||||
@@ -1031,4 +1031,4 @@
|
|||||||
race = /datum/species/zombie/infectious
|
race = /datum/species/zombie/infectious
|
||||||
|
|
||||||
/mob/living/carbon/human/species/zombie/krokodil_addict
|
/mob/living/carbon/human/species/zombie/krokodil_addict
|
||||||
race = /datum/species/krokodil_addict
|
race = /datum/species/krokodil_addict
|
||||||
|
|||||||
Reference in New Issue
Block a user