Merge pull request #11335 from Ghommie/Ghommie-cit604

Made flavor texts into an element datum, appliable to every atom.
This commit is contained in:
kevinz000
2020-03-10 17:26:20 -07:00
committed by GitHub
12 changed files with 168 additions and 69 deletions
-8
View File
@@ -503,14 +503,6 @@ GLOBAL_VAR_INIT(exploit_warn_spam_prevention, 0)
unset_machine()
src << browse(null, t1)
if(href_list["flavor_more"])
usr << browse(text("<HTML><HEAD><TITLE>[]</TITLE></HEAD><BODY><TT>[]</TT></BODY></HTML>", name, replacetext(flavor_text, "\n", "<BR>")), text("window=[];size=500x200", name))
onclose(usr, "[name]")
if(href_list["flavor2_more"])
usr << browse(text("<HTML><HEAD><TITLE>[]</TITLE></HEAD><BODY><TT>[]</TT></BODY></HTML>", name, replacetext(flavor_text_2, "\n", "<BR>")), text("window=[];size=500x200", name))
onclose(usr, "[name]")
if(href_list["refresh"])
if(machine && in_range(src, usr))
show_inv(machine)