mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
Persistent Trash/Dirt/Graffiti/Notices
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user