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:
Kashargul
2025-08-30 14:14:31 +02:00
committed by GitHub
parent fbb107fad2
commit aba797cc03
35 changed files with 225 additions and 112 deletions
+3 -3
View File
@@ -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)