mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 19:44:46 +01:00
allow vorebelly display names (#18314)
* allow vorebelly display names * move lowertext * . * . * . * , * . * example implementation * . * . * absorbed * . * . * . * . * also fix that * useRef * key it * . * fix those too
This commit is contained in:
@@ -205,9 +205,9 @@ Book Cart End
|
||||
to_chat(user, "This book is completely blank!")
|
||||
|
||||
/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