Persistent Trash/Dirt/Graffiti/Notices

This commit is contained in:
Cerebulon
2020-07-24 10:23:34 +01:00
committed by VirgoBot
parent 79de2902ba
commit 8b031dd8ad
58 changed files with 1166 additions and 190 deletions

View File

@@ -32,6 +32,8 @@
var/list/offset_y[0] //usage by the photocopier
var/rigged = 0
var/spam_flag = 0
var/age = 0
var/last_modified_ckey
var/const/deffont = "Verdana"
var/const/signfont = "Times New Roman"
@@ -231,6 +233,15 @@
H.lip_style = null
H.update_icons_body()
/obj/item/weapon/paper/proc/set_content(text,title)
if(title)
name = title
info = html_encode(text)
info = parsepencode(text)
update_icon()
update_space(info)
updateinfolinks()
/obj/item/weapon/paper/proc/addtofield(var/id, var/text, var/links = 0)
var/locid = 0
var/laststart = 1
@@ -465,6 +476,8 @@
info += t // Oh, he wants to edit to the end of the file, let him.
updateinfolinks()
last_modified_ckey = usr.ckey
update_space(t)
usr << browse("<HTML><HEAD><TITLE>[name]</TITLE></HEAD><BODY>[info_links][stamps]</BODY></HTML>", "window=[name]") // Update the window