mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
[MIRROR] allow vorebelly display names (#11541)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
afdd68dfb6
commit
8724a009b4
@@ -206,9 +206,9 @@ Book Cart End
|
||||
|
||||
/// Proc that handles sending the book information to the user, as well as some housekeeping stuff.
|
||||
/obj/item/book/proc/display_content(mob/living/user)
|
||||
var/datum/browser/popup = new(user, "book", "<TT><I>Penned by [author].</I></TT>")
|
||||
popup.set_content(dat)
|
||||
popup.open()
|
||||
if(!findtext(dat, regex("^<html")))
|
||||
dat = "<html>[dat]</html>"
|
||||
user << browse(replacetext(dat, "<html>", "<html><TT><I>Penned by [author].</I></TT> <BR>"), "window=book")
|
||||
|
||||
/obj/item/book/attackby(obj/item/W, mob/user)
|
||||
if(carved)
|
||||
|
||||
Reference in New Issue
Block a user